@girs/gegl-0.3 0.3.35-3.2.6 → 0.3.35-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/gegl-0.3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
  GEGL (Generic Graphics Library) is a data flow based image processing framework, providing floating point processing and non-destructive image processing capabilities to GNU Image Manipulation Program and other projects (imgflo, GNOME Photos, gcut, iconographer, …)
11
11
 
package/gegl-0.3.d.cts CHANGED
@@ -177,7 +177,7 @@ export function config(): Config
177
177
  * @param rel_dim relative dimension to scale rel suffixed values by
178
178
  * @param path_root path in filesystem to use as relative root
179
179
  */
180
- export function create_chain(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string | null): void
180
+ export function create_chain(ops: string, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string): void
181
181
  /**
182
182
  * Create a node chain from argv style list of op data.
183
183
  * @param ops an argv style, NULL terminated array of arguments
@@ -187,7 +187,7 @@ export function create_chain(ops: string | null, op_start: Node, op_end: Node, t
187
187
  * @param rel_dim relative dimension to scale rel suffixed values by
188
188
  * @param path_root path in filesystem to use as relative root
189
189
  */
190
- export function create_chain_argv(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string | null): void
190
+ export function create_chain_argv(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string): void
191
191
  /**
192
192
  * Call this function when you're done using GEGL. It will clean up
193
193
  * caches and write/dump debug information if the correct debug flags
@@ -200,7 +200,7 @@ export function exit(): void
200
200
  * @param format_name A Babl format name, e.g. "RGBA float"
201
201
  * @returns the format pointer
202
202
  */
203
- export function format(format_name: string | null): any | null
203
+ export function format(format_name: string): any | null
204
204
  export function format_get_name(format: any): string | null
205
205
  /**
206
206
  * This function fetches the version of the GEGL library being used by
@@ -219,7 +219,7 @@ export function graph_dump_outputs(node: Node): void
219
219
  * @param roi The request rectangle
220
220
  */
221
221
  export function graph_dump_request(node: Node, roi: Rectangle): void
222
- export function has_operation(operation_type: string | null): boolean
222
+ export function has_operation(operation_type: string): boolean
223
223
  /**
224
224
  * Call this function before using any other GEGL functions. It will
225
225
  * initialize everything needed to operate GEGL and parses some
@@ -239,7 +239,7 @@ export function list_operations(): string[]
239
239
  * Load all gegl modules found in the given directory.
240
240
  * @param path the directory to load modules from
241
241
  */
242
- export function load_module_directory(path: string | null): void
242
+ export function load_module_directory(path: string): void
243
243
  /**
244
244
  * Creates a new #GParamSpec instance specifying a #GeglAudioFragment property.
245
245
  * @param name canonical name of the property specified
@@ -248,7 +248,7 @@ export function load_module_directory(path: string | null): void
248
248
  * @param flags flags for the property specified
249
249
  * @returns a newly created parameter specification
250
250
  */
251
- export function param_spec_audio_fragment(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
251
+ export function param_spec_audio_fragment(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
252
252
  /**
253
253
  * Creates a new #GParamSpec instance specifying a #GeglColor property.
254
254
  * @param name canonical name of the property specified
@@ -258,7 +258,7 @@ export function param_spec_audio_fragment(name: string | null, nick: string | nu
258
258
  * @param flags flags for the property specified
259
259
  * @returns a newly created parameter specification
260
260
  */
261
- export function param_spec_color(name: string | null, nick: string | null, blurb: string | null, default_color: Color, flags: GObject.ParamFlags): GObject.ParamSpec
261
+ export function param_spec_color(name: string, nick: string, blurb: string, default_color: Color, flags: GObject.ParamFlags): GObject.ParamSpec
262
262
  /**
263
263
  * Creates a new #GParamSpec instance specifying a #GeglColor property.
264
264
  * @param name canonical name of the property specified
@@ -268,7 +268,7 @@ export function param_spec_color(name: string | null, nick: string | null, blurb
268
268
  * @param flags flags for the property specified
269
269
  * @returns a newly created parameter specification
270
270
  */
271
- export function param_spec_color_from_string(name: string | null, nick: string | null, blurb: string | null, default_color_string: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
271
+ export function param_spec_color_from_string(name: string, nick: string, blurb: string, default_color_string: string, flags: GObject.ParamFlags): GObject.ParamSpec
272
272
  /**
273
273
  * Get the default color value of the param spec
274
274
  * @param self a #GeglColor #GParamSpec
@@ -284,7 +284,7 @@ export function param_spec_color_get_default(self: GObject.ParamSpec): Color
284
284
  * @param flags flags for the property specified
285
285
  * @returns a newly created parameter specification
286
286
  */
287
- export function param_spec_curve(name: string | null, nick: string | null, blurb: string | null, default_curve: Curve, flags: GObject.ParamFlags): GObject.ParamSpec
287
+ export function param_spec_curve(name: string, nick: string, blurb: string, default_curve: Curve, flags: GObject.ParamFlags): GObject.ParamSpec
288
288
  /**
289
289
  * Creates a new #GeglParamSpecDouble instance.
290
290
  * @param name canonical name of the property specified
@@ -299,7 +299,7 @@ export function param_spec_curve(name: string | null, nick: string | null, blurb
299
299
  * @param flags flags for the property specified
300
300
  * @returns a newly created parameter specification
301
301
  */
302
- export function param_spec_double(name: string | null, nick: string | null, blurb: string | null, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
302
+ export function param_spec_double(name: string, nick: string, blurb: string, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
303
303
  /**
304
304
  * Creates a new #GeglParamSpecEnum instance.
305
305
  * @param name canonical name of the property specified
@@ -310,7 +310,7 @@ export function param_spec_double(name: string | null, nick: string | null, blur
310
310
  * @param flags flags for the property specified
311
311
  * @returns a newly created parameter specification
312
312
  */
313
- export function param_spec_enum(name: string | null, nick: string | null, blurb: string | null, enum_type: GObject.GType, default_value: number, flags: GObject.ParamFlags): GObject.ParamSpec
313
+ export function param_spec_enum(name: string, nick: string, blurb: string, enum_type: GObject.GType, default_value: number, flags: GObject.ParamFlags): GObject.ParamSpec
314
314
  /**
315
315
  * Creates a new #GeglParamSpecFilePath instance.
316
316
  * @param name canonical name of the property specified
@@ -322,7 +322,7 @@ export function param_spec_enum(name: string | null, nick: string | null, blurb:
322
322
  * @param flags flags for the property specified
323
323
  * @returns a newly created parameter specification
324
324
  */
325
- export function param_spec_file_path(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
325
+ export function param_spec_file_path(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
326
326
  /**
327
327
  * Creates a new #GeglParamSpecFormat instance specifying a Babl format.
328
328
  * @param name canonical name of the property specified
@@ -331,8 +331,8 @@ export function param_spec_file_path(name: string | null, nick: string | null, b
331
331
  * @param flags flags for the property specified
332
332
  * @returns a newly created parameter specification
333
333
  */
334
- export function param_spec_format(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
335
- export function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string | null): string | null
334
+ export function param_spec_format(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
335
+ export function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string): string
336
336
  /**
337
337
  * Creates a new #GeglParamSpecInt instance.
338
338
  * @param name canonical name of the property specified
@@ -347,7 +347,7 @@ export function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name:
347
347
  * @param flags flags for the property specified
348
348
  * @returns a newly created parameter specification
349
349
  */
350
- export function param_spec_int(name: string | null, nick: string | null, blurb: string | null, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
350
+ export function param_spec_int(name: string, nick: string, blurb: string, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
351
351
  /**
352
352
  * Creates a new #GParamSpec instance specifying a #GeglPath property.
353
353
  * @param name canonical name of the property specified
@@ -357,7 +357,7 @@ export function param_spec_int(name: string | null, nick: string | null, blurb:
357
357
  * @param flags flags for the property specified
358
358
  * @returns a newly created parameter specification
359
359
  */
360
- export function param_spec_path(name: string | null, nick: string | null, blurb: string | null, default_path: Path, flags: GObject.ParamFlags): GObject.ParamSpec
360
+ export function param_spec_path(name: string, nick: string, blurb: string, default_path: Path, flags: GObject.ParamFlags): GObject.ParamSpec
361
361
  /**
362
362
  * Creates a new #GeglParamSpecSeed instance specifying an integer random seed.
363
363
  * @param name canonical name of the property specified
@@ -366,8 +366,8 @@ export function param_spec_path(name: string | null, nick: string | null, blurb:
366
366
  * @param flags flags for the property specified
367
367
  * @returns a newly created parameter specification
368
368
  */
369
- export function param_spec_seed(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
370
- export function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string | null, value: string | null): void
369
+ export function param_spec_seed(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
370
+ export function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string, value: string): void
371
371
  /**
372
372
  * Creates a new #GeglParamSpecString instance.
373
373
  * @param name canonical name of the property specified
@@ -379,7 +379,7 @@ export function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name:
379
379
  * @param flags flags for the property specified
380
380
  * @returns a newly created parameter specification
381
381
  */
382
- export function param_spec_string(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
382
+ export function param_spec_string(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
383
383
  /**
384
384
  * Creates a new #GeglParamSpecUri instance.
385
385
  * @param name canonical name of the property specified
@@ -391,7 +391,7 @@ export function param_spec_string(name: string | null, nick: string | null, blur
391
391
  * @param flags flags for the property specified
392
392
  * @returns a newly created parameter specification
393
393
  */
394
- export function param_spec_uri(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
394
+ export function param_spec_uri(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
395
395
  /**
396
396
  * Returns a GeglRectangle that represents an infininte plane.
397
397
  */
@@ -401,7 +401,7 @@ export function rectangle_infinite_plane(): Rectangle
401
401
  * by #gegl_stats().
402
402
  */
403
403
  export function reset_stats(): void
404
- export function serialize(start: Node, end: Node, basepath: string | null, serialize_flags: SerializeFlag): string | null
404
+ export function serialize(start: Node, end: Node, basepath: string, serialize_flags: SerializeFlag): string | null
405
405
  /**
406
406
  * Returns a GeglStats object with properties that can be read to monitor
407
407
  * GEGL statistics.
@@ -639,7 +639,7 @@ export interface Buffer {
639
639
  * @param format_name the format of the input data.
640
640
  * @param src pixel data to write to `buffer`.
641
641
  */
642
- set(rect: Rectangle, format_name: string | null, src: Uint8Array): void
642
+ set(rect: Rectangle, format_name: string, src: Uint8Array): void
643
643
  /**
644
644
  * This function makes sure GeglBuffer and underlying code is aware of changes
645
645
  * being made to the linear buffer. If the request was not a compatible one
@@ -665,7 +665,7 @@ export interface Buffer {
665
665
  * @param path the path where the gegl buffer will be saved, any writable GIO uri is valid.
666
666
  * @param roi the region of interest to write, this is the tiles that will be collected and written to disk.
667
667
  */
668
- save(path: string | null, roi: Rectangle): void
668
+ save(path: string, roi: Rectangle): void
669
669
  /**
670
670
  * Changes the size and position of the abyss rectangle of a buffer.
671
671
  *
@@ -708,7 +708,7 @@ export interface Buffer {
708
708
  * @param c_handler c function callback
709
709
  * @returns an handle like g_signal_connect.
710
710
  */
711
- signal_connect(detailed_signal: string | null, c_handler: GObject.Callback): number
711
+ signal_connect(detailed_signal: string, c_handler: GObject.Callback): number
712
712
 
713
713
  // Own signals of Gegl-0.3.Gegl.Buffer
714
714
 
@@ -794,7 +794,7 @@ export class Buffer extends TileHandler {
794
794
  * @param width width of the buffer's extent
795
795
  * @param height height of the buffer's extent
796
796
  */
797
- constructor(format_name: string | null, x: number, y: number, width: number, height: number)
797
+ constructor(format_name: string, x: number, y: number, width: number, height: number)
798
798
  /**
799
799
  * Create a new GeglBuffer with the given format and dimensions.
800
800
  * @constructor
@@ -804,7 +804,7 @@ export class Buffer extends TileHandler {
804
804
  * @param width width of the buffer's extent
805
805
  * @param height height of the buffer's extent
806
806
  */
807
- static new(format_name: string | null, x: number, y: number, width: number, height: number): Buffer
807
+ static new(format_name: string, x: number, y: number, width: number, height: number): Buffer
808
808
  /**
809
809
  * Create a new GeglBuffer from a backend, if NULL is passed in the extent of
810
810
  * the buffer will be inherited from the extent of the backend.
@@ -823,7 +823,7 @@ export class Buffer extends TileHandler {
823
823
  * @param path the path to a gegl buffer on disk.
824
824
  * @returns a #GeglBuffer object.
825
825
  */
826
- static load(path: string | null): Buffer
826
+ static load(path: string): Buffer
827
827
  /**
828
828
  * Open an existing on-disk GeglBuffer, this buffer is opened in a monitored
829
829
  * state so multiple instances of gegl can share the same buffer. Sets on
@@ -831,7 +831,7 @@ export class Buffer extends TileHandler {
831
831
  * @param path the path to a gegl buffer on disk.
832
832
  * @returns a GeglBuffer object.
833
833
  */
834
- static open(path: string | null): Buffer
834
+ static open(path: string): Buffer
835
835
  }
836
836
 
837
837
  export module Color {
@@ -919,7 +919,7 @@ export class Color extends GObject.Object {
919
919
  * @constructor
920
920
  * @param string a string describing the color to be created.
921
921
  */
922
- constructor(string: string | null)
922
+ constructor(string: string)
923
923
  /**
924
924
  * Creates a new #GeglColor.
925
925
  *
@@ -927,7 +927,7 @@ export class Color extends GObject.Object {
927
927
  * @constructor
928
928
  * @param string a string describing the color to be created.
929
929
  */
930
- static new(string: string | null): Color
930
+ static new(string: string): Color
931
931
  _init(config?: Color.ConstructorProperties): void
932
932
  }
933
933
 
@@ -1226,7 +1226,7 @@ export interface Node {
1226
1226
  * @param source the node producing data we want to connect.
1227
1227
  * @param output_pad_name the output pad we want to use on the source.
1228
1228
  */
1229
- connect_from(input_pad_name: string | null, source: Node, output_pad_name: string | null): boolean
1229
+ connect_from(input_pad_name: string, source: Node, output_pad_name: string): boolean
1230
1230
  /**
1231
1231
  * Makes a connection between the pads of two nodes.
1232
1232
  *
@@ -1235,7 +1235,7 @@ export interface Node {
1235
1235
  * @param sink the node we're connecting an input to
1236
1236
  * @param input_pad_name the name of the input pad we are connecting to
1237
1237
  */
1238
- connect_to(output_pad_name: string | null, sink: Node, input_pad_name: string | null): boolean
1238
+ connect_to(output_pad_name: string, sink: Node, input_pad_name: string): boolean
1239
1239
  /**
1240
1240
  * Creates a new processing node that performs the specified operation.
1241
1241
  * All properties of the operation will have their default values. This
@@ -1245,7 +1245,7 @@ export interface Node {
1245
1245
  * @param operation the type of node to create.
1246
1246
  * @returns a newly created node. The node will be destroyed by the parent. Calling g_object_unref on a node will cause the node to be dropped by the parent. (You may also add additional references using g_object_ref/g_object_unref, but in general relying on the parents reference counting is easiest.)
1247
1247
  */
1248
- create_child(operation: string | null): Node
1248
+ create_child(operation: string): Node
1249
1249
  /**
1250
1250
  * Performs hit detection by returning the node providing data at a given
1251
1251
  * coordinate pair. Currently operates only on bounding boxes and not
@@ -1261,8 +1261,8 @@ export interface Node {
1261
1261
  * Returns TRUE if a connection was broken.
1262
1262
  * @param input_pad the input pad to disconnect.
1263
1263
  */
1264
- disconnect(input_pad: string | null): boolean
1265
- find_property(property_name: string | null): GObject.ParamSpec
1264
+ disconnect(input_pad: string): boolean
1265
+ find_property(property_name: string): GObject.ParamSpec
1266
1266
  get_children(): Node[]
1267
1267
  /**
1268
1268
  * Retrieve which pads on which nodes are connected to a named output_pad,
@@ -1273,7 +1273,7 @@ export interface Node {
1273
1273
  * Returns the number of consumers connected to this output_pad.
1274
1274
  * @param output_pad the output pad we want to know who uses.
1275
1275
  */
1276
- get_consumers(output_pad: string | null): [ /* returnType */ number, /* nodes */ Node[], /* pads */ string[] ]
1276
+ get_consumers(output_pad: string): [ /* returnType */ number, /* nodes */ Node[], /* pads */ string[] ]
1277
1277
  get_gegl_operation(): Operation | null
1278
1278
  /**
1279
1279
  * Proxies are used to route between nodes of a subgraph contained within
@@ -1281,34 +1281,34 @@ export interface Node {
1281
1281
  * @param pad_name the name of the pad.
1282
1282
  * @returns Returns an input proxy for the named pad. If no input proxy exists with this name a new one will be created.
1283
1283
  */
1284
- get_input_proxy(pad_name: string | null): Node
1285
- get_operation(): string | null
1284
+ get_input_proxy(pad_name: string): Node
1285
+ get_operation(): string
1286
1286
  /**
1287
1287
  * Proxies are used to route between nodes of a subgraph contained within
1288
1288
  * a node.
1289
1289
  * @param pad_name the name of the pad.
1290
1290
  * @returns Returns a output proxy for the named pad. If no output proxy exists with this name a new one will be created.
1291
1291
  */
1292
- get_output_proxy(pad_name: string | null): Node
1292
+ get_output_proxy(pad_name: string): Node
1293
1293
  /**
1294
1294
  * Returns a GeglNode that keeps a reference on a child.
1295
1295
  * @returns the parent of a node or NULL.
1296
1296
  */
1297
1297
  get_parent(): Node
1298
1298
  get_passthrough(): boolean
1299
- get_producer(input_pad_name: string | null, output_pad_name: string | null): Node
1299
+ get_producer(input_pad_name: string, output_pad_name: string | null): Node
1300
1300
  /**
1301
1301
  * Returns TRUE if the node has a pad with the specified name
1302
1302
  * @param pad_name the pad name we are looking for
1303
1303
  */
1304
- has_pad(pad_name: string | null): boolean
1304
+ has_pad(pad_name: string): boolean
1305
1305
  /**
1306
1306
  * Returns the position and dimensions of a rectangle spanning the area
1307
1307
  * defined by a node.
1308
1308
  * @returns pointer a #GeglRectangle
1309
1309
  */
1310
1310
  get_bounding_box(): Rectangle
1311
- get_property(property_name: string | null): any
1311
+ get_property(property_name: string): any
1312
1312
 
1313
1313
  // Overloads of get_property
1314
1314
 
@@ -1332,7 +1332,7 @@ export interface Node {
1332
1332
  * @param property_name the name of the property to get
1333
1333
  * @param value return location for the property value
1334
1334
  */
1335
- get_property(property_name: string | null, value: any): void
1335
+ get_property(property_name: string, value: any): void
1336
1336
  /**
1337
1337
  * Synthetic sugar for linking the "output" pad of `source` to the "input"
1338
1338
  * pad of `sink`.
@@ -1403,7 +1403,7 @@ export interface Node {
1403
1403
  * @param property_name the name of the property to set
1404
1404
  * @param value a GValue containing the value to be set in the property.
1405
1405
  */
1406
- set_property(property_name: string | null, value: any): void
1406
+ set_property(property_name: string, value: any): void
1407
1407
  /**
1408
1408
  * Returns a freshly allocated \0 terminated string containing a XML
1409
1409
  * serialization of the composition produced by a node (and thus also
@@ -1413,7 +1413,7 @@ export interface Node {
1413
1413
  * for the serialization.
1414
1414
  * @param path_root filesystem path to construct relative paths from.
1415
1415
  */
1416
- to_xml(path_root: string | null): string | null
1416
+ to_xml(path_root: string): string | null
1417
1417
  /**
1418
1418
  * Returns a freshly allocated \0 terminated string containing a XML
1419
1419
  * serialization of a segment of a graph from `head` to `tail` nodes.
@@ -1422,7 +1422,7 @@ export interface Node {
1422
1422
  * @param path_root filesystem path to construct relative paths from.
1423
1423
  * @returns XML serialization of a graph segment.
1424
1424
  */
1425
- to_xml_full(tail: Node | null, path_root: string | null): string | null
1425
+ to_xml_full(tail: Node | null, path_root: string): string | null
1426
1426
 
1427
1427
  // Own signals of Gegl-0.3.Gegl.Node
1428
1428
 
@@ -1492,8 +1492,8 @@ export class Node extends GObject.Object {
1492
1492
  * @param path the path to a file on the local file system to be parsed.
1493
1493
  * @returns a GeglNode containing the parsed XML as a subgraph.
1494
1494
  */
1495
- static new_from_file(path: string | null): Node
1496
- static new_from_serialized(chaindata: string | null, path_root: string | null): Node
1495
+ static new_from_file(path: string): Node
1496
+ static new_from_serialized(chaindata: string, path_root: string): Node
1497
1497
  /**
1498
1498
  * The #GeglNode returned contains the graph described by the tree of stacks
1499
1499
  * in the XML document. The tree is connected to the "output" pad of the
@@ -1503,7 +1503,7 @@ export class Node extends GObject.Object {
1503
1503
  * @param path_root a file system path that relative paths in the XML will be resolved in relation to.
1504
1504
  * @returns a GeglNode containing the parsed XML as a subgraph.
1505
1505
  */
1506
- static new_from_xml(xmldata: string | null, path_root: string | null): Node
1506
+ static new_from_xml(xmldata: string, path_root: string): Node
1507
1507
  _init(config?: Node.ConstructorProperties): void
1508
1508
  }
1509
1509
 
@@ -1537,13 +1537,13 @@ export class Operation extends GObject.Object {
1537
1537
 
1538
1538
  constructor(config?: Operation.ConstructorProperties)
1539
1539
  _init(config?: Operation.ConstructorProperties): void
1540
- static find_property(operation_type: string | null, property_name: string | null): GObject.ParamSpec
1541
- static get_key(operation_type: string | null, key_name: string | null): string | null
1542
- static get_op_version(op_name: string | null): string | null
1543
- static get_property_key(operation_type: string | null, property_name: string | null, property_key_name: string | null): string | null
1544
- static list_keys(operation_type: string | null): string[]
1545
- static list_properties(operation_type: string | null): GObject.ParamSpec[]
1546
- static list_property_keys(operation_type: string | null, property_name: string | null): string[]
1540
+ static find_property(operation_type: string, property_name: string): GObject.ParamSpec
1541
+ static get_key(operation_type: string, key_name: string): string
1542
+ static get_op_version(op_name: string): string
1543
+ static get_property_key(operation_type: string, property_name: string, property_key_name: string): string
1544
+ static list_keys(operation_type: string): string[]
1545
+ static list_properties(operation_type: string): GObject.ParamSpec[]
1546
+ static list_property_keys(operation_type: string, property_name: string): string[]
1547
1547
  }
1548
1548
 
1549
1549
  export interface ParamAudioFragment {
@@ -1778,7 +1778,7 @@ export interface Path {
1778
1778
  * gegl_path_clean() first if you want to replace the existing path.
1779
1779
  * @param instructions a string describing a path.
1780
1780
  */
1781
- parse_string(instructions: string | null): void
1781
+ parse_string(instructions: string): void
1782
1782
  /**
1783
1783
  * Removes the node number `pos` in `path`.
1784
1784
  * @param pos a node in the path.
@@ -1855,7 +1855,7 @@ export class Path extends GObject.Object {
1855
1855
  * @constructor
1856
1856
  * @param instructions a string describing the path.
1857
1857
  */
1858
- static new_from_string(instructions: string | null): Path
1858
+ static new_from_string(instructions: string): Path
1859
1859
  _init(config?: Path.ConstructorProperties): void
1860
1860
  /**
1861
1861
  * Adds a new type to the path system, FIXME this should probably
@@ -1865,7 +1865,7 @@ export class Path extends GObject.Object {
1865
1865
  * @param items the number of floating point data items the instruction takes
1866
1866
  * @param description a human readable description of this entry
1867
1867
  */
1868
- static add_type(type: number, items: number, description: string | null): void
1868
+ static add_type(type: number, items: number, description: string): void
1869
1869
  }
1870
1870
 
1871
1871
  export module Processor {
@@ -2436,7 +2436,7 @@ export interface Matrix3 {
2436
2436
  * Parse a transofmation matrix from a string.
2437
2437
  * @param string a string describing the matrix (right now a small subset of the transform strings allowed by SVG)
2438
2438
  */
2439
- parse_string(string: string | null): void
2439
+ parse_string(string: string): void
2440
2440
  /**
2441
2441
  * Serialize a #GeglMatrix3 to a string.
2442
2442
  *
package/gegl-0.3.d.ts CHANGED
@@ -179,7 +179,7 @@ function config(): Config
179
179
  * @param rel_dim relative dimension to scale rel suffixed values by
180
180
  * @param path_root path in filesystem to use as relative root
181
181
  */
182
- function create_chain(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string | null): void
182
+ function create_chain(ops: string, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string): void
183
183
  /**
184
184
  * Create a node chain from argv style list of op data.
185
185
  * @param ops an argv style, NULL terminated array of arguments
@@ -189,7 +189,7 @@ function create_chain(ops: string | null, op_start: Node, op_end: Node, time: nu
189
189
  * @param rel_dim relative dimension to scale rel suffixed values by
190
190
  * @param path_root path in filesystem to use as relative root
191
191
  */
192
- function create_chain_argv(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string | null): void
192
+ function create_chain_argv(ops: string | null, op_start: Node, op_end: Node, time: number, rel_dim: number, path_root: string): void
193
193
  /**
194
194
  * Call this function when you're done using GEGL. It will clean up
195
195
  * caches and write/dump debug information if the correct debug flags
@@ -202,7 +202,7 @@ function exit(): void
202
202
  * @param format_name A Babl format name, e.g. "RGBA float"
203
203
  * @returns the format pointer
204
204
  */
205
- function format(format_name: string | null): any | null
205
+ function format(format_name: string): any | null
206
206
  function format_get_name(format: any): string | null
207
207
  /**
208
208
  * This function fetches the version of the GEGL library being used by
@@ -221,7 +221,7 @@ function graph_dump_outputs(node: Node): void
221
221
  * @param roi The request rectangle
222
222
  */
223
223
  function graph_dump_request(node: Node, roi: Rectangle): void
224
- function has_operation(operation_type: string | null): boolean
224
+ function has_operation(operation_type: string): boolean
225
225
  /**
226
226
  * Call this function before using any other GEGL functions. It will
227
227
  * initialize everything needed to operate GEGL and parses some
@@ -241,7 +241,7 @@ function list_operations(): string[]
241
241
  * Load all gegl modules found in the given directory.
242
242
  * @param path the directory to load modules from
243
243
  */
244
- function load_module_directory(path: string | null): void
244
+ function load_module_directory(path: string): void
245
245
  /**
246
246
  * Creates a new #GParamSpec instance specifying a #GeglAudioFragment property.
247
247
  * @param name canonical name of the property specified
@@ -250,7 +250,7 @@ function load_module_directory(path: string | null): void
250
250
  * @param flags flags for the property specified
251
251
  * @returns a newly created parameter specification
252
252
  */
253
- function param_spec_audio_fragment(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
253
+ function param_spec_audio_fragment(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
254
254
  /**
255
255
  * Creates a new #GParamSpec instance specifying a #GeglColor property.
256
256
  * @param name canonical name of the property specified
@@ -260,7 +260,7 @@ function param_spec_audio_fragment(name: string | null, nick: string | null, blu
260
260
  * @param flags flags for the property specified
261
261
  * @returns a newly created parameter specification
262
262
  */
263
- function param_spec_color(name: string | null, nick: string | null, blurb: string | null, default_color: Color, flags: GObject.ParamFlags): GObject.ParamSpec
263
+ function param_spec_color(name: string, nick: string, blurb: string, default_color: Color, flags: GObject.ParamFlags): GObject.ParamSpec
264
264
  /**
265
265
  * Creates a new #GParamSpec instance specifying a #GeglColor property.
266
266
  * @param name canonical name of the property specified
@@ -270,7 +270,7 @@ function param_spec_color(name: string | null, nick: string | null, blurb: strin
270
270
  * @param flags flags for the property specified
271
271
  * @returns a newly created parameter specification
272
272
  */
273
- function param_spec_color_from_string(name: string | null, nick: string | null, blurb: string | null, default_color_string: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
273
+ function param_spec_color_from_string(name: string, nick: string, blurb: string, default_color_string: string, flags: GObject.ParamFlags): GObject.ParamSpec
274
274
  /**
275
275
  * Get the default color value of the param spec
276
276
  * @param self a #GeglColor #GParamSpec
@@ -286,7 +286,7 @@ function param_spec_color_get_default(self: GObject.ParamSpec): Color
286
286
  * @param flags flags for the property specified
287
287
  * @returns a newly created parameter specification
288
288
  */
289
- function param_spec_curve(name: string | null, nick: string | null, blurb: string | null, default_curve: Curve, flags: GObject.ParamFlags): GObject.ParamSpec
289
+ function param_spec_curve(name: string, nick: string, blurb: string, default_curve: Curve, flags: GObject.ParamFlags): GObject.ParamSpec
290
290
  /**
291
291
  * Creates a new #GeglParamSpecDouble instance.
292
292
  * @param name canonical name of the property specified
@@ -301,7 +301,7 @@ function param_spec_curve(name: string | null, nick: string | null, blurb: strin
301
301
  * @param flags flags for the property specified
302
302
  * @returns a newly created parameter specification
303
303
  */
304
- function param_spec_double(name: string | null, nick: string | null, blurb: string | null, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
304
+ function param_spec_double(name: string, nick: string, blurb: string, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
305
305
  /**
306
306
  * Creates a new #GeglParamSpecEnum instance.
307
307
  * @param name canonical name of the property specified
@@ -312,7 +312,7 @@ function param_spec_double(name: string | null, nick: string | null, blurb: stri
312
312
  * @param flags flags for the property specified
313
313
  * @returns a newly created parameter specification
314
314
  */
315
- function param_spec_enum(name: string | null, nick: string | null, blurb: string | null, enum_type: GObject.GType, default_value: number, flags: GObject.ParamFlags): GObject.ParamSpec
315
+ function param_spec_enum(name: string, nick: string, blurb: string, enum_type: GObject.GType, default_value: number, flags: GObject.ParamFlags): GObject.ParamSpec
316
316
  /**
317
317
  * Creates a new #GeglParamSpecFilePath instance.
318
318
  * @param name canonical name of the property specified
@@ -324,7 +324,7 @@ function param_spec_enum(name: string | null, nick: string | null, blurb: string
324
324
  * @param flags flags for the property specified
325
325
  * @returns a newly created parameter specification
326
326
  */
327
- function param_spec_file_path(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
327
+ function param_spec_file_path(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
328
328
  /**
329
329
  * Creates a new #GeglParamSpecFormat instance specifying a Babl format.
330
330
  * @param name canonical name of the property specified
@@ -333,8 +333,8 @@ function param_spec_file_path(name: string | null, nick: string | null, blurb: s
333
333
  * @param flags flags for the property specified
334
334
  * @returns a newly created parameter specification
335
335
  */
336
- function param_spec_format(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
337
- function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string | null): string | null
336
+ function param_spec_format(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
337
+ function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string): string
338
338
  /**
339
339
  * Creates a new #GeglParamSpecInt instance.
340
340
  * @param name canonical name of the property specified
@@ -349,7 +349,7 @@ function param_spec_get_property_key(pspec: GObject.ParamSpec, key_name: string
349
349
  * @param flags flags for the property specified
350
350
  * @returns a newly created parameter specification
351
351
  */
352
- function param_spec_int(name: string | null, nick: string | null, blurb: string | null, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
352
+ function param_spec_int(name: string, nick: string, blurb: string, minimum: number, maximum: number, default_value: number, ui_minimum: number, ui_maximum: number, ui_gamma: number, flags: GObject.ParamFlags): GObject.ParamSpec
353
353
  /**
354
354
  * Creates a new #GParamSpec instance specifying a #GeglPath property.
355
355
  * @param name canonical name of the property specified
@@ -359,7 +359,7 @@ function param_spec_int(name: string | null, nick: string | null, blurb: string
359
359
  * @param flags flags for the property specified
360
360
  * @returns a newly created parameter specification
361
361
  */
362
- function param_spec_path(name: string | null, nick: string | null, blurb: string | null, default_path: Path, flags: GObject.ParamFlags): GObject.ParamSpec
362
+ function param_spec_path(name: string, nick: string, blurb: string, default_path: Path, flags: GObject.ParamFlags): GObject.ParamSpec
363
363
  /**
364
364
  * Creates a new #GeglParamSpecSeed instance specifying an integer random seed.
365
365
  * @param name canonical name of the property specified
@@ -368,8 +368,8 @@ function param_spec_path(name: string | null, nick: string | null, blurb: string
368
368
  * @param flags flags for the property specified
369
369
  * @returns a newly created parameter specification
370
370
  */
371
- function param_spec_seed(name: string | null, nick: string | null, blurb: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
372
- function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string | null, value: string | null): void
371
+ function param_spec_seed(name: string, nick: string, blurb: string, flags: GObject.ParamFlags): GObject.ParamSpec
372
+ function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string, value: string): void
373
373
  /**
374
374
  * Creates a new #GeglParamSpecString instance.
375
375
  * @param name canonical name of the property specified
@@ -381,7 +381,7 @@ function param_spec_set_property_key(pspec: GObject.ParamSpec, key_name: string
381
381
  * @param flags flags for the property specified
382
382
  * @returns a newly created parameter specification
383
383
  */
384
- function param_spec_string(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
384
+ function param_spec_string(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
385
385
  /**
386
386
  * Creates a new #GeglParamSpecUri instance.
387
387
  * @param name canonical name of the property specified
@@ -393,7 +393,7 @@ function param_spec_string(name: string | null, nick: string | null, blurb: stri
393
393
  * @param flags flags for the property specified
394
394
  * @returns a newly created parameter specification
395
395
  */
396
- function param_spec_uri(name: string | null, nick: string | null, blurb: string | null, no_validate: boolean, null_ok: boolean, default_value: string | null, flags: GObject.ParamFlags): GObject.ParamSpec
396
+ function param_spec_uri(name: string, nick: string, blurb: string, no_validate: boolean, null_ok: boolean, default_value: string, flags: GObject.ParamFlags): GObject.ParamSpec
397
397
  /**
398
398
  * Returns a GeglRectangle that represents an infininte plane.
399
399
  */
@@ -403,7 +403,7 @@ function rectangle_infinite_plane(): Rectangle
403
403
  * by #gegl_stats().
404
404
  */
405
405
  function reset_stats(): void
406
- function serialize(start: Node, end: Node, basepath: string | null, serialize_flags: SerializeFlag): string | null
406
+ function serialize(start: Node, end: Node, basepath: string, serialize_flags: SerializeFlag): string | null
407
407
  /**
408
408
  * Returns a GeglStats object with properties that can be read to monitor
409
409
  * GEGL statistics.
@@ -641,7 +641,7 @@ interface Buffer {
641
641
  * @param format_name the format of the input data.
642
642
  * @param src pixel data to write to `buffer`.
643
643
  */
644
- set(rect: Rectangle, format_name: string | null, src: Uint8Array): void
644
+ set(rect: Rectangle, format_name: string, src: Uint8Array): void
645
645
  /**
646
646
  * This function makes sure GeglBuffer and underlying code is aware of changes
647
647
  * being made to the linear buffer. If the request was not a compatible one
@@ -667,7 +667,7 @@ interface Buffer {
667
667
  * @param path the path where the gegl buffer will be saved, any writable GIO uri is valid.
668
668
  * @param roi the region of interest to write, this is the tiles that will be collected and written to disk.
669
669
  */
670
- save(path: string | null, roi: Rectangle): void
670
+ save(path: string, roi: Rectangle): void
671
671
  /**
672
672
  * Changes the size and position of the abyss rectangle of a buffer.
673
673
  *
@@ -710,7 +710,7 @@ interface Buffer {
710
710
  * @param c_handler c function callback
711
711
  * @returns an handle like g_signal_connect.
712
712
  */
713
- signal_connect(detailed_signal: string | null, c_handler: GObject.Callback): number
713
+ signal_connect(detailed_signal: string, c_handler: GObject.Callback): number
714
714
 
715
715
  // Own signals of Gegl-0.3.Gegl.Buffer
716
716
 
@@ -796,7 +796,7 @@ class Buffer extends TileHandler {
796
796
  * @param width width of the buffer's extent
797
797
  * @param height height of the buffer's extent
798
798
  */
799
- constructor(format_name: string | null, x: number, y: number, width: number, height: number)
799
+ constructor(format_name: string, x: number, y: number, width: number, height: number)
800
800
  /**
801
801
  * Create a new GeglBuffer with the given format and dimensions.
802
802
  * @constructor
@@ -806,7 +806,7 @@ class Buffer extends TileHandler {
806
806
  * @param width width of the buffer's extent
807
807
  * @param height height of the buffer's extent
808
808
  */
809
- static new(format_name: string | null, x: number, y: number, width: number, height: number): Buffer
809
+ static new(format_name: string, x: number, y: number, width: number, height: number): Buffer
810
810
  /**
811
811
  * Create a new GeglBuffer from a backend, if NULL is passed in the extent of
812
812
  * the buffer will be inherited from the extent of the backend.
@@ -825,7 +825,7 @@ class Buffer extends TileHandler {
825
825
  * @param path the path to a gegl buffer on disk.
826
826
  * @returns a #GeglBuffer object.
827
827
  */
828
- static load(path: string | null): Buffer
828
+ static load(path: string): Buffer
829
829
  /**
830
830
  * Open an existing on-disk GeglBuffer, this buffer is opened in a monitored
831
831
  * state so multiple instances of gegl can share the same buffer. Sets on
@@ -833,7 +833,7 @@ class Buffer extends TileHandler {
833
833
  * @param path the path to a gegl buffer on disk.
834
834
  * @returns a GeglBuffer object.
835
835
  */
836
- static open(path: string | null): Buffer
836
+ static open(path: string): Buffer
837
837
  }
838
838
 
839
839
  module Color {
@@ -921,7 +921,7 @@ class Color extends GObject.Object {
921
921
  * @constructor
922
922
  * @param string a string describing the color to be created.
923
923
  */
924
- constructor(string: string | null)
924
+ constructor(string: string)
925
925
  /**
926
926
  * Creates a new #GeglColor.
927
927
  *
@@ -929,7 +929,7 @@ class Color extends GObject.Object {
929
929
  * @constructor
930
930
  * @param string a string describing the color to be created.
931
931
  */
932
- static new(string: string | null): Color
932
+ static new(string: string): Color
933
933
  _init(config?: Color.ConstructorProperties): void
934
934
  }
935
935
 
@@ -1228,7 +1228,7 @@ interface Node {
1228
1228
  * @param source the node producing data we want to connect.
1229
1229
  * @param output_pad_name the output pad we want to use on the source.
1230
1230
  */
1231
- connect_from(input_pad_name: string | null, source: Node, output_pad_name: string | null): boolean
1231
+ connect_from(input_pad_name: string, source: Node, output_pad_name: string): boolean
1232
1232
  /**
1233
1233
  * Makes a connection between the pads of two nodes.
1234
1234
  *
@@ -1237,7 +1237,7 @@ interface Node {
1237
1237
  * @param sink the node we're connecting an input to
1238
1238
  * @param input_pad_name the name of the input pad we are connecting to
1239
1239
  */
1240
- connect_to(output_pad_name: string | null, sink: Node, input_pad_name: string | null): boolean
1240
+ connect_to(output_pad_name: string, sink: Node, input_pad_name: string): boolean
1241
1241
  /**
1242
1242
  * Creates a new processing node that performs the specified operation.
1243
1243
  * All properties of the operation will have their default values. This
@@ -1247,7 +1247,7 @@ interface Node {
1247
1247
  * @param operation the type of node to create.
1248
1248
  * @returns a newly created node. The node will be destroyed by the parent. Calling g_object_unref on a node will cause the node to be dropped by the parent. (You may also add additional references using g_object_ref/g_object_unref, but in general relying on the parents reference counting is easiest.)
1249
1249
  */
1250
- create_child(operation: string | null): Node
1250
+ create_child(operation: string): Node
1251
1251
  /**
1252
1252
  * Performs hit detection by returning the node providing data at a given
1253
1253
  * coordinate pair. Currently operates only on bounding boxes and not
@@ -1263,8 +1263,8 @@ interface Node {
1263
1263
  * Returns TRUE if a connection was broken.
1264
1264
  * @param input_pad the input pad to disconnect.
1265
1265
  */
1266
- disconnect(input_pad: string | null): boolean
1267
- find_property(property_name: string | null): GObject.ParamSpec
1266
+ disconnect(input_pad: string): boolean
1267
+ find_property(property_name: string): GObject.ParamSpec
1268
1268
  get_children(): Node[]
1269
1269
  /**
1270
1270
  * Retrieve which pads on which nodes are connected to a named output_pad,
@@ -1275,7 +1275,7 @@ interface Node {
1275
1275
  * Returns the number of consumers connected to this output_pad.
1276
1276
  * @param output_pad the output pad we want to know who uses.
1277
1277
  */
1278
- get_consumers(output_pad: string | null): [ /* returnType */ number, /* nodes */ Node[], /* pads */ string[] ]
1278
+ get_consumers(output_pad: string): [ /* returnType */ number, /* nodes */ Node[], /* pads */ string[] ]
1279
1279
  get_gegl_operation(): Operation | null
1280
1280
  /**
1281
1281
  * Proxies are used to route between nodes of a subgraph contained within
@@ -1283,34 +1283,34 @@ interface Node {
1283
1283
  * @param pad_name the name of the pad.
1284
1284
  * @returns Returns an input proxy for the named pad. If no input proxy exists with this name a new one will be created.
1285
1285
  */
1286
- get_input_proxy(pad_name: string | null): Node
1287
- get_operation(): string | null
1286
+ get_input_proxy(pad_name: string): Node
1287
+ get_operation(): string
1288
1288
  /**
1289
1289
  * Proxies are used to route between nodes of a subgraph contained within
1290
1290
  * a node.
1291
1291
  * @param pad_name the name of the pad.
1292
1292
  * @returns Returns a output proxy for the named pad. If no output proxy exists with this name a new one will be created.
1293
1293
  */
1294
- get_output_proxy(pad_name: string | null): Node
1294
+ get_output_proxy(pad_name: string): Node
1295
1295
  /**
1296
1296
  * Returns a GeglNode that keeps a reference on a child.
1297
1297
  * @returns the parent of a node or NULL.
1298
1298
  */
1299
1299
  get_parent(): Node
1300
1300
  get_passthrough(): boolean
1301
- get_producer(input_pad_name: string | null, output_pad_name: string | null): Node
1301
+ get_producer(input_pad_name: string, output_pad_name: string | null): Node
1302
1302
  /**
1303
1303
  * Returns TRUE if the node has a pad with the specified name
1304
1304
  * @param pad_name the pad name we are looking for
1305
1305
  */
1306
- has_pad(pad_name: string | null): boolean
1306
+ has_pad(pad_name: string): boolean
1307
1307
  /**
1308
1308
  * Returns the position and dimensions of a rectangle spanning the area
1309
1309
  * defined by a node.
1310
1310
  * @returns pointer a #GeglRectangle
1311
1311
  */
1312
1312
  get_bounding_box(): Rectangle
1313
- get_property(property_name: string | null): any
1313
+ get_property(property_name: string): any
1314
1314
 
1315
1315
  // Overloads of get_property
1316
1316
 
@@ -1334,7 +1334,7 @@ interface Node {
1334
1334
  * @param property_name the name of the property to get
1335
1335
  * @param value return location for the property value
1336
1336
  */
1337
- get_property(property_name: string | null, value: any): void
1337
+ get_property(property_name: string, value: any): void
1338
1338
  /**
1339
1339
  * Synthetic sugar for linking the "output" pad of `source` to the "input"
1340
1340
  * pad of `sink`.
@@ -1405,7 +1405,7 @@ interface Node {
1405
1405
  * @param property_name the name of the property to set
1406
1406
  * @param value a GValue containing the value to be set in the property.
1407
1407
  */
1408
- set_property(property_name: string | null, value: any): void
1408
+ set_property(property_name: string, value: any): void
1409
1409
  /**
1410
1410
  * Returns a freshly allocated \0 terminated string containing a XML
1411
1411
  * serialization of the composition produced by a node (and thus also
@@ -1415,7 +1415,7 @@ interface Node {
1415
1415
  * for the serialization.
1416
1416
  * @param path_root filesystem path to construct relative paths from.
1417
1417
  */
1418
- to_xml(path_root: string | null): string | null
1418
+ to_xml(path_root: string): string | null
1419
1419
  /**
1420
1420
  * Returns a freshly allocated \0 terminated string containing a XML
1421
1421
  * serialization of a segment of a graph from `head` to `tail` nodes.
@@ -1424,7 +1424,7 @@ interface Node {
1424
1424
  * @param path_root filesystem path to construct relative paths from.
1425
1425
  * @returns XML serialization of a graph segment.
1426
1426
  */
1427
- to_xml_full(tail: Node | null, path_root: string | null): string | null
1427
+ to_xml_full(tail: Node | null, path_root: string): string | null
1428
1428
 
1429
1429
  // Own signals of Gegl-0.3.Gegl.Node
1430
1430
 
@@ -1494,8 +1494,8 @@ class Node extends GObject.Object {
1494
1494
  * @param path the path to a file on the local file system to be parsed.
1495
1495
  * @returns a GeglNode containing the parsed XML as a subgraph.
1496
1496
  */
1497
- static new_from_file(path: string | null): Node
1498
- static new_from_serialized(chaindata: string | null, path_root: string | null): Node
1497
+ static new_from_file(path: string): Node
1498
+ static new_from_serialized(chaindata: string, path_root: string): Node
1499
1499
  /**
1500
1500
  * The #GeglNode returned contains the graph described by the tree of stacks
1501
1501
  * in the XML document. The tree is connected to the "output" pad of the
@@ -1505,7 +1505,7 @@ class Node extends GObject.Object {
1505
1505
  * @param path_root a file system path that relative paths in the XML will be resolved in relation to.
1506
1506
  * @returns a GeglNode containing the parsed XML as a subgraph.
1507
1507
  */
1508
- static new_from_xml(xmldata: string | null, path_root: string | null): Node
1508
+ static new_from_xml(xmldata: string, path_root: string): Node
1509
1509
  _init(config?: Node.ConstructorProperties): void
1510
1510
  }
1511
1511
 
@@ -1539,13 +1539,13 @@ class Operation extends GObject.Object {
1539
1539
 
1540
1540
  constructor(config?: Operation.ConstructorProperties)
1541
1541
  _init(config?: Operation.ConstructorProperties): void
1542
- static find_property(operation_type: string | null, property_name: string | null): GObject.ParamSpec
1543
- static get_key(operation_type: string | null, key_name: string | null): string | null
1544
- static get_op_version(op_name: string | null): string | null
1545
- static get_property_key(operation_type: string | null, property_name: string | null, property_key_name: string | null): string | null
1546
- static list_keys(operation_type: string | null): string[]
1547
- static list_properties(operation_type: string | null): GObject.ParamSpec[]
1548
- static list_property_keys(operation_type: string | null, property_name: string | null): string[]
1542
+ static find_property(operation_type: string, property_name: string): GObject.ParamSpec
1543
+ static get_key(operation_type: string, key_name: string): string
1544
+ static get_op_version(op_name: string): string
1545
+ static get_property_key(operation_type: string, property_name: string, property_key_name: string): string
1546
+ static list_keys(operation_type: string): string[]
1547
+ static list_properties(operation_type: string): GObject.ParamSpec[]
1548
+ static list_property_keys(operation_type: string, property_name: string): string[]
1549
1549
  }
1550
1550
 
1551
1551
  interface ParamAudioFragment {
@@ -1780,7 +1780,7 @@ interface Path {
1780
1780
  * gegl_path_clean() first if you want to replace the existing path.
1781
1781
  * @param instructions a string describing a path.
1782
1782
  */
1783
- parse_string(instructions: string | null): void
1783
+ parse_string(instructions: string): void
1784
1784
  /**
1785
1785
  * Removes the node number `pos` in `path`.
1786
1786
  * @param pos a node in the path.
@@ -1857,7 +1857,7 @@ class Path extends GObject.Object {
1857
1857
  * @constructor
1858
1858
  * @param instructions a string describing the path.
1859
1859
  */
1860
- static new_from_string(instructions: string | null): Path
1860
+ static new_from_string(instructions: string): Path
1861
1861
  _init(config?: Path.ConstructorProperties): void
1862
1862
  /**
1863
1863
  * Adds a new type to the path system, FIXME this should probably
@@ -1867,7 +1867,7 @@ class Path extends GObject.Object {
1867
1867
  * @param items the number of floating point data items the instruction takes
1868
1868
  * @param description a human readable description of this entry
1869
1869
  */
1870
- static add_type(type: number, items: number, description: string | null): void
1870
+ static add_type(type: number, items: number, description: string): void
1871
1871
  }
1872
1872
 
1873
1873
  module Processor {
@@ -2438,7 +2438,7 @@ interface Matrix3 {
2438
2438
  * Parse a transofmation matrix from a string.
2439
2439
  * @param string a string describing the matrix (right now a small subset of the transform strings allowed by SVG)
2440
2440
  */
2441
- parse_string(string: string | null): void
2441
+ parse_string(string: string): void
2442
2442
  /**
2443
2443
  * Serialize a #GeglMatrix3 to a string.
2444
2444
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gegl-0.3",
3
- "version": "0.3.35-3.2.6",
3
+ "version": "0.3.35-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35",
5
5
  "type": "module",
6
6
  "module": "gegl-0.3.js",
@@ -25,9 +25,9 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gegl-0.3.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/gjs": "^3.2.6",
29
- "@girs/glib-2.0": "^2.78.0-3.2.6",
30
- "@girs/gobject-2.0": "^2.78.0-3.2.6"
28
+ "@girs/gjs": "^3.2.7",
29
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
30
+ "@girs/gobject-2.0": "^2.78.0-3.2.7"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "*"