@girs/modulemd-2.0 2.0.0-4.0.0-beta.39 → 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.39.
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
 
@@ -138,10 +131,6 @@ export namespace Modulemd {
138
131
  constructor(options: { message: string; code: number });
139
132
  }
140
133
 
141
- export namespace ErrorEnum {
142
- export const $gtype: GObject.GType<ErrorEnum>;
143
- }
144
-
145
134
  enum ErrorEnum {
146
135
  /**
147
136
  * Represents an error encountered while upgrading the
@@ -182,10 +171,6 @@ export namespace Modulemd {
182
171
  NOT_IMPLEMENTED,
183
172
  }
184
173
 
185
- export namespace ModuleStreamVersionEnum {
186
- export const $gtype: GObject.GType<ModuleStreamVersionEnum>;
187
- }
188
-
189
174
  enum ModuleStreamVersionEnum {
190
175
  /**
191
176
  * Represents an error handling module stream
@@ -213,10 +198,6 @@ export namespace Modulemd {
213
198
  LATEST,
214
199
  }
215
200
 
216
- export namespace ObsoletesVersionEnum {
217
- export const $gtype: GObject.GType<ObsoletesVersionEnum>;
218
- }
219
-
220
201
  enum ObsoletesVersionEnum {
221
202
  /**
222
203
  * Represents an error handling mdversion.
@@ -238,10 +219,6 @@ export namespace Modulemd {
238
219
  LATEST,
239
220
  }
240
221
 
241
- export namespace PackagerVersionEnum {
242
- export const $gtype: GObject.GType<PackagerVersionEnum>;
243
- }
244
-
245
222
  enum PackagerVersionEnum {
246
223
  /**
247
224
  * Represents an error handling module stream
@@ -268,8 +245,9 @@ export namespace Modulemd {
268
245
  */
269
246
  LATEST,
270
247
  }
248
+
271
249
  class YamlError extends GLib.Error {
272
- static $gtype: GObject.GType<YamlError>;
250
+ static $gtype: GObject.GType<GLib.Error>;
273
251
 
274
252
  // Static fields
275
253
 
@@ -322,10 +300,6 @@ export namespace Modulemd {
322
300
  constructor(options: { message: string; code: number });
323
301
  }
324
302
 
325
- export namespace YamlErrorEnum {
326
- export const $gtype: GObject.GType<YamlErrorEnum>;
327
- }
328
-
329
303
  enum YamlErrorEnum {
330
304
  /**
331
305
  * Represents an error encountered while opening a
@@ -369,6 +343,7 @@ export namespace Modulemd {
369
343
  */
370
344
  INCONSISTENT,
371
345
  }
346
+
372
347
  /**
373
348
  * The ModuleStream v3 specification defines the maximum lenth of the context
374
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.39",
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.39",
35
- "@girs/gobject-2.0": "2.86.4-4.0.0-beta.39",
36
- "@girs/glib-2.0": "2.86.4-4.0.0-beta.39" },
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
  },