@girs/rest-1.0 1.0.0-3.2.7 → 1.0.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/rest-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Rest-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Rest-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  A helper library for RESTful services.
11
11
 
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/rest-1.0",
3
- "version": "1.0.0-3.2.7",
3
+ "version": "1.0.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Rest-1.0, generated from library version 1.0.0",
5
5
  "type": "module",
6
6
  "module": "rest-1.0.js",
7
7
  "main": "rest-1.0.js",
8
8
  "exports": {
9
- "./ambient": "./rest-1.0-ambient.d.ts",
10
- "./import": "./rest-1.0-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./rest-1.0-ambient.d.ts",
11
+ "default": "./rest-1.0-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./rest-1.0-import.d.ts",
15
+ "default": "./rest-1.0-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./rest-1.0.d.ts",
@@ -25,11 +31,11 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit rest-1.0.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.7",
29
- "@girs/gjs": "^3.2.7",
30
- "@girs/glib-2.0": "^2.78.0-3.2.7",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.7",
32
- "@girs/soup-3.0": "^3.4.4-3.2.7"
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/soup-3.0": "^3.4.2-3.2.8"
33
39
  },
34
40
  "devDependencies": {
35
41
  "typescript": "*"
@@ -46,7 +52,7 @@
46
52
  "license": "MIT",
47
53
  "repository": {
48
54
  "type": "git",
49
- "url": "git+https://github.com/gjsify/types.git"
55
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
50
56
  },
51
57
  "bugs": {
52
58
  "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
+
package/rest-1.0.d.cts CHANGED
@@ -237,14 +237,6 @@ export module OAuth2Proxy {
237
237
 
238
238
  // Own constructor properties of Rest-1.0.Rest.OAuth2Proxy
239
239
 
240
- access_token?: string | null
241
- auth_url?: string | null
242
- client_id?: string | null
243
- client_secret?: string | null
244
- expiration_date?: GLib.DateTime | null
245
- redirect_uri?: string | null
246
- refresh_token?: string | null
247
- token_url?: string | null
248
240
  accessToken?: string | null
249
241
  authUrl?: string | null
250
242
  clientId?: string | null
@@ -261,21 +253,13 @@ export interface OAuth2Proxy {
261
253
 
262
254
  // Own properties of Rest-1.0.Rest.OAuth2Proxy
263
255
 
264
- access_token: string | null
265
256
  accessToken: string | null
266
- auth_url: string | null
267
257
  authUrl: string | null
268
- client_id: string | null
269
258
  clientId: string | null
270
- client_secret: string | null
271
259
  clientSecret: string | null
272
- expiration_date: GLib.DateTime
273
260
  expirationDate: GLib.DateTime
274
- redirect_uri: string | null
275
261
  redirectUri: string | null
276
- refresh_token: string | null
277
262
  refreshToken: string | null
278
- token_url: string | null
279
263
  tokenUrl: string | null
280
264
 
281
265
  // Own fields of Rest-1.0.Rest.OAuth2Proxy
@@ -491,20 +475,14 @@ export module Proxy {
491
475
 
492
476
  // Own constructor properties of Rest-1.0.Rest.Proxy
493
477
 
494
- binding_required?: boolean | null
495
- disable_cookies?: boolean | null
496
- password?: string | null
497
- ssl_ca_file?: string | null
498
- ssl_strict?: boolean | null
499
- url_format?: string | null
500
- user_agent?: string | null
501
- username?: string | null
502
478
  bindingRequired?: boolean | null
503
479
  disableCookies?: boolean | null
480
+ password?: string | null
504
481
  sslCaFile?: string | null
505
482
  sslStrict?: boolean | null
506
483
  urlFormat?: string | null
507
484
  userAgent?: string | null
485
+ username?: string | null
508
486
  }
509
487
 
510
488
  }
@@ -513,18 +491,12 @@ export interface Proxy {
513
491
 
514
492
  // Own properties of Rest-1.0.Rest.Proxy
515
493
 
516
- binding_required: boolean
517
494
  bindingRequired: boolean
518
- readonly disable_cookies: boolean
519
495
  readonly disableCookies: boolean
520
496
  password: string | null
521
- ssl_ca_file: string | null
522
497
  sslCaFile: string | null
523
- ssl_strict: boolean
524
498
  sslStrict: boolean
525
- url_format: string | null
526
499
  urlFormat: string | null
527
- user_agent: string | null
528
500
  userAgent: string | null
529
501
  username: string | null
530
502
 
package/rest-1.0.d.ts CHANGED
@@ -239,14 +239,6 @@ module OAuth2Proxy {
239
239
 
240
240
  // Own constructor properties of Rest-1.0.Rest.OAuth2Proxy
241
241
 
242
- access_token?: string | null
243
- auth_url?: string | null
244
- client_id?: string | null
245
- client_secret?: string | null
246
- expiration_date?: GLib.DateTime | null
247
- redirect_uri?: string | null
248
- refresh_token?: string | null
249
- token_url?: string | null
250
242
  accessToken?: string | null
251
243
  authUrl?: string | null
252
244
  clientId?: string | null
@@ -263,21 +255,13 @@ interface OAuth2Proxy {
263
255
 
264
256
  // Own properties of Rest-1.0.Rest.OAuth2Proxy
265
257
 
266
- access_token: string | null
267
258
  accessToken: string | null
268
- auth_url: string | null
269
259
  authUrl: string | null
270
- client_id: string | null
271
260
  clientId: string | null
272
- client_secret: string | null
273
261
  clientSecret: string | null
274
- expiration_date: GLib.DateTime
275
262
  expirationDate: GLib.DateTime
276
- redirect_uri: string | null
277
263
  redirectUri: string | null
278
- refresh_token: string | null
279
264
  refreshToken: string | null
280
- token_url: string | null
281
265
  tokenUrl: string | null
282
266
 
283
267
  // Own fields of Rest-1.0.Rest.OAuth2Proxy
@@ -493,20 +477,14 @@ module Proxy {
493
477
 
494
478
  // Own constructor properties of Rest-1.0.Rest.Proxy
495
479
 
496
- binding_required?: boolean | null
497
- disable_cookies?: boolean | null
498
- password?: string | null
499
- ssl_ca_file?: string | null
500
- ssl_strict?: boolean | null
501
- url_format?: string | null
502
- user_agent?: string | null
503
- username?: string | null
504
480
  bindingRequired?: boolean | null
505
481
  disableCookies?: boolean | null
482
+ password?: string | null
506
483
  sslCaFile?: string | null
507
484
  sslStrict?: boolean | null
508
485
  urlFormat?: string | null
509
486
  userAgent?: string | null
487
+ username?: string | null
510
488
  }
511
489
 
512
490
  }
@@ -515,18 +493,12 @@ interface Proxy {
515
493
 
516
494
  // Own properties of Rest-1.0.Rest.Proxy
517
495
 
518
- binding_required: boolean
519
496
  bindingRequired: boolean
520
- readonly disable_cookies: boolean
521
497
  readonly disableCookies: boolean
522
498
  password: string | null
523
- ssl_ca_file: string | null
524
499
  sslCaFile: string | null
525
- ssl_strict: boolean
526
500
  sslStrict: boolean
527
- url_format: string | null
528
501
  urlFormat: string | null
529
- user_agent: string | null
530
502
  userAgent: string | null
531
503
  username: string | null
532
504