@girs/restextras-0.7 0.7.0-3.2.6 → 0.7.0-3.2.8

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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/restextras-0.7)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for RestExtras-0.7, generated from library version 0.7.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for RestExtras-0.7, generated from library version 0.7.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  This extra package provides Facebook and Flickr support.
11
11
 
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/restextras-0.7",
3
- "version": "0.7.0-3.2.6",
3
+ "version": "0.7.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for RestExtras-0.7, generated from library version 0.7.0",
5
5
  "type": "module",
6
6
  "module": "restextras-0.7.js",
7
7
  "main": "restextras-0.7.js",
8
8
  "exports": {
9
- "./ambient": "./restextras-0.7-ambient.d.ts",
10
- "./import": "./restextras-0.7-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./restextras-0.7-ambient.d.ts",
11
+ "default": "./restextras-0.7-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./restextras-0.7-import.d.ts",
15
+ "default": "./restextras-0.7-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./restextras-0.7.d.ts",
@@ -25,13 +31,13 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit restextras-0.7.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.6",
29
- "@girs/gjs": "^3.2.6",
30
- "@girs/glib-2.0": "^2.78.0-3.2.6",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
32
- "@girs/libxml2-2.0": "^2.0.0-3.2.6",
33
- "@girs/rest-0.7": "^0.7.0-3.2.6",
34
- "@girs/soup-2.4": "^2.74.3-3.2.6"
34
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
35
+ "@girs/gjs": "^3.2.8",
36
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
37
+ "@girs/gobject-2.0": "^2.77.0-3.2.8",
38
+ "@girs/libxml2-2.0": "^2.0.0-3.2.8",
39
+ "@girs/rest-0.7": "^0.7.0-3.2.8",
40
+ "@girs/soup-2.4": "^2.74.3-3.2.8"
35
41
  },
36
42
  "devDependencies": {
37
43
  "typescript": "*"
@@ -48,7 +54,7 @@
48
54
  "license": "MIT",
49
55
  "repository": {
50
56
  "type": "git",
51
- "url": "git+https://github.com/gjsify/types.git"
57
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
52
58
  },
53
59
  "bugs": {
54
60
  "url": "https://github.com/gjsify/ts-for-gir/issues"
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
@@ -20,7 +20,7 @@ import type GObject from '@girs/gobject-2.0';
20
20
  import type GLib from '@girs/glib-2.0';
21
21
 
22
22
  export interface YoutubeProxyUploadCallback {
23
- (proxy: YoutubeProxy, payload: string | null, total: number, uploaded: number, error: GLib.Error, weak_object: GObject.Object): void
23
+ (proxy: YoutubeProxy, payload: string, total: number, uploaded: number, error: GLib.Error, weak_object: GObject.Object): void
24
24
  }
25
25
  export module FlickrProxy {
26
26
 
@@ -30,11 +30,9 @@ export module FlickrProxy {
30
30
 
31
31
  // Own constructor properties of RestExtras-0.7.RestExtras.FlickrProxy
32
32
 
33
- api_key?: string | null
34
- shared_secret?: string | null
35
- token?: string | null
36
33
  apiKey?: string | null
37
34
  sharedSecret?: string | null
35
+ token?: string | null
38
36
  }
39
37
 
40
38
  }
@@ -43,9 +41,7 @@ export interface FlickrProxy {
43
41
 
44
42
  // Own properties of RestExtras-0.7.RestExtras.FlickrProxy
45
43
 
46
- readonly api_key: string | null
47
44
  readonly apiKey: string | null
48
- readonly shared_secret: string | null
49
45
  readonly sharedSecret: string | null
50
46
  token: string | null
51
47
 
@@ -56,22 +52,22 @@ export interface FlickrProxy {
56
52
 
57
53
  // Owm methods of RestExtras-0.7.RestExtras.FlickrProxy
58
54
 
59
- build_login_url(frob: string | null, perms: string | null): string | null
55
+ build_login_url(frob: string, perms: string): string | null
60
56
  /**
61
57
  * Get the API key.
62
58
  * @returns the API key. This string is owned by #FlickrProxy and should not be freed.
63
59
  */
64
- get_api_key(): string | null
60
+ get_api_key(): string
65
61
  /**
66
62
  * Get the shared secret for authentication.
67
63
  * @returns the shared secret. This string is owned by #FlickrProxy and should not be freed.
68
64
  */
69
- get_shared_secret(): string | null
65
+ get_shared_secret(): string
70
66
  /**
71
67
  * Get the current token.
72
68
  * @returns the token, or %NULL if there is no token yet. This string is owned by #FlickrProxy and should not be freed.
73
69
  */
74
- get_token(): string | null
70
+ get_token(): string
75
71
  /**
76
72
  * Create a new #RestProxyCall that can be used for uploading.
77
73
  *
@@ -92,12 +88,12 @@ export interface FlickrProxy {
92
88
  * @param filename the file to upload
93
89
  * @returns a new #FlickrProxyCall
94
90
  */
95
- new_upload_for_file(filename: string | null): FlickrProxyCall
91
+ new_upload_for_file(filename: string): FlickrProxyCall
96
92
  /**
97
93
  * Set the token.
98
94
  * @param token the access token
99
95
  */
100
- set_token(token: string | null): void
96
+ set_token(token: string): void
101
97
  sign(params: GLib.HashTable): string | null
102
98
 
103
99
  // Class property signals of RestExtras-0.7.RestExtras.FlickrProxy
@@ -155,8 +151,8 @@ export class FlickrProxy extends Rest.Proxy {
155
151
  // Constructors of RestExtras-0.7.RestExtras.FlickrProxy
156
152
 
157
153
  constructor(config?: FlickrProxy.ConstructorProperties)
158
- constructor(api_key: string | null, shared_secret: string | null)
159
- static new(api_key: string | null, shared_secret: string | null): FlickrProxy
154
+ constructor(api_key: string, shared_secret: string)
155
+ static new(api_key: string, shared_secret: string): FlickrProxy
160
156
 
161
157
  // Overloads of new
162
158
 
@@ -172,8 +168,8 @@ export class FlickrProxy extends Rest.Proxy {
172
168
  * @param binding_required whether the URL needs to be bound before calling
173
169
  * @returns A new #RestProxy.
174
170
  */
175
- static new(url_format: string | null, binding_required: boolean): Rest.Proxy
176
- static new_with_token(api_key: string | null, shared_secret: string | null, token: string | null): FlickrProxy
171
+ static new(url_format: string, binding_required: boolean): Rest.Proxy
172
+ static new_with_token(api_key: string, shared_secret: string, token: string): FlickrProxy
177
173
  _init(config?: FlickrProxy.ConstructorProperties): void
178
174
  /**
179
175
  * Examines the Flickr response and if it not a successful reply, set `error` and
@@ -250,10 +246,8 @@ export module LastfmProxy {
250
246
 
251
247
  // Own constructor properties of RestExtras-0.7.RestExtras.LastfmProxy
252
248
 
253
- api_key?: string | null
254
- secret?: string | null
255
- session_key?: string | null
256
249
  apiKey?: string | null
250
+ secret?: string | null
257
251
  sessionKey?: string | null
258
252
  }
259
253
 
@@ -263,10 +257,8 @@ export interface LastfmProxy {
263
257
 
264
258
  // Own properties of RestExtras-0.7.RestExtras.LastfmProxy
265
259
 
266
- readonly api_key: string | null
267
260
  readonly apiKey: string | null
268
261
  readonly secret: string | null
269
- session_key: string | null
270
262
  sessionKey: string | null
271
263
 
272
264
  // Own fields of RestExtras-0.7.RestExtras.LastfmProxy
@@ -276,27 +268,27 @@ export interface LastfmProxy {
276
268
 
277
269
  // Owm methods of RestExtras-0.7.RestExtras.LastfmProxy
278
270
 
279
- build_login_url(token: string | null): string | null
271
+ build_login_url(token: string): string | null
280
272
  /**
281
273
  * Get the API key.
282
274
  * @returns the API key. This string is owned by #LastfmProxy and should not be freed.
283
275
  */
284
- get_api_key(): string | null
276
+ get_api_key(): string
285
277
  /**
286
278
  * Get the secret for authentication.
287
279
  * @returns the secret. This string is owned by #LastfmProxy and should not be freed.
288
280
  */
289
- get_secret(): string | null
281
+ get_secret(): string
290
282
  /**
291
283
  * Get the current session key.
292
284
  * @returns the session key, or %NULL if there is no session key yet. This string is owned by #LastfmProxy and should not be freed.
293
285
  */
294
- get_session_key(): string | null
286
+ get_session_key(): string
295
287
  /**
296
288
  * Set the session key.
297
289
  * @param session_key the access session_key
298
290
  */
299
- set_session_key(session_key: string | null): void
291
+ set_session_key(session_key: string): void
300
292
  sign(params: GLib.HashTable): string | null
301
293
 
302
294
  // Class property signals of RestExtras-0.7.RestExtras.LastfmProxy
@@ -354,8 +346,8 @@ export class LastfmProxy extends Rest.Proxy {
354
346
  // Constructors of RestExtras-0.7.RestExtras.LastfmProxy
355
347
 
356
348
  constructor(config?: LastfmProxy.ConstructorProperties)
357
- constructor(api_key: string | null, secret: string | null)
358
- static new(api_key: string | null, secret: string | null): LastfmProxy
349
+ constructor(api_key: string, secret: string)
350
+ static new(api_key: string, secret: string): LastfmProxy
359
351
 
360
352
  // Overloads of new
361
353
 
@@ -371,8 +363,8 @@ export class LastfmProxy extends Rest.Proxy {
371
363
  * @param binding_required whether the URL needs to be bound before calling
372
364
  * @returns A new #RestProxy.
373
365
  */
374
- static new(url_format: string | null, binding_required: boolean): Rest.Proxy
375
- static new_with_session(api_key: string | null, secret: string | null, session_key: string | null): LastfmProxy
366
+ static new(url_format: string, binding_required: boolean): Rest.Proxy
367
+ static new_with_session(api_key: string, secret: string, session_key: string): LastfmProxy
376
368
  _init(config?: LastfmProxy.ConstructorProperties): void
377
369
  /**
378
370
  * Examines the Lastfm response and if it not a successful reply, set `error` and
@@ -434,8 +426,6 @@ export module YoutubeProxy {
434
426
 
435
427
  // Own constructor properties of RestExtras-0.7.RestExtras.YoutubeProxy
436
428
 
437
- developer_key?: string | null
438
- user_auth?: string | null
439
429
  developerKey?: string | null
440
430
  userAuth?: string | null
441
431
  }
@@ -446,9 +436,7 @@ export interface YoutubeProxy {
446
436
 
447
437
  // Own properties of RestExtras-0.7.RestExtras.YoutubeProxy
448
438
 
449
- readonly developer_key: string | null
450
439
  readonly developerKey: string | null
451
- user_auth: string | null
452
440
  userAuth: string | null
453
441
 
454
442
  // Own fields of RestExtras-0.7.RestExtras.YoutubeProxy
@@ -458,7 +446,7 @@ export interface YoutubeProxy {
458
446
 
459
447
  // Owm methods of RestExtras-0.7.RestExtras.YoutubeProxy
460
448
 
461
- set_user_auth(user_auth: string | null): void
449
+ set_user_auth(user_auth: string): void
462
450
  /**
463
451
  * Upload a file.
464
452
  * @param filename filename
@@ -468,7 +456,7 @@ export interface YoutubeProxy {
468
456
  * @param weak_object an object instance used to tie the life cycle of the proxy to
469
457
  * @returns %TRUE, or %FALSE if the file could not be opened
470
458
  */
471
- upload_async(filename: string | null, fields: GLib.HashTable, incomplete: boolean, callback: YoutubeProxyUploadCallback, weak_object: GObject.Object): boolean
459
+ upload_async(filename: string, fields: GLib.HashTable, incomplete: boolean, callback: YoutubeProxyUploadCallback, weak_object: GObject.Object): boolean
472
460
 
473
461
  // Class property signals of RestExtras-0.7.RestExtras.YoutubeProxy
474
462
 
@@ -522,8 +510,8 @@ export class YoutubeProxy extends Rest.Proxy {
522
510
  // Constructors of RestExtras-0.7.RestExtras.YoutubeProxy
523
511
 
524
512
  constructor(config?: YoutubeProxy.ConstructorProperties)
525
- constructor(developer_key: string | null)
526
- static new(developer_key: string | null): YoutubeProxy
513
+ constructor(developer_key: string)
514
+ static new(developer_key: string): YoutubeProxy
527
515
 
528
516
  // Overloads of new
529
517
 
@@ -539,8 +527,8 @@ export class YoutubeProxy extends Rest.Proxy {
539
527
  * @param binding_required whether the URL needs to be bound before calling
540
528
  * @returns A new #RestProxy.
541
529
  */
542
- static new(url_format: string | null, binding_required: boolean): Rest.Proxy
543
- static new_with_auth(developer_key: string | null, user_auth: string | null): YoutubeProxy
530
+ static new(url_format: string, binding_required: boolean): Rest.Proxy
531
+ static new_with_auth(developer_key: string, user_auth: string): YoutubeProxy
544
532
  _init(config?: YoutubeProxy.ConstructorProperties): void
545
533
  }
546
534
 
@@ -22,7 +22,7 @@ import type GLib from '@girs/glib-2.0';
22
22
  export namespace RestExtras {
23
23
 
24
24
  interface YoutubeProxyUploadCallback {
25
- (proxy: YoutubeProxy, payload: string | null, total: number, uploaded: number, error: GLib.Error, weak_object: GObject.Object): void
25
+ (proxy: YoutubeProxy, payload: string, total: number, uploaded: number, error: GLib.Error, weak_object: GObject.Object): void
26
26
  }
27
27
  module FlickrProxy {
28
28
 
@@ -32,11 +32,9 @@ module FlickrProxy {
32
32
 
33
33
  // Own constructor properties of RestExtras-0.7.RestExtras.FlickrProxy
34
34
 
35
- api_key?: string | null
36
- shared_secret?: string | null
37
- token?: string | null
38
35
  apiKey?: string | null
39
36
  sharedSecret?: string | null
37
+ token?: string | null
40
38
  }
41
39
 
42
40
  }
@@ -45,9 +43,7 @@ interface FlickrProxy {
45
43
 
46
44
  // Own properties of RestExtras-0.7.RestExtras.FlickrProxy
47
45
 
48
- readonly api_key: string | null
49
46
  readonly apiKey: string | null
50
- readonly shared_secret: string | null
51
47
  readonly sharedSecret: string | null
52
48
  token: string | null
53
49
 
@@ -58,22 +54,22 @@ interface FlickrProxy {
58
54
 
59
55
  // Owm methods of RestExtras-0.7.RestExtras.FlickrProxy
60
56
 
61
- build_login_url(frob: string | null, perms: string | null): string | null
57
+ build_login_url(frob: string, perms: string): string | null
62
58
  /**
63
59
  * Get the API key.
64
60
  * @returns the API key. This string is owned by #FlickrProxy and should not be freed.
65
61
  */
66
- get_api_key(): string | null
62
+ get_api_key(): string
67
63
  /**
68
64
  * Get the shared secret for authentication.
69
65
  * @returns the shared secret. This string is owned by #FlickrProxy and should not be freed.
70
66
  */
71
- get_shared_secret(): string | null
67
+ get_shared_secret(): string
72
68
  /**
73
69
  * Get the current token.
74
70
  * @returns the token, or %NULL if there is no token yet. This string is owned by #FlickrProxy and should not be freed.
75
71
  */
76
- get_token(): string | null
72
+ get_token(): string
77
73
  /**
78
74
  * Create a new #RestProxyCall that can be used for uploading.
79
75
  *
@@ -94,12 +90,12 @@ interface FlickrProxy {
94
90
  * @param filename the file to upload
95
91
  * @returns a new #FlickrProxyCall
96
92
  */
97
- new_upload_for_file(filename: string | null): FlickrProxyCall
93
+ new_upload_for_file(filename: string): FlickrProxyCall
98
94
  /**
99
95
  * Set the token.
100
96
  * @param token the access token
101
97
  */
102
- set_token(token: string | null): void
98
+ set_token(token: string): void
103
99
  sign(params: GLib.HashTable): string | null
104
100
 
105
101
  // Class property signals of RestExtras-0.7.RestExtras.FlickrProxy
@@ -157,8 +153,8 @@ class FlickrProxy extends Rest.Proxy {
157
153
  // Constructors of RestExtras-0.7.RestExtras.FlickrProxy
158
154
 
159
155
  constructor(config?: FlickrProxy.ConstructorProperties)
160
- constructor(api_key: string | null, shared_secret: string | null)
161
- static new(api_key: string | null, shared_secret: string | null): FlickrProxy
156
+ constructor(api_key: string, shared_secret: string)
157
+ static new(api_key: string, shared_secret: string): FlickrProxy
162
158
 
163
159
  // Overloads of new
164
160
 
@@ -174,8 +170,8 @@ class FlickrProxy extends Rest.Proxy {
174
170
  * @param binding_required whether the URL needs to be bound before calling
175
171
  * @returns A new #RestProxy.
176
172
  */
177
- static new(url_format: string | null, binding_required: boolean): Rest.Proxy
178
- static new_with_token(api_key: string | null, shared_secret: string | null, token: string | null): FlickrProxy
173
+ static new(url_format: string, binding_required: boolean): Rest.Proxy
174
+ static new_with_token(api_key: string, shared_secret: string, token: string): FlickrProxy
179
175
  _init(config?: FlickrProxy.ConstructorProperties): void
180
176
  /**
181
177
  * Examines the Flickr response and if it not a successful reply, set `error` and
@@ -252,10 +248,8 @@ module LastfmProxy {
252
248
 
253
249
  // Own constructor properties of RestExtras-0.7.RestExtras.LastfmProxy
254
250
 
255
- api_key?: string | null
256
- secret?: string | null
257
- session_key?: string | null
258
251
  apiKey?: string | null
252
+ secret?: string | null
259
253
  sessionKey?: string | null
260
254
  }
261
255
 
@@ -265,10 +259,8 @@ interface LastfmProxy {
265
259
 
266
260
  // Own properties of RestExtras-0.7.RestExtras.LastfmProxy
267
261
 
268
- readonly api_key: string | null
269
262
  readonly apiKey: string | null
270
263
  readonly secret: string | null
271
- session_key: string | null
272
264
  sessionKey: string | null
273
265
 
274
266
  // Own fields of RestExtras-0.7.RestExtras.LastfmProxy
@@ -278,27 +270,27 @@ interface LastfmProxy {
278
270
 
279
271
  // Owm methods of RestExtras-0.7.RestExtras.LastfmProxy
280
272
 
281
- build_login_url(token: string | null): string | null
273
+ build_login_url(token: string): string | null
282
274
  /**
283
275
  * Get the API key.
284
276
  * @returns the API key. This string is owned by #LastfmProxy and should not be freed.
285
277
  */
286
- get_api_key(): string | null
278
+ get_api_key(): string
287
279
  /**
288
280
  * Get the secret for authentication.
289
281
  * @returns the secret. This string is owned by #LastfmProxy and should not be freed.
290
282
  */
291
- get_secret(): string | null
283
+ get_secret(): string
292
284
  /**
293
285
  * Get the current session key.
294
286
  * @returns the session key, or %NULL if there is no session key yet. This string is owned by #LastfmProxy and should not be freed.
295
287
  */
296
- get_session_key(): string | null
288
+ get_session_key(): string
297
289
  /**
298
290
  * Set the session key.
299
291
  * @param session_key the access session_key
300
292
  */
301
- set_session_key(session_key: string | null): void
293
+ set_session_key(session_key: string): void
302
294
  sign(params: GLib.HashTable): string | null
303
295
 
304
296
  // Class property signals of RestExtras-0.7.RestExtras.LastfmProxy
@@ -356,8 +348,8 @@ class LastfmProxy extends Rest.Proxy {
356
348
  // Constructors of RestExtras-0.7.RestExtras.LastfmProxy
357
349
 
358
350
  constructor(config?: LastfmProxy.ConstructorProperties)
359
- constructor(api_key: string | null, secret: string | null)
360
- static new(api_key: string | null, secret: string | null): LastfmProxy
351
+ constructor(api_key: string, secret: string)
352
+ static new(api_key: string, secret: string): LastfmProxy
361
353
 
362
354
  // Overloads of new
363
355
 
@@ -373,8 +365,8 @@ class LastfmProxy extends Rest.Proxy {
373
365
  * @param binding_required whether the URL needs to be bound before calling
374
366
  * @returns A new #RestProxy.
375
367
  */
376
- static new(url_format: string | null, binding_required: boolean): Rest.Proxy
377
- static new_with_session(api_key: string | null, secret: string | null, session_key: string | null): LastfmProxy
368
+ static new(url_format: string, binding_required: boolean): Rest.Proxy
369
+ static new_with_session(api_key: string, secret: string, session_key: string): LastfmProxy
378
370
  _init(config?: LastfmProxy.ConstructorProperties): void
379
371
  /**
380
372
  * Examines the Lastfm response and if it not a successful reply, set `error` and
@@ -436,8 +428,6 @@ module YoutubeProxy {
436
428
 
437
429
  // Own constructor properties of RestExtras-0.7.RestExtras.YoutubeProxy
438
430
 
439
- developer_key?: string | null
440
- user_auth?: string | null
441
431
  developerKey?: string | null
442
432
  userAuth?: string | null
443
433
  }
@@ -448,9 +438,7 @@ interface YoutubeProxy {
448
438
 
449
439
  // Own properties of RestExtras-0.7.RestExtras.YoutubeProxy
450
440
 
451
- readonly developer_key: string | null
452
441
  readonly developerKey: string | null
453
- user_auth: string | null
454
442
  userAuth: string | null
455
443
 
456
444
  // Own fields of RestExtras-0.7.RestExtras.YoutubeProxy
@@ -460,7 +448,7 @@ interface YoutubeProxy {
460
448
 
461
449
  // Owm methods of RestExtras-0.7.RestExtras.YoutubeProxy
462
450
 
463
- set_user_auth(user_auth: string | null): void
451
+ set_user_auth(user_auth: string): void
464
452
  /**
465
453
  * Upload a file.
466
454
  * @param filename filename
@@ -470,7 +458,7 @@ interface YoutubeProxy {
470
458
  * @param weak_object an object instance used to tie the life cycle of the proxy to
471
459
  * @returns %TRUE, or %FALSE if the file could not be opened
472
460
  */
473
- upload_async(filename: string | null, fields: GLib.HashTable, incomplete: boolean, callback: YoutubeProxyUploadCallback, weak_object: GObject.Object): boolean
461
+ upload_async(filename: string, fields: GLib.HashTable, incomplete: boolean, callback: YoutubeProxyUploadCallback, weak_object: GObject.Object): boolean
474
462
 
475
463
  // Class property signals of RestExtras-0.7.RestExtras.YoutubeProxy
476
464
 
@@ -524,8 +512,8 @@ class YoutubeProxy extends Rest.Proxy {
524
512
  // Constructors of RestExtras-0.7.RestExtras.YoutubeProxy
525
513
 
526
514
  constructor(config?: YoutubeProxy.ConstructorProperties)
527
- constructor(developer_key: string | null)
528
- static new(developer_key: string | null): YoutubeProxy
515
+ constructor(developer_key: string)
516
+ static new(developer_key: string): YoutubeProxy
529
517
 
530
518
  // Overloads of new
531
519
 
@@ -541,8 +529,8 @@ class YoutubeProxy extends Rest.Proxy {
541
529
  * @param binding_required whether the URL needs to be bound before calling
542
530
  * @returns A new #RestProxy.
543
531
  */
544
- static new(url_format: string | null, binding_required: boolean): Rest.Proxy
545
- static new_with_auth(developer_key: string | null, user_auth: string | null): YoutubeProxy
532
+ static new(url_format: string, binding_required: boolean): Rest.Proxy
533
+ static new_with_auth(developer_key: string, user_auth: string): YoutubeProxy
546
534
  _init(config?: YoutubeProxy.ConstructorProperties): void
547
535
  }
548
536