@girs/modulemd-2.0 2.0.0-4.0.0-beta.38 → 2.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/modulemd-2.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Modulemd-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.38.
8
+ GJS TypeScript type definitions for Modulemd-2.0, generated from library version 2.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
 
package/modulemd-2.0.d.ts CHANGED
@@ -18,10 +18,6 @@ export namespace Modulemd {
18
18
  * Modulemd-2.0
19
19
  */
20
20
 
21
- export namespace CompressionTypeEnum {
22
- export const $gtype: GObject.GType<CompressionTypeEnum>;
23
- }
24
-
25
21
  enum CompressionTypeEnum {
26
22
  /**
27
23
  * Zstandard compression; since 2.15
@@ -61,10 +57,6 @@ export namespace Modulemd {
61
57
  SENTINEL,
62
58
  }
63
59
 
64
- export namespace DefaultsVersionEnum {
65
- export const $gtype: GObject.GType<DefaultsVersionEnum>;
66
- }
67
-
68
60
  enum DefaultsVersionEnum {
69
61
  /**
70
62
  * Represents an error handling mdversion.
@@ -85,8 +77,9 @@ export namespace Modulemd {
85
77
  */
86
78
  LATEST,
87
79
  }
80
+
88
81
  class Error extends GLib.Error {
89
- static $gtype: GObject.GType<Error>;
82
+ static $gtype: GObject.GType<GLib.Error>;
90
83
 
91
84
  // Static fields
92
85
 
@@ -136,11 +129,6 @@ export namespace Modulemd {
136
129
  // Constructors
137
130
 
138
131
  constructor(options: { message: string; code: number });
139
- _init(...args: any[]): void;
140
- }
141
-
142
- export namespace ErrorEnum {
143
- export const $gtype: GObject.GType<ErrorEnum>;
144
132
  }
145
133
 
146
134
  enum ErrorEnum {
@@ -183,10 +171,6 @@ export namespace Modulemd {
183
171
  NOT_IMPLEMENTED,
184
172
  }
185
173
 
186
- export namespace ModuleStreamVersionEnum {
187
- export const $gtype: GObject.GType<ModuleStreamVersionEnum>;
188
- }
189
-
190
174
  enum ModuleStreamVersionEnum {
191
175
  /**
192
176
  * Represents an error handling module stream
@@ -214,10 +198,6 @@ export namespace Modulemd {
214
198
  LATEST,
215
199
  }
216
200
 
217
- export namespace ObsoletesVersionEnum {
218
- export const $gtype: GObject.GType<ObsoletesVersionEnum>;
219
- }
220
-
221
201
  enum ObsoletesVersionEnum {
222
202
  /**
223
203
  * Represents an error handling mdversion.
@@ -239,10 +219,6 @@ export namespace Modulemd {
239
219
  LATEST,
240
220
  }
241
221
 
242
- export namespace PackagerVersionEnum {
243
- export const $gtype: GObject.GType<PackagerVersionEnum>;
244
- }
245
-
246
222
  enum PackagerVersionEnum {
247
223
  /**
248
224
  * Represents an error handling module stream
@@ -269,8 +245,9 @@ export namespace Modulemd {
269
245
  */
270
246
  LATEST,
271
247
  }
248
+
272
249
  class YamlError extends GLib.Error {
273
- static $gtype: GObject.GType<YamlError>;
250
+ static $gtype: GObject.GType<GLib.Error>;
274
251
 
275
252
  // Static fields
276
253
 
@@ -321,11 +298,6 @@ export namespace Modulemd {
321
298
  // Constructors
322
299
 
323
300
  constructor(options: { message: string; code: number });
324
- _init(...args: any[]): void;
325
- }
326
-
327
- export namespace YamlErrorEnum {
328
- export const $gtype: GObject.GType<YamlErrorEnum>;
329
301
  }
330
302
 
331
303
  enum YamlErrorEnum {
@@ -371,6 +343,7 @@ export namespace Modulemd {
371
343
  */
372
344
  INCONSISTENT,
373
345
  }
346
+
374
347
  /**
375
348
  * The ModuleStream v3 specification defines the maximum lenth of the context
376
349
  * field.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/modulemd-2.0",
3
- "version": "2.0.0-4.0.0-beta.38",
3
+ "version": "2.0.0-4.0.0-beta.40",
4
4
  "description": "GJS TypeScript type definitions for Modulemd-2.0, generated from library version 2.0.0",
5
5
  "type": "module",
6
6
  "module": "modulemd-2.0.js",
@@ -31,9 +31,9 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "4.0.0-beta.38",
35
- "@girs/gobject-2.0": "2.86.0-4.0.0-beta.38",
36
- "@girs/glib-2.0": "2.86.0-4.0.0-beta.38" },
34
+ "@girs/gjs": "4.0.0-beta.40",
35
+ "@girs/gobject-2.0": "2.86.4-4.0.0-beta.40",
36
+ "@girs/glib-2.0": "2.86.4-4.0.0-beta.40" },
37
37
  "devDependencies": {
38
38
  "typescript": "*"
39
39
  },