@girs/gepub-0.5 0.5.0-3.2.6 → 0.5.0-3.2.7

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/gepub-0.5)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gepub-0.5, generated from library version 0.5.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for Gepub-0.5, generated from library version 0.5.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
 
11
11
  ## Install
package/gepub-0.5.d.cts CHANGED
@@ -33,23 +33,23 @@ import type Atk from '@girs/atk-1.0';
33
33
  /**
34
34
  * The book author.
35
35
  */
36
- export const META_AUTHOR: string | null
36
+ export const META_AUTHOR: string
37
37
  /**
38
38
  * The book description.
39
39
  */
40
- export const META_DESC: string | null
40
+ export const META_DESC: string
41
41
  /**
42
42
  * The book id.
43
43
  */
44
- export const META_ID: string | null
44
+ export const META_ID: string
45
45
  /**
46
46
  * The book lang.
47
47
  */
48
- export const META_LANG: string | null
48
+ export const META_LANG: string
49
49
  /**
50
50
  * The book title.
51
51
  */
52
- export const META_TITLE: string | null
52
+ export const META_TITLE: string
53
53
  export module Doc {
54
54
 
55
55
  // Constructor properties interface
@@ -77,18 +77,18 @@ export interface Doc extends Gio.Initable {
77
77
 
78
78
  get_cover(): string | null
79
79
  get_current(): GLib.Bytes
80
- get_current_id(): string | null
80
+ get_current_id(): string
81
81
  get_current_mime(): string | null
82
82
  get_current_path(): string | null
83
83
  get_current_with_epub_uris(): GLib.Bytes
84
- get_metadata(mdata: string | null): string | null
84
+ get_metadata(mdata: string): string | null
85
85
  get_n_pages(): number
86
86
  get_page(): number
87
- get_resource(path: string | null): GLib.Bytes
88
- get_resource_by_id(id: string | null): GLib.Bytes
89
- get_resource_mime(path: string | null): string | null
90
- get_resource_mime_by_id(id: string | null): string | null
91
- get_resource_path(id: string | null): string | null
87
+ get_resource(path: string): GLib.Bytes
88
+ get_resource_by_id(id: string): GLib.Bytes
89
+ get_resource_mime(path: string): string | null
90
+ get_resource_mime_by_id(id: string): string | null
91
+ get_resource_path(id: string): string | null
92
92
  go_next(): boolean
93
93
  go_prev(): boolean
94
94
  /**
@@ -124,8 +124,8 @@ export class Doc extends GObject.Object {
124
124
  // Constructors of Gepub-0.5.Gepub.Doc
125
125
 
126
126
  constructor(config?: Doc.ConstructorProperties)
127
- constructor(path: string | null)
128
- static new(path: string | null): Doc
127
+ constructor(path: string)
128
+ static new(path: string): Doc
129
129
  _init(config?: Doc.ConstructorProperties): void
130
130
  }
131
131
 
@@ -214,7 +214,7 @@ export interface Widget extends Atk.ImplementorIface, Gtk.Buildable {
214
214
  * @param child the child widget
215
215
  * @param child_property the name of a child property installed on the class of `container`
216
216
  */
217
- child_notify(child: Gtk.Widget, child_property: string | null): void
217
+ child_notify(child: Gtk.Widget, child_property: string): void
218
218
 
219
219
  // Overloads of child_notify
220
220
 
@@ -228,7 +228,7 @@ export interface Widget extends Atk.ImplementorIface, Gtk.Buildable {
228
228
  * Also see gtk_container_child_notify().
229
229
  * @param child_property the name of a child property installed on the class of `widget’`s parent
230
230
  */
231
- child_notify(child_property: string | null): void
231
+ child_notify(child_property: string): void
232
232
  /**
233
233
  * Emits a #GtkWidget::child-notify signal for the
234
234
  * [child property][child-properties] `child_property`
@@ -239,7 +239,7 @@ export interface Widget extends Atk.ImplementorIface, Gtk.Buildable {
239
239
  * Also see gtk_container_child_notify().
240
240
  * @param child_property the name of a child property installed on the class of `widget’`s parent
241
241
  */
242
- child_notify(child_property: string | null): void
242
+ child_notify(child_property: string): void
243
243
 
244
244
  // Class property signals of Gepub-0.5.Gepub.Widget
245
245
 
package/gepub-0.5.d.ts CHANGED
@@ -35,23 +35,23 @@ export namespace Gepub {
35
35
  /**
36
36
  * The book author.
37
37
  */
38
- const META_AUTHOR: string | null
38
+ const META_AUTHOR: string
39
39
  /**
40
40
  * The book description.
41
41
  */
42
- const META_DESC: string | null
42
+ const META_DESC: string
43
43
  /**
44
44
  * The book id.
45
45
  */
46
- const META_ID: string | null
46
+ const META_ID: string
47
47
  /**
48
48
  * The book lang.
49
49
  */
50
- const META_LANG: string | null
50
+ const META_LANG: string
51
51
  /**
52
52
  * The book title.
53
53
  */
54
- const META_TITLE: string | null
54
+ const META_TITLE: string
55
55
  module Doc {
56
56
 
57
57
  // Constructor properties interface
@@ -79,18 +79,18 @@ interface Doc extends Gio.Initable {
79
79
 
80
80
  get_cover(): string | null
81
81
  get_current(): GLib.Bytes
82
- get_current_id(): string | null
82
+ get_current_id(): string
83
83
  get_current_mime(): string | null
84
84
  get_current_path(): string | null
85
85
  get_current_with_epub_uris(): GLib.Bytes
86
- get_metadata(mdata: string | null): string | null
86
+ get_metadata(mdata: string): string | null
87
87
  get_n_pages(): number
88
88
  get_page(): number
89
- get_resource(path: string | null): GLib.Bytes
90
- get_resource_by_id(id: string | null): GLib.Bytes
91
- get_resource_mime(path: string | null): string | null
92
- get_resource_mime_by_id(id: string | null): string | null
93
- get_resource_path(id: string | null): string | null
89
+ get_resource(path: string): GLib.Bytes
90
+ get_resource_by_id(id: string): GLib.Bytes
91
+ get_resource_mime(path: string): string | null
92
+ get_resource_mime_by_id(id: string): string | null
93
+ get_resource_path(id: string): string | null
94
94
  go_next(): boolean
95
95
  go_prev(): boolean
96
96
  /**
@@ -126,8 +126,8 @@ class Doc extends GObject.Object {
126
126
  // Constructors of Gepub-0.5.Gepub.Doc
127
127
 
128
128
  constructor(config?: Doc.ConstructorProperties)
129
- constructor(path: string | null)
130
- static new(path: string | null): Doc
129
+ constructor(path: string)
130
+ static new(path: string): Doc
131
131
  _init(config?: Doc.ConstructorProperties): void
132
132
  }
133
133
 
@@ -216,7 +216,7 @@ interface Widget extends Atk.ImplementorIface, Gtk.Buildable {
216
216
  * @param child the child widget
217
217
  * @param child_property the name of a child property installed on the class of `container`
218
218
  */
219
- child_notify(child: Gtk.Widget, child_property: string | null): void
219
+ child_notify(child: Gtk.Widget, child_property: string): void
220
220
 
221
221
  // Overloads of child_notify
222
222
 
@@ -230,7 +230,7 @@ interface Widget extends Atk.ImplementorIface, Gtk.Buildable {
230
230
  * Also see gtk_container_child_notify().
231
231
  * @param child_property the name of a child property installed on the class of `widget’`s parent
232
232
  */
233
- child_notify(child_property: string | null): void
233
+ child_notify(child_property: string): void
234
234
  /**
235
235
  * Emits a #GtkWidget::child-notify signal for the
236
236
  * [child property][child-properties] `child_property`
@@ -241,7 +241,7 @@ interface Widget extends Atk.ImplementorIface, Gtk.Buildable {
241
241
  * Also see gtk_container_child_notify().
242
242
  * @param child_property the name of a child property installed on the class of `widget’`s parent
243
243
  */
244
- child_notify(child_property: string | null): void
244
+ child_notify(child_property: string): void
245
245
 
246
246
  // Class property signals of Gepub-0.5.Gepub.Widget
247
247
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gepub-0.5",
3
- "version": "0.5.0-3.2.6",
3
+ "version": "0.5.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Gepub-0.5, generated from library version 0.5.0",
5
5
  "type": "module",
6
6
  "module": "gepub-0.5.js",
@@ -25,24 +25,24 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gepub-0.5.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.6",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.6",
30
- "@girs/freetype2-2.0": "^2.0.0-3.2.6",
31
- "@girs/gdk-3.0": "^3.24.38-3.2.6",
32
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.6",
33
- "@girs/gio-2.0": "^2.78.0-3.2.6",
34
- "@girs/gjs": "^3.2.6",
35
- "@girs/glib-2.0": "^2.78.0-3.2.6",
36
- "@girs/gmodule-2.0": "^2.0.0-3.2.6",
37
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
38
- "@girs/gtk-3.0": "^3.24.38-3.2.6",
39
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.6",
40
- "@girs/javascriptcore-4.0": "^2.42.1-3.2.6",
41
- "@girs/libxml2-2.0": "^2.0.0-3.2.6",
42
- "@girs/pango-1.0": "^1.51.0-3.2.6",
43
- "@girs/soup-2.4": "^2.74.3-3.2.6",
44
- "@girs/webkit2-4.0": "^2.42.1-3.2.6",
45
- "@girs/xlib-2.0": "^2.0.0-3.2.6"
28
+ "@girs/atk-1.0": "^2.50.0-3.2.7",
29
+ "@girs/cairo-1.0": "^1.0.0-3.2.7",
30
+ "@girs/freetype2-2.0": "^2.0.0-3.2.7",
31
+ "@girs/gdk-3.0": "^3.24.38-3.2.7",
32
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
33
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
34
+ "@girs/gjs": "^3.2.7",
35
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
36
+ "@girs/gmodule-2.0": "^2.0.0-3.2.7",
37
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
38
+ "@girs/gtk-3.0": "^3.24.38-3.2.7",
39
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
40
+ "@girs/javascriptcore-4.0": "^2.42.3-3.2.7",
41
+ "@girs/libxml2-2.0": "^2.0.0-3.2.7",
42
+ "@girs/pango-1.0": "^1.51.0-3.2.7",
43
+ "@girs/soup-2.4": "^2.74.3-3.2.7",
44
+ "@girs/webkit2-4.0": "^2.42.3-3.2.7",
45
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
46
46
  },
47
47
  "devDependencies": {
48
48
  "typescript": "*"