@girs/msg-0 0.0.0-4.0.0-beta.18 → 0.0.0-4.0.0-beta.20
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 +1 -1
- package/msg-0.d.ts +28 -27
- package/package.json +8 -9
- package/tsconfig.json +3 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.20.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/msg-0.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ import type Soup from '@girs/soup-3.0';
|
|
|
12
12
|
import type Gio from '@girs/gio-2.0';
|
|
13
13
|
import type GObject from '@girs/gobject-2.0';
|
|
14
14
|
import type GLib from '@girs/glib-2.0';
|
|
15
|
-
import type GModule from '@girs/gmodule-2.0';
|
|
16
15
|
import type Json from '@girs/json-1.0';
|
|
17
16
|
import type Goa from '@girs/goa-1.0';
|
|
18
17
|
|
|
@@ -86,7 +85,7 @@ export namespace Msg {
|
|
|
86
85
|
const API_ENDPOINT: string;
|
|
87
86
|
function error_quark(): GLib.Quark;
|
|
88
87
|
function json_object_get_string(object: Json.Object, name: string): string;
|
|
89
|
-
|
|
88
|
+
namespace Contact {
|
|
90
89
|
// Constructor properties interface
|
|
91
90
|
|
|
92
91
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -140,7 +139,7 @@ export namespace Msg {
|
|
|
140
139
|
set_surname(surname: string): void;
|
|
141
140
|
}
|
|
142
141
|
|
|
143
|
-
|
|
142
|
+
namespace ContactService {
|
|
144
143
|
// Constructor properties interface
|
|
145
144
|
|
|
146
145
|
interface ConstructorProps extends Service.ConstructorProps {}
|
|
@@ -181,7 +180,7 @@ export namespace Msg {
|
|
|
181
180
|
get_contacts(cancellable?: Gio.Cancellable | null): Contact[];
|
|
182
181
|
}
|
|
183
182
|
|
|
184
|
-
|
|
183
|
+
namespace Drive {
|
|
185
184
|
// Constructor properties interface
|
|
186
185
|
|
|
187
186
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -249,7 +248,7 @@ export namespace Msg {
|
|
|
249
248
|
get_used(): number;
|
|
250
249
|
}
|
|
251
250
|
|
|
252
|
-
|
|
251
|
+
namespace DriveItem {
|
|
253
252
|
// Constructor properties interface
|
|
254
253
|
|
|
255
254
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -335,7 +334,7 @@ export namespace Msg {
|
|
|
335
334
|
set_parent_id(parent_id: string): void;
|
|
336
335
|
}
|
|
337
336
|
|
|
338
|
-
|
|
337
|
+
namespace DriveItemFile {
|
|
339
338
|
// Constructor properties interface
|
|
340
339
|
|
|
341
340
|
interface ConstructorProps extends DriveItem.ConstructorProps {}
|
|
@@ -368,7 +367,7 @@ export namespace Msg {
|
|
|
368
367
|
get_thumbnail_uri(): string;
|
|
369
368
|
}
|
|
370
369
|
|
|
371
|
-
|
|
370
|
+
namespace DriveItemFolder {
|
|
372
371
|
// Constructor properties interface
|
|
373
372
|
|
|
374
373
|
interface ConstructorProps extends DriveItem.ConstructorProps {}
|
|
@@ -388,7 +387,7 @@ export namespace Msg {
|
|
|
388
387
|
static new_from_json(object: Json.Object): DriveItemFolder;
|
|
389
388
|
}
|
|
390
389
|
|
|
391
|
-
|
|
390
|
+
namespace DriveService {
|
|
392
391
|
// Constructor properties interface
|
|
393
392
|
|
|
394
393
|
interface ConstructorProps extends Service.ConstructorProps {}
|
|
@@ -511,7 +510,7 @@ export namespace Msg {
|
|
|
511
510
|
update_finish(item: DriveItem, stream: Gio.OutputStream, cancellable?: Gio.Cancellable | null): DriveItem;
|
|
512
511
|
}
|
|
513
512
|
|
|
514
|
-
|
|
513
|
+
namespace GoaAuthorizer {
|
|
515
514
|
// Constructor properties interface
|
|
516
515
|
|
|
517
516
|
interface ConstructorProps extends GObject.Object.ConstructorProps, Authorizer.ConstructorProps {
|
|
@@ -628,7 +627,7 @@ export namespace Msg {
|
|
|
628
627
|
source_property: string,
|
|
629
628
|
target: GObject.Object,
|
|
630
629
|
target_property: string,
|
|
631
|
-
flags: GObject.BindingFlags,
|
|
630
|
+
flags: GObject.BindingFlags | null,
|
|
632
631
|
): GObject.Binding;
|
|
633
632
|
/**
|
|
634
633
|
* Complete version of g_object_bind_property().
|
|
@@ -669,7 +668,7 @@ export namespace Msg {
|
|
|
669
668
|
source_property: string,
|
|
670
669
|
target: GObject.Object,
|
|
671
670
|
target_property: string,
|
|
672
|
-
flags: GObject.BindingFlags,
|
|
671
|
+
flags: GObject.BindingFlags | null,
|
|
673
672
|
transform_to?: GObject.BindingTransformFunc | null,
|
|
674
673
|
transform_from?: GObject.BindingTransformFunc | null,
|
|
675
674
|
notify?: GLib.DestroyNotify | null,
|
|
@@ -986,7 +985,7 @@ export namespace Msg {
|
|
|
986
985
|
stop_emission_by_name(detailedName: string): any;
|
|
987
986
|
}
|
|
988
987
|
|
|
989
|
-
|
|
988
|
+
namespace InputStream {
|
|
990
989
|
// Constructor properties interface
|
|
991
990
|
|
|
992
991
|
interface ConstructorProps extends Gio.InputStream.ConstructorProps, Gio.Seekable.ConstructorProps {}
|
|
@@ -1050,7 +1049,7 @@ export namespace Msg {
|
|
|
1050
1049
|
* @param cancellable optional #GCancellable object, %NULL to ignore.
|
|
1051
1050
|
* @returns %TRUE if successful. If an error has occurred, this function will return %FALSE and set @error appropriately if present.
|
|
1052
1051
|
*/
|
|
1053
|
-
seek(offset: number, type: GLib.SeekType, cancellable?: Gio.Cancellable | null): boolean;
|
|
1052
|
+
seek(offset: number, type: GLib.SeekType | null, cancellable?: Gio.Cancellable | null): boolean;
|
|
1054
1053
|
/**
|
|
1055
1054
|
* Tells the current position within the stream.
|
|
1056
1055
|
* @returns the (positive or zero) offset from the beginning of the buffer, zero if the target is not seekable.
|
|
@@ -1162,7 +1161,7 @@ export namespace Msg {
|
|
|
1162
1161
|
source_property: string,
|
|
1163
1162
|
target: GObject.Object,
|
|
1164
1163
|
target_property: string,
|
|
1165
|
-
flags: GObject.BindingFlags,
|
|
1164
|
+
flags: GObject.BindingFlags | null,
|
|
1166
1165
|
): GObject.Binding;
|
|
1167
1166
|
/**
|
|
1168
1167
|
* Complete version of g_object_bind_property().
|
|
@@ -1203,7 +1202,7 @@ export namespace Msg {
|
|
|
1203
1202
|
source_property: string,
|
|
1204
1203
|
target: GObject.Object,
|
|
1205
1204
|
target_property: string,
|
|
1206
|
-
flags: GObject.BindingFlags,
|
|
1205
|
+
flags: GObject.BindingFlags | null,
|
|
1207
1206
|
transform_to?: GObject.BindingTransformFunc | null,
|
|
1208
1207
|
transform_from?: GObject.BindingTransformFunc | null,
|
|
1209
1208
|
notify?: GLib.DestroyNotify | null,
|
|
@@ -1520,7 +1519,7 @@ export namespace Msg {
|
|
|
1520
1519
|
stop_emission_by_name(detailedName: string): any;
|
|
1521
1520
|
}
|
|
1522
1521
|
|
|
1523
|
-
|
|
1522
|
+
namespace MailFolder {
|
|
1524
1523
|
// Constructor properties interface
|
|
1525
1524
|
|
|
1526
1525
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -1549,7 +1548,7 @@ export namespace Msg {
|
|
|
1549
1548
|
get_unread_item_count(): number;
|
|
1550
1549
|
}
|
|
1551
1550
|
|
|
1552
|
-
|
|
1551
|
+
namespace Message {
|
|
1553
1552
|
// Constructor properties interface
|
|
1554
1553
|
|
|
1555
1554
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -1582,7 +1581,7 @@ export namespace Msg {
|
|
|
1582
1581
|
set_subject(subject: string): boolean;
|
|
1583
1582
|
}
|
|
1584
1583
|
|
|
1585
|
-
|
|
1584
|
+
namespace MessageService {
|
|
1586
1585
|
// Constructor properties interface
|
|
1587
1586
|
|
|
1588
1587
|
interface ConstructorProps extends Service.ConstructorProps {}
|
|
@@ -1621,7 +1620,7 @@ export namespace Msg {
|
|
|
1621
1620
|
* @param cancellable a #GCancellable
|
|
1622
1621
|
* @returns a #MsgMailFolder
|
|
1623
1622
|
*/
|
|
1624
|
-
get_mail_folder(type: MessageMailFolderType, cancellable?: Gio.Cancellable | null): MailFolder;
|
|
1623
|
+
get_mail_folder(type: MessageMailFolderType | null, cancellable?: Gio.Cancellable | null): MailFolder;
|
|
1625
1624
|
/**
|
|
1626
1625
|
* Get all folders for given service
|
|
1627
1626
|
* @param cancellable a #GCancellable
|
|
@@ -1636,7 +1635,7 @@ export namespace Msg {
|
|
|
1636
1635
|
get_messages(cancellable?: Gio.Cancellable | null): Message[];
|
|
1637
1636
|
}
|
|
1638
1637
|
|
|
1639
|
-
|
|
1638
|
+
namespace OAuth2Authorizer {
|
|
1640
1639
|
// Constructor properties interface
|
|
1641
1640
|
|
|
1642
1641
|
interface ConstructorProps extends GObject.Object.ConstructorProps, Authorizer.ConstructorProps {
|
|
@@ -1761,7 +1760,7 @@ export namespace Msg {
|
|
|
1761
1760
|
source_property: string,
|
|
1762
1761
|
target: GObject.Object,
|
|
1763
1762
|
target_property: string,
|
|
1764
|
-
flags: GObject.BindingFlags,
|
|
1763
|
+
flags: GObject.BindingFlags | null,
|
|
1765
1764
|
): GObject.Binding;
|
|
1766
1765
|
/**
|
|
1767
1766
|
* Complete version of g_object_bind_property().
|
|
@@ -1802,7 +1801,7 @@ export namespace Msg {
|
|
|
1802
1801
|
source_property: string,
|
|
1803
1802
|
target: GObject.Object,
|
|
1804
1803
|
target_property: string,
|
|
1805
|
-
flags: GObject.BindingFlags,
|
|
1804
|
+
flags: GObject.BindingFlags | null,
|
|
1806
1805
|
transform_to?: GObject.BindingTransformFunc | null,
|
|
1807
1806
|
transform_from?: GObject.BindingTransformFunc | null,
|
|
1808
1807
|
notify?: GLib.DestroyNotify | null,
|
|
@@ -2119,7 +2118,7 @@ export namespace Msg {
|
|
|
2119
2118
|
stop_emission_by_name(detailedName: string): any;
|
|
2120
2119
|
}
|
|
2121
2120
|
|
|
2122
|
-
|
|
2121
|
+
namespace Service {
|
|
2123
2122
|
// Constructor properties interface
|
|
2124
2123
|
|
|
2125
2124
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -2212,7 +2211,7 @@ export namespace Msg {
|
|
|
2212
2211
|
send_and_read(message: Soup.Message, cancellable?: Gio.Cancellable | null): GLib.Bytes;
|
|
2213
2212
|
}
|
|
2214
2213
|
|
|
2215
|
-
|
|
2214
|
+
namespace User {
|
|
2216
2215
|
// Constructor properties interface
|
|
2217
2216
|
|
|
2218
2217
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -2239,7 +2238,7 @@ export namespace Msg {
|
|
|
2239
2238
|
get_mail(): string;
|
|
2240
2239
|
}
|
|
2241
2240
|
|
|
2242
|
-
|
|
2241
|
+
namespace UserService {
|
|
2243
2242
|
// Constructor properties interface
|
|
2244
2243
|
|
|
2245
2244
|
interface ConstructorProps extends Service.ConstructorProps {}
|
|
@@ -2332,7 +2331,7 @@ export namespace Msg {
|
|
|
2332
2331
|
_init(...args: any[]): void;
|
|
2333
2332
|
}
|
|
2334
2333
|
|
|
2335
|
-
|
|
2334
|
+
namespace Authorizer {
|
|
2336
2335
|
// Constructor properties interface
|
|
2337
2336
|
|
|
2338
2337
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -2385,7 +2384,9 @@ export namespace Msg {
|
|
|
2385
2384
|
vfunc_refresh_authorization(cancellable?: Gio.Cancellable | null): boolean;
|
|
2386
2385
|
}
|
|
2387
2386
|
|
|
2388
|
-
export const Authorizer: AuthorizerNamespace
|
|
2387
|
+
export const Authorizer: AuthorizerNamespace & {
|
|
2388
|
+
new (): Authorizer; // This allows `obj instanceof Authorizer`
|
|
2389
|
+
};
|
|
2389
2390
|
|
|
2390
2391
|
/**
|
|
2391
2392
|
* Name of the imported GIR library
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/msg-0",
|
|
3
|
-
"version": "0.0.0-4.0.0-beta.
|
|
3
|
+
"version": "0.0.0-4.0.0-beta.20",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Msg-0, generated from library version 0.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "msg-0.js",
|
|
@@ -31,14 +31,13 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gio-2.0": "^2.82.
|
|
35
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
36
|
-
"@girs/glib-2.0": "^2.82.
|
|
37
|
-
"@girs/
|
|
38
|
-
"@girs/
|
|
39
|
-
"@girs/
|
|
40
|
-
"@girs/
|
|
41
|
-
"@girs/soup-3.0": "^3.6.0-4.0.0-beta.18"
|
|
34
|
+
"@girs/gio-2.0": "^2.82.4-4.0.0-beta.20",
|
|
35
|
+
"@girs/gjs": "^4.0.0-beta.20",
|
|
36
|
+
"@girs/glib-2.0": "^2.82.4-4.0.0-beta.20",
|
|
37
|
+
"@girs/goa-1.0": "^3.52.0-4.0.0-beta.20",
|
|
38
|
+
"@girs/gobject-2.0": "^2.82.4-4.0.0-beta.20",
|
|
39
|
+
"@girs/json-1.0": "^1.10.0-4.0.0-beta.20",
|
|
40
|
+
"@girs/soup-3.0": "^3.6.0-4.0.0-beta.20"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
44
43
|
"typescript": "*"
|