@girs/appstreamcompose-1.0 1.0.0-4.0.0-beta.38 → 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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/appstreamcompose-1.0)
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.38.
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<CanvasError>;
29
+ static $gtype: GObject.GType<GLib.Error>;
30
30
 
31
31
  // Static fields
32
32
 
@@ -50,7 +50,6 @@ export namespace AppStreamCompose {
50
50
  // Constructors
51
51
 
52
52
  constructor(options: { message: string; code: number });
53
- _init(...args: any[]): void;
54
53
 
55
54
  // Static methods
56
55
 
@@ -61,7 +60,7 @@ export namespace AppStreamCompose {
61
60
  * A metadata composition error.
62
61
  */
63
62
  class ComposeError extends GLib.Error {
64
- static $gtype: GObject.GType<ComposeError>;
63
+ static $gtype: GObject.GType<GLib.Error>;
65
64
 
66
65
  // Static fields
67
66
 
@@ -73,24 +72,19 @@ export namespace AppStreamCompose {
73
72
  // Constructors
74
73
 
75
74
  constructor(options: { message: string; code: number });
76
- _init(...args: any[]): void;
77
75
 
78
76
  // Static methods
79
77
 
80
78
  static quark(): GLib.Quark;
81
79
  }
82
80
 
83
- /**
84
- * Designated state for an icon of a given size.
85
- */
86
-
87
- /**
88
- * Designated state for an icon of a given size.
89
- */
90
81
  export namespace IconState {
91
82
  export const $gtype: GObject.GType<IconState>;
92
83
  }
93
84
 
85
+ /**
86
+ * Designated state for an icon of a given size.
87
+ */
94
88
  enum IconState {
95
89
  /**
96
90
  * Ignore icons of this size.
@@ -109,11 +103,12 @@ export namespace AppStreamCompose {
109
103
  */
110
104
  REMOTE_ONLY,
111
105
  }
106
+
112
107
  /**
113
108
  * An image processing error.
114
109
  */
115
110
  class ImageError extends GLib.Error {
116
- static $gtype: GObject.GType<ImageError>;
111
+ static $gtype: GObject.GType<GLib.Error>;
117
112
 
118
113
  // Static fields
119
114
 
@@ -129,24 +124,19 @@ export namespace AppStreamCompose {
129
124
  // Constructors
130
125
 
131
126
  constructor(options: { message: string; code: number });
132
- _init(...args: any[]): void;
133
127
 
134
128
  // Static methods
135
129
 
136
130
  static quark(): GLib.Quark;
137
131
  }
138
132
 
139
- /**
140
- * File format of an image.
141
- */
142
-
143
- /**
144
- * File format of an image.
145
- */
146
133
  export namespace ImageFormat {
147
134
  export const $gtype: GObject.GType<ImageFormat>;
148
135
  }
149
136
 
137
+ /**
138
+ * File format of an image.
139
+ */
150
140
  enum ImageFormat {
151
141
  /**
152
142
  * Unknown image format.
@@ -185,6 +175,7 @@ export namespace AppStreamCompose {
185
175
  */
186
176
  XPM,
187
177
  }
178
+
188
179
  /**
189
180
  * Builds a global component ID from a component-id
190
181
  * and a (usually MD5) checksum generated from the component data.
@@ -327,7 +318,6 @@ export namespace AppStreamCompose {
327
318
  interface CheckMetadataEarlyFn {
328
319
  (cres: Result, unit: Unit): void;
329
320
  }
330
-
331
321
  export namespace ComposeFlags {
332
322
  export const $gtype: GObject.GType<ComposeFlags>;
333
323
  }
@@ -348,17 +338,14 @@ export namespace AppStreamCompose {
348
338
  NO_FINAL_CHECK,
349
339
  NO_PARTIAL_URLS,
350
340
  }
351
- /**
352
- * The flags used for loading images.
353
- */
354
341
 
355
- /**
356
- * The flags used for loading images.
357
- */
358
342
  export namespace ImageLoadFlags {
359
343
  export const $gtype: GObject.GType<ImageLoadFlags>;
360
344
  }
361
345
 
346
+ /**
347
+ * The flags used for loading images.
348
+ */
362
349
  enum ImageLoadFlags {
363
350
  /**
364
351
  * No special flags set
@@ -377,17 +364,14 @@ export namespace AppStreamCompose {
377
364
  */
378
365
  ALWAYS_RESIZE,
379
366
  }
380
- /**
381
- * The flags used for saving images.
382
- */
383
367
 
384
- /**
385
- * The flags used for saving images.
386
- */
387
368
  export namespace ImageSaveFlags {
388
369
  export const $gtype: GObject.GType<ImageSaveFlags>;
389
370
  }
390
371
 
372
+ /**
373
+ * The flags used for saving images.
374
+ */
391
375
  enum ImageSaveFlags {
392
376
  /**
393
377
  * No special flags set
@@ -410,6 +394,7 @@ export namespace AppStreamCompose {
410
394
  */
411
395
  BLUR,
412
396
  }
397
+
413
398
  namespace Canvas {
414
399
  // Signal signatures
415
400
  interface SignalSignatures extends GObject.Object.SignalSignatures {}
@@ -1489,7 +1474,6 @@ export namespace AppStreamCompose {
1489
1474
  // Constructors
1490
1475
 
1491
1476
  constructor(properties?: Partial<{}>);
1492
- _init(...args: any[]): void;
1493
1477
 
1494
1478
  // Methods
1495
1479
 
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.38",
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.38",
35
- "@girs/gio-2.0": "2.86.0-4.0.0-beta.38",
36
- "@girs/gobject-2.0": "2.86.0-4.0.0-beta.38",
37
- "@girs/glib-2.0": "2.86.0-4.0.0-beta.38",
38
- "@girs/gmodule-2.0": "2.0.0-4.0.0-beta.38",
39
- "@girs/gdkpixbuf-2.0": "2.0.0-4.0.0-beta.38",
40
- "@girs/appstream-1.0": "1.1.1-4.0.0-beta.38" },
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
  },