@girs/appstreamcompose-1.0 1.0.0-4.0.0-beta.39 → 1.0.0-4.0.0-beta.40
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/appstreamcompose-1.0.d.ts +18 -30
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for AppStreamCompose-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for AppStreamCompose-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.40.
|
|
9
9
|
|
|
10
10
|
## Install
|
|
11
11
|
|
|
@@ -26,7 +26,7 @@ export namespace AppStreamCompose {
|
|
|
26
26
|
* A drawing error.
|
|
27
27
|
*/
|
|
28
28
|
class CanvasError extends GLib.Error {
|
|
29
|
-
static $gtype: GObject.GType<
|
|
29
|
+
static $gtype: GObject.GType<GLib.Error>;
|
|
30
30
|
|
|
31
31
|
// Static fields
|
|
32
32
|
|
|
@@ -60,7 +60,7 @@ export namespace AppStreamCompose {
|
|
|
60
60
|
* A metadata composition error.
|
|
61
61
|
*/
|
|
62
62
|
class ComposeError extends GLib.Error {
|
|
63
|
-
static $gtype: GObject.GType<
|
|
63
|
+
static $gtype: GObject.GType<GLib.Error>;
|
|
64
64
|
|
|
65
65
|
// Static fields
|
|
66
66
|
|
|
@@ -78,17 +78,13 @@ export namespace AppStreamCompose {
|
|
|
78
78
|
static quark(): GLib.Quark;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
/**
|
|
82
|
-
* Designated state for an icon of a given size.
|
|
83
|
-
*/
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Designated state for an icon of a given size.
|
|
87
|
-
*/
|
|
88
81
|
export namespace IconState {
|
|
89
82
|
export const $gtype: GObject.GType<IconState>;
|
|
90
83
|
}
|
|
91
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Designated state for an icon of a given size.
|
|
87
|
+
*/
|
|
92
88
|
enum IconState {
|
|
93
89
|
/**
|
|
94
90
|
* Ignore icons of this size.
|
|
@@ -107,11 +103,12 @@ export namespace AppStreamCompose {
|
|
|
107
103
|
*/
|
|
108
104
|
REMOTE_ONLY,
|
|
109
105
|
}
|
|
106
|
+
|
|
110
107
|
/**
|
|
111
108
|
* An image processing error.
|
|
112
109
|
*/
|
|
113
110
|
class ImageError extends GLib.Error {
|
|
114
|
-
static $gtype: GObject.GType<
|
|
111
|
+
static $gtype: GObject.GType<GLib.Error>;
|
|
115
112
|
|
|
116
113
|
// Static fields
|
|
117
114
|
|
|
@@ -133,17 +130,13 @@ export namespace AppStreamCompose {
|
|
|
133
130
|
static quark(): GLib.Quark;
|
|
134
131
|
}
|
|
135
132
|
|
|
136
|
-
/**
|
|
137
|
-
* File format of an image.
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* File format of an image.
|
|
142
|
-
*/
|
|
143
133
|
export namespace ImageFormat {
|
|
144
134
|
export const $gtype: GObject.GType<ImageFormat>;
|
|
145
135
|
}
|
|
146
136
|
|
|
137
|
+
/**
|
|
138
|
+
* File format of an image.
|
|
139
|
+
*/
|
|
147
140
|
enum ImageFormat {
|
|
148
141
|
/**
|
|
149
142
|
* Unknown image format.
|
|
@@ -182,6 +175,7 @@ export namespace AppStreamCompose {
|
|
|
182
175
|
*/
|
|
183
176
|
XPM,
|
|
184
177
|
}
|
|
178
|
+
|
|
185
179
|
/**
|
|
186
180
|
* Builds a global component ID from a component-id
|
|
187
181
|
* and a (usually MD5) checksum generated from the component data.
|
|
@@ -324,7 +318,6 @@ export namespace AppStreamCompose {
|
|
|
324
318
|
interface CheckMetadataEarlyFn {
|
|
325
319
|
(cres: Result, unit: Unit): void;
|
|
326
320
|
}
|
|
327
|
-
|
|
328
321
|
export namespace ComposeFlags {
|
|
329
322
|
export const $gtype: GObject.GType<ComposeFlags>;
|
|
330
323
|
}
|
|
@@ -345,17 +338,14 @@ export namespace AppStreamCompose {
|
|
|
345
338
|
NO_FINAL_CHECK,
|
|
346
339
|
NO_PARTIAL_URLS,
|
|
347
340
|
}
|
|
348
|
-
/**
|
|
349
|
-
* The flags used for loading images.
|
|
350
|
-
*/
|
|
351
341
|
|
|
352
|
-
/**
|
|
353
|
-
* The flags used for loading images.
|
|
354
|
-
*/
|
|
355
342
|
export namespace ImageLoadFlags {
|
|
356
343
|
export const $gtype: GObject.GType<ImageLoadFlags>;
|
|
357
344
|
}
|
|
358
345
|
|
|
346
|
+
/**
|
|
347
|
+
* The flags used for loading images.
|
|
348
|
+
*/
|
|
359
349
|
enum ImageLoadFlags {
|
|
360
350
|
/**
|
|
361
351
|
* No special flags set
|
|
@@ -374,17 +364,14 @@ export namespace AppStreamCompose {
|
|
|
374
364
|
*/
|
|
375
365
|
ALWAYS_RESIZE,
|
|
376
366
|
}
|
|
377
|
-
/**
|
|
378
|
-
* The flags used for saving images.
|
|
379
|
-
*/
|
|
380
367
|
|
|
381
|
-
/**
|
|
382
|
-
* The flags used for saving images.
|
|
383
|
-
*/
|
|
384
368
|
export namespace ImageSaveFlags {
|
|
385
369
|
export const $gtype: GObject.GType<ImageSaveFlags>;
|
|
386
370
|
}
|
|
387
371
|
|
|
372
|
+
/**
|
|
373
|
+
* The flags used for saving images.
|
|
374
|
+
*/
|
|
388
375
|
enum ImageSaveFlags {
|
|
389
376
|
/**
|
|
390
377
|
* No special flags set
|
|
@@ -407,6 +394,7 @@ export namespace AppStreamCompose {
|
|
|
407
394
|
*/
|
|
408
395
|
BLUR,
|
|
409
396
|
}
|
|
397
|
+
|
|
410
398
|
namespace Canvas {
|
|
411
399
|
// Signal signatures
|
|
412
400
|
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/appstreamcompose-1.0",
|
|
3
|
-
"version": "1.0.0-4.0.0-beta.
|
|
3
|
+
"version": "1.0.0-4.0.0-beta.40",
|
|
4
4
|
"description": "GJS TypeScript type definitions for AppStreamCompose-1.0, generated from library version 1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "appstreamcompose-1.0.js",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "4.0.0-beta.
|
|
35
|
-
"@girs/gio-2.0": "2.86.4-4.0.0-beta.
|
|
36
|
-
"@girs/gobject-2.0": "2.86.4-4.0.0-beta.
|
|
37
|
-
"@girs/glib-2.0": "2.86.4-4.0.0-beta.
|
|
38
|
-
"@girs/gmodule-2.0": "2.0.0-4.0.0-beta.
|
|
39
|
-
"@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.
|
|
40
|
-
"@girs/appstream-1.0": "1.1.1-4.0.0-beta.
|
|
34
|
+
"@girs/gjs": "4.0.0-beta.40",
|
|
35
|
+
"@girs/gio-2.0": "2.86.4-4.0.0-beta.40",
|
|
36
|
+
"@girs/gobject-2.0": "2.86.4-4.0.0-beta.40",
|
|
37
|
+
"@girs/glib-2.0": "2.86.4-4.0.0-beta.40",
|
|
38
|
+
"@girs/gmodule-2.0": "2.0.0-4.0.0-beta.40",
|
|
39
|
+
"@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.40",
|
|
40
|
+
"@girs/appstream-1.0": "1.1.1-4.0.0-beta.40" },
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"typescript": "*"
|
|
43
43
|
},
|