@maxim_mazurok/gapi.client.versionhistory-v1 0.0.20220808
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +259 -0
- package/package.json +20 -0
- package/readme.md +52 -0
- package/tests.ts +46 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Version History API v1 0.0 */
|
|
2
|
+
// Project: https://developers.chrome.com/versionhistory
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
// TypeScript Version: 2.8
|
|
8
|
+
|
|
9
|
+
// IMPORTANT
|
|
10
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
|
+
// Generated from: https://versionhistory.googleapis.com/$discovery/rest?version=v1
|
|
13
|
+
// Revision: 20220808
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load Version History API v1 */
|
|
19
|
+
function load(urlOrObject: "https://versionhistory.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "versionhistory", version: "v1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "versionhistory", version: "v1", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace versionhistory {
|
|
26
|
+
interface Channel {
|
|
27
|
+
/** Type of channel. */
|
|
28
|
+
channelType?: string;
|
|
29
|
+
/** Channel name. Format is "{product}/platforms/{platform}/channels/{channel}" */
|
|
30
|
+
name?: string;
|
|
31
|
+
}
|
|
32
|
+
interface Interval {
|
|
33
|
+
/** Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end. */
|
|
34
|
+
endTime?: string;
|
|
35
|
+
/** Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start. */
|
|
36
|
+
startTime?: string;
|
|
37
|
+
}
|
|
38
|
+
interface ListChannelsResponse {
|
|
39
|
+
/** The list of channels. */
|
|
40
|
+
channels?: Channel[];
|
|
41
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
42
|
+
nextPageToken?: string;
|
|
43
|
+
}
|
|
44
|
+
interface ListPlatformsResponse {
|
|
45
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
46
|
+
nextPageToken?: string;
|
|
47
|
+
/** The list of platforms. */
|
|
48
|
+
platforms?: Platform[];
|
|
49
|
+
}
|
|
50
|
+
interface ListReleasesResponse {
|
|
51
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
52
|
+
nextPageToken?: string;
|
|
53
|
+
/** The list of releases. */
|
|
54
|
+
releases?: Release[];
|
|
55
|
+
}
|
|
56
|
+
interface ListVersionsResponse {
|
|
57
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
58
|
+
nextPageToken?: string;
|
|
59
|
+
/** The list of versions. */
|
|
60
|
+
versions?: Version[];
|
|
61
|
+
}
|
|
62
|
+
interface Platform {
|
|
63
|
+
/** Platform name. Format is "{product}/platforms/{platform}" */
|
|
64
|
+
name?: string;
|
|
65
|
+
/** Type of platform. */
|
|
66
|
+
platformType?: string;
|
|
67
|
+
}
|
|
68
|
+
interface Release {
|
|
69
|
+
/**
|
|
70
|
+
* Rollout fraction. This fraction indicates the fraction of people that should receive this version in this release. If the fraction is not specified in ReleaseManager, the API will
|
|
71
|
+
* assume fraction is 1.
|
|
72
|
+
*/
|
|
73
|
+
fraction?: number;
|
|
74
|
+
/** Rollout fraction group. Only fractions with the same fraction_group are statistically comparable: there may be non-fractional differences between different fraction groups. */
|
|
75
|
+
fractionGroup?: string;
|
|
76
|
+
/** Release name. Format is "{product}/platforms/{platform}/channels/{channel}/versions/{version}/releases/{release}" */
|
|
77
|
+
name?: string;
|
|
78
|
+
/** Timestamp interval of when the release was live. If end_time is unspecified, the release is currently live. */
|
|
79
|
+
serving?: Interval;
|
|
80
|
+
/** String containing just the version number. e.g. "84.0.4147.38" */
|
|
81
|
+
version?: string;
|
|
82
|
+
}
|
|
83
|
+
interface Version {
|
|
84
|
+
/** Version name. Format is "{product}/platforms/{platform}/channels/{channel}/versions/{version}" e.g. "chrome/platforms/win/channels/beta/versions/84.0.4147.38" */
|
|
85
|
+
name?: string;
|
|
86
|
+
/** String containing just the version number. e.g. "84.0.4147.38" */
|
|
87
|
+
version?: string;
|
|
88
|
+
}
|
|
89
|
+
interface ReleasesResource {
|
|
90
|
+
/** Returns list of releases of the given version. */
|
|
91
|
+
list(request?: {
|
|
92
|
+
/** V1 error format. */
|
|
93
|
+
"$.xgafv"?: string;
|
|
94
|
+
/** OAuth access token. */
|
|
95
|
+
access_token?: string;
|
|
96
|
+
/** Data format for response. */
|
|
97
|
+
alt?: string;
|
|
98
|
+
/** JSONP */
|
|
99
|
+
callback?: string;
|
|
100
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
101
|
+
fields?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Optional. Filter string. Format is a comma separated list of All comma separated filter clauses are conjoined with a logical "and". Valid field_names are "version", "name",
|
|
104
|
+
* "platform", "channel", "fraction" "starttime", and "endtime". Valid operators are "<", "<=", "=", ">=", and ">". Channel comparison is done by distance from stable. must be a
|
|
105
|
+
* valid channel when filtering by channel. Ex) stable < beta, beta < dev, canary < canary_asan. Version comparison is done numerically. Ex) 1.0.0.8 < 1.0.0.10. If version is not
|
|
106
|
+
* entirely written, the version will be appended with 0 for the missing fields. Ex) version > 80 becoms version > 80.0.0.0 When filtering by starttime or endtime, string must be
|
|
107
|
+
* in RFC 3339 date string format. Name and platform are filtered by string comparison. Ex) "...?filter=channel<=beta, version >= 80 Ex) "...?filter=version > 80, version < 81 Ex)
|
|
108
|
+
* "...?filter=starttime>2020-01-01T00:00:00Z
|
|
109
|
+
*/
|
|
110
|
+
filter?: string;
|
|
111
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
112
|
+
key?: string;
|
|
113
|
+
/** OAuth 2.0 token for the current user. */
|
|
114
|
+
oauth_token?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Optional. Ordering string. Valid order_by strings are "version", "name", "starttime", "endtime", "platform", "channel", and "fraction". Optionally, you can append "desc" or
|
|
117
|
+
* "asc" to specify the sorting order. Multiple order_by strings can be used in a comma separated list. Ordering by channel will sort by distance from the stable channel (not
|
|
118
|
+
* alphabetically). A list of channels sorted in this order is: stable, beta, dev, canary, and canary_asan. Sorting by name may cause unexpected behaviour as it is a naive string
|
|
119
|
+
* sort. For example, 1.0.0.8 will be before 1.0.0.10 in descending order. If order_by is not specified the response will be sorted by starttime in descending order. Ex)
|
|
120
|
+
* "...?order_by=starttime asc" Ex) "...?order_by=platform desc, channel, startime desc"
|
|
121
|
+
*/
|
|
122
|
+
orderBy?: string;
|
|
123
|
+
/** Optional. Optional limit on the number of releases to include in the response. If unspecified, the server will pick an appropriate default. */
|
|
124
|
+
pageSize?: number;
|
|
125
|
+
/** Optional. A page token, received from a previous `ListReleases` call. Provide this to retrieve the subsequent page. */
|
|
126
|
+
pageToken?: string;
|
|
127
|
+
/** Required. The version, which owns this collection of releases. Format: {product}/platforms/{platform}/channels/{channel}/versions/{version} */
|
|
128
|
+
parent: string;
|
|
129
|
+
/** Returns response with indentations and line breaks. */
|
|
130
|
+
prettyPrint?: boolean;
|
|
131
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
132
|
+
quotaUser?: string;
|
|
133
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
134
|
+
upload_protocol?: string;
|
|
135
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
136
|
+
uploadType?: string;
|
|
137
|
+
}): Request<ListReleasesResponse>;
|
|
138
|
+
}
|
|
139
|
+
interface VersionsResource {
|
|
140
|
+
/** Returns list of version for the given platform/channel. */
|
|
141
|
+
list(request?: {
|
|
142
|
+
/** V1 error format. */
|
|
143
|
+
"$.xgafv"?: string;
|
|
144
|
+
/** OAuth access token. */
|
|
145
|
+
access_token?: string;
|
|
146
|
+
/** Data format for response. */
|
|
147
|
+
alt?: string;
|
|
148
|
+
/** JSONP */
|
|
149
|
+
callback?: string;
|
|
150
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
151
|
+
fields?: string;
|
|
152
|
+
/**
|
|
153
|
+
* Optional. Filter string. Format is a comma separated list of All comma separated filter clauses are conjoined with a logical "and". Valid field_names are "version", "name",
|
|
154
|
+
* "platform", and "channel". Valid operators are "<", "<=", "=", ">=", and ">". Channel comparison is done by distance from stable. Ex) stable < beta, beta < dev, canary <
|
|
155
|
+
* canary_asan. Version comparison is done numerically. If version is not entirely written, the version will be appended with 0 in missing fields. Ex) version > 80 becoms version >
|
|
156
|
+
* 80.0.0.0 Name and platform are filtered by string comparison. Ex) "...?filter=channel<=beta, version >= 80 Ex) "...?filter=version > 80, version < 81
|
|
157
|
+
*/
|
|
158
|
+
filter?: string;
|
|
159
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
160
|
+
key?: string;
|
|
161
|
+
/** OAuth 2.0 token for the current user. */
|
|
162
|
+
oauth_token?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Optional. Ordering string. Valid order_by strings are "version", "name", "platform", and "channel". Optionally, you can append " desc" or " asc" to specify the sorting order.
|
|
165
|
+
* Multiple order_by strings can be used in a comma separated list. Ordering by channel will sort by distance from the stable channel (not alphabetically). A list of channels
|
|
166
|
+
* sorted in this order is: stable, beta, dev, canary, and canary_asan. Sorting by name may cause unexpected behaviour as it is a naive string sort. For example, 1.0.0.8 will be
|
|
167
|
+
* before 1.0.0.10 in descending order. If order_by is not specified the response will be sorted by version in descending order. Ex) "...?order_by=version asc" Ex)
|
|
168
|
+
* "...?order_by=platform desc, channel, version"
|
|
169
|
+
*/
|
|
170
|
+
orderBy?: string;
|
|
171
|
+
/** Optional. Optional limit on the number of versions to include in the response. If unspecified, the server will pick an appropriate default. */
|
|
172
|
+
pageSize?: number;
|
|
173
|
+
/** Optional. A page token, received from a previous `ListVersions` call. Provide this to retrieve the subsequent page. */
|
|
174
|
+
pageToken?: string;
|
|
175
|
+
/** Required. The channel, which owns this collection of versions. Format: {product}/platforms/{platform}/channels/{channel} */
|
|
176
|
+
parent: string;
|
|
177
|
+
/** Returns response with indentations and line breaks. */
|
|
178
|
+
prettyPrint?: boolean;
|
|
179
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
180
|
+
quotaUser?: string;
|
|
181
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
182
|
+
upload_protocol?: string;
|
|
183
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
184
|
+
uploadType?: string;
|
|
185
|
+
}): Request<ListVersionsResponse>;
|
|
186
|
+
releases: ReleasesResource;
|
|
187
|
+
}
|
|
188
|
+
interface ChannelsResource {
|
|
189
|
+
/** Returns list of channels that are available for a given platform. */
|
|
190
|
+
list(request?: {
|
|
191
|
+
/** V1 error format. */
|
|
192
|
+
"$.xgafv"?: string;
|
|
193
|
+
/** OAuth access token. */
|
|
194
|
+
access_token?: string;
|
|
195
|
+
/** Data format for response. */
|
|
196
|
+
alt?: string;
|
|
197
|
+
/** JSONP */
|
|
198
|
+
callback?: string;
|
|
199
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
200
|
+
fields?: string;
|
|
201
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
202
|
+
key?: string;
|
|
203
|
+
/** OAuth 2.0 token for the current user. */
|
|
204
|
+
oauth_token?: string;
|
|
205
|
+
/** Optional. Optional limit on the number of channels to include in the response. If unspecified, the server will pick an appropriate default. */
|
|
206
|
+
pageSize?: number;
|
|
207
|
+
/** Optional. A page token, received from a previous `ListChannels` call. Provide this to retrieve the subsequent page. */
|
|
208
|
+
pageToken?: string;
|
|
209
|
+
/** Required. The platform, which owns this collection of channels. Format: {product}/platforms/{platform} */
|
|
210
|
+
parent: string;
|
|
211
|
+
/** Returns response with indentations and line breaks. */
|
|
212
|
+
prettyPrint?: boolean;
|
|
213
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
214
|
+
quotaUser?: string;
|
|
215
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
216
|
+
upload_protocol?: string;
|
|
217
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
218
|
+
uploadType?: string;
|
|
219
|
+
}): Request<ListChannelsResponse>;
|
|
220
|
+
versions: VersionsResource;
|
|
221
|
+
}
|
|
222
|
+
interface PlatformsResource {
|
|
223
|
+
/** Returns list of platforms that are available for a given product. The resource "product" has no resource name in its name. */
|
|
224
|
+
list(request?: {
|
|
225
|
+
/** V1 error format. */
|
|
226
|
+
"$.xgafv"?: string;
|
|
227
|
+
/** OAuth access token. */
|
|
228
|
+
access_token?: string;
|
|
229
|
+
/** Data format for response. */
|
|
230
|
+
alt?: string;
|
|
231
|
+
/** JSONP */
|
|
232
|
+
callback?: string;
|
|
233
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
234
|
+
fields?: string;
|
|
235
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
236
|
+
key?: string;
|
|
237
|
+
/** OAuth 2.0 token for the current user. */
|
|
238
|
+
oauth_token?: string;
|
|
239
|
+
/** Optional. Optional limit on the number of channels to include in the response. If unspecified, the server will pick an appropriate default. */
|
|
240
|
+
pageSize?: number;
|
|
241
|
+
/** Optional. A page token, received from a previous `ListChannels` call. Provide this to retrieve the subsequent page. */
|
|
242
|
+
pageToken?: string;
|
|
243
|
+
/** Required. The product, which owns this collection of platforms. Format: {product} */
|
|
244
|
+
parent: string;
|
|
245
|
+
/** Returns response with indentations and line breaks. */
|
|
246
|
+
prettyPrint?: boolean;
|
|
247
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
248
|
+
quotaUser?: string;
|
|
249
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
250
|
+
upload_protocol?: string;
|
|
251
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
252
|
+
uploadType?: string;
|
|
253
|
+
}): Request<ListPlatformsResponse>;
|
|
254
|
+
channels: ChannelsResource;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
const platforms: PlatformsResource;
|
|
258
|
+
}
|
|
259
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@maxim_mazurok/gapi.client.versionhistory-v1",
|
|
3
|
+
"version": "0.0.20220808",
|
|
4
|
+
"description": "TypeScript typings for Version History API v1",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": {
|
|
7
|
+
"email": "maxim@mazurok.com",
|
|
8
|
+
"name": "Maxim Mazurok",
|
|
9
|
+
"url": "https://maxim.mazurok.com"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
|
|
14
|
+
},
|
|
15
|
+
"types": "index.d.ts",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@types/gapi.client": "*",
|
|
18
|
+
"@types/gapi.client.discovery": "*"
|
|
19
|
+
}
|
|
20
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# TypeScript typings for Version History API v1
|
|
2
|
+
|
|
3
|
+
Version History API - Prod
|
|
4
|
+
For detailed description please check [documentation](https://developers.chrome.com/versionhistory).
|
|
5
|
+
|
|
6
|
+
## Installing
|
|
7
|
+
|
|
8
|
+
Install typings for Version History API:
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
npm install @types/gapi.client.versionhistory-v1 --save-dev
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
You need to initialize Google API client in your code:
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
gapi.load('client', () => {
|
|
20
|
+
// now we can use gapi.client
|
|
21
|
+
// ...
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Then load api client wrapper:
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
gapi.client.load('https://versionhistory.googleapis.com/$discovery/rest?version=v1', () => {
|
|
29
|
+
// now we can use:
|
|
30
|
+
// gapi.client.versionhistory
|
|
31
|
+
});
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
```typescript
|
|
35
|
+
// Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback--
|
|
36
|
+
gapi.client.load('versionhistory', 'v1', () => {
|
|
37
|
+
// now we can use:
|
|
38
|
+
// gapi.client.versionhistory
|
|
39
|
+
});
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
After that you can use Version History API resources: <!-- TODO: make this work for multiple namespaces -->
|
|
45
|
+
|
|
46
|
+
```typescript
|
|
47
|
+
|
|
48
|
+
/*
|
|
49
|
+
Returns list of platforms that are available for a given product. The resource "product" has no resource name in its name.
|
|
50
|
+
*/
|
|
51
|
+
await gapi.client.versionhistory.platforms.list({ parent: "parent", });
|
|
52
|
+
```
|
package/tests.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* This is stub file for gapi.client.versionhistory-v1 definition tests */
|
|
2
|
+
// IMPORTANT
|
|
3
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
|
+
|
|
6
|
+
// Revision: 20220808
|
|
7
|
+
|
|
8
|
+
gapi.load('client', async () => {
|
|
9
|
+
/** now we can use gapi.client */
|
|
10
|
+
|
|
11
|
+
await gapi.client.load('https://versionhistory.googleapis.com/$discovery/rest?version=v1');
|
|
12
|
+
/** now we can use gapi.client.versionhistory */
|
|
13
|
+
|
|
14
|
+
run();
|
|
15
|
+
|
|
16
|
+
async function run() {
|
|
17
|
+
/** Returns list of platforms that are available for a given product. The resource "product" has no resource name in its name. */
|
|
18
|
+
await gapi.client.versionhistory.platforms.list({
|
|
19
|
+
pageSize: 42,
|
|
20
|
+
pageToken: "Test string",
|
|
21
|
+
parent: "Test string",
|
|
22
|
+
});
|
|
23
|
+
/** Returns list of channels that are available for a given platform. */
|
|
24
|
+
await gapi.client.versionhistory.platforms.channels.list({
|
|
25
|
+
pageSize: 42,
|
|
26
|
+
pageToken: "Test string",
|
|
27
|
+
parent: "Test string",
|
|
28
|
+
});
|
|
29
|
+
/** Returns list of version for the given platform/channel. */
|
|
30
|
+
await gapi.client.versionhistory.platforms.channels.versions.list({
|
|
31
|
+
filter: "Test string",
|
|
32
|
+
orderBy: "Test string",
|
|
33
|
+
pageSize: 42,
|
|
34
|
+
pageToken: "Test string",
|
|
35
|
+
parent: "Test string",
|
|
36
|
+
});
|
|
37
|
+
/** Returns list of releases of the given version. */
|
|
38
|
+
await gapi.client.versionhistory.platforms.channels.versions.releases.list({
|
|
39
|
+
filter: "Test string",
|
|
40
|
+
orderBy: "Test string",
|
|
41
|
+
pageSize: 42,
|
|
42
|
+
pageToken: "Test string",
|
|
43
|
+
parent: "Test string",
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
});
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "commonjs",
|
|
4
|
+
"lib": ["es6", "dom"],
|
|
5
|
+
"noImplicitAny": true,
|
|
6
|
+
"noImplicitThis": true,
|
|
7
|
+
"strictNullChecks": true,
|
|
8
|
+
"baseUrl": "../",
|
|
9
|
+
"typeRoots": [
|
|
10
|
+
"../"
|
|
11
|
+
],
|
|
12
|
+
"types": [],
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"forceConsistentCasingInFileNames": true,
|
|
15
|
+
"strictFunctionTypes": true
|
|
16
|
+
},
|
|
17
|
+
"files": ["index.d.ts", "tests.ts"]
|
|
18
|
+
}
|