@girs/ges-1.0 1.23.0-3.0.4 → 1.23.0-3.2.0

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/ges-1.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for GES-1.0, generated from library version 1.23.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.0.4.
8
+ GJS TypeScript type definitions for GES-1.0, generated from library version 1.23.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.0.
9
9
 
10
10
  The GStreamer Editing Services (GES) aims to fill the gap between GStreamer/NLE and the application developer by offering a series of classes to simplify the creation of many kind of editing-related applications.
11
11
 
package/ges-1.0.d.cts CHANGED
@@ -4600,6 +4600,102 @@ export class Container extends TimelineElement {
4600
4600
  static group(containers: Container[] | null): Container | null
4601
4601
  }
4602
4602
 
4603
+ export module DiscovererManager {
4604
+
4605
+ // Signal callback interfaces
4606
+
4607
+ /**
4608
+ * Signal callback interface for `discovered`
4609
+ */
4610
+ export interface DiscoveredSignalCallback {
4611
+ ($obj: DiscovererManager, info: GstPbutils.DiscovererInfo, error: GLib.Error | null): void
4612
+ }
4613
+
4614
+ /**
4615
+ * Signal callback interface for `load-serialized-info`
4616
+ */
4617
+ export interface LoadSerializedInfoSignalCallback {
4618
+ ($obj: DiscovererManager, uri: string | null): GstPbutils.DiscovererInfo | null
4619
+ }
4620
+
4621
+
4622
+ // Constructor properties interface
4623
+
4624
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
4625
+
4626
+ // Own constructor properties of GES-1.0.GES.DiscovererManager
4627
+
4628
+ /**
4629
+ * The timeout (in milliseconds) for the #GstDiscoverer operations
4630
+ */
4631
+ timeout?: number | null
4632
+ use_cache?: boolean | null
4633
+ }
4634
+
4635
+ }
4636
+
4637
+ export interface DiscovererManager {
4638
+
4639
+ // Own properties of GES-1.0.GES.DiscovererManager
4640
+
4641
+ /**
4642
+ * The timeout (in milliseconds) for the #GstDiscoverer operations
4643
+ */
4644
+ timeout: number
4645
+ use_cache: boolean
4646
+
4647
+ // Owm methods of GES-1.0.GES.DiscovererManager
4648
+
4649
+ get_timeout(): Gst.ClockTime
4650
+ get_use_cache(): boolean
4651
+ /**
4652
+ * Sets the timeout to use for the discoverer
4653
+ * @param timeout The timeout to set
4654
+ */
4655
+ set_timeout(timeout: Gst.ClockTime): void
4656
+ /**
4657
+ * Sets whether to use the cache or not
4658
+ * @param use_cache Whether to use the cache
4659
+ */
4660
+ set_use_cache(use_cache: boolean): void
4661
+
4662
+ // Own signals of GES-1.0.GES.DiscovererManager
4663
+
4664
+ connect(sigName: "discovered", callback: DiscovererManager.DiscoveredSignalCallback): number
4665
+ connect_after(sigName: "discovered", callback: DiscovererManager.DiscoveredSignalCallback): number
4666
+ emit(sigName: "discovered", info: GstPbutils.DiscovererInfo, error: GLib.Error | null, ...args: any[]): void
4667
+ connect(sigName: "load-serialized-info", callback: DiscovererManager.LoadSerializedInfoSignalCallback): number
4668
+ connect_after(sigName: "load-serialized-info", callback: DiscovererManager.LoadSerializedInfoSignalCallback): number
4669
+ emit(sigName: "load-serialized-info", uri: string | null, ...args: any[]): void
4670
+
4671
+ // Class property signals of GES-1.0.GES.DiscovererManager
4672
+
4673
+ connect(sigName: "notify::timeout", callback: (($obj: DiscovererManager, pspec: GObject.ParamSpec) => void)): number
4674
+ connect_after(sigName: "notify::timeout", callback: (($obj: DiscovererManager, pspec: GObject.ParamSpec) => void)): number
4675
+ emit(sigName: "notify::timeout", ...args: any[]): void
4676
+ connect(sigName: "notify::use-cache", callback: (($obj: DiscovererManager, pspec: GObject.ParamSpec) => void)): number
4677
+ connect_after(sigName: "notify::use-cache", callback: (($obj: DiscovererManager, pspec: GObject.ParamSpec) => void)): number
4678
+ emit(sigName: "notify::use-cache", ...args: any[]): void
4679
+ connect(sigName: string, callback: (...args: any[]) => void): number
4680
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
4681
+ emit(sigName: string, ...args: any[]): void
4682
+ disconnect(id: number): void
4683
+ }
4684
+
4685
+ export class DiscovererManager extends GObject.Object {
4686
+
4687
+ // Own properties of GES-1.0.GES.DiscovererManager
4688
+
4689
+ static name: string
4690
+ static $gtype: GObject.GType<DiscovererManager>
4691
+
4692
+ // Constructors of GES-1.0.GES.DiscovererManager
4693
+
4694
+ constructor(config?: DiscovererManager.ConstructorProperties)
4695
+ _init(config?: DiscovererManager.ConstructorProperties): void
4696
+ static get_default(): DiscovererManager
4697
+ }
4698
+
4603
4699
  export module Effect {
4604
4700
 
4605
4701
  // Constructor properties interface
@@ -6638,12 +6734,12 @@ export interface Pipeline extends Gst.ChildProxy, GstVideo.VideoOverlay {
6638
6734
  * immediately before the #GESPipeline:audio-sink. This exposes the
6639
6735
  * #playsink:audio-filter property of the internal #playsink.
6640
6736
  */
6641
- audio_filter: Gst.Element | null
6737
+ audio_filter: Gst.Element
6642
6738
  /**
6643
6739
  * The audio sink used for preview. This exposes the
6644
6740
  * #playsink:audio-sink property of the internal #playsink.
6645
6741
  */
6646
- audio_sink: Gst.Element | null
6742
+ audio_sink: Gst.Element
6647
6743
  /**
6648
6744
  * The pipeline's mode. In preview mode (for audio or video, or both)
6649
6745
  * the pipeline can display the timeline's content to an end user. In
@@ -6658,18 +6754,18 @@ export interface Pipeline extends Gst.ChildProxy, GstVideo.VideoOverlay {
6658
6754
  * Note that after you set the timeline for the first time, subsequent
6659
6755
  * calls to change the timeline will fail.
6660
6756
  */
6661
- timeline: Timeline | null
6757
+ timeline: Timeline
6662
6758
  /**
6663
6759
  * The video filter(s) to apply during playback in preview mode,
6664
6760
  * immediately before the #GESPipeline:video-sink. This exposes the
6665
6761
  * #playsink:video-filter property of the internal #playsink.
6666
6762
  */
6667
- video_filter: Gst.Element | null
6763
+ video_filter: Gst.Element
6668
6764
  /**
6669
6765
  * The video sink used for preview. This exposes the
6670
6766
  * #playsink:video-sink property of the internal #playsink.
6671
6767
  */
6672
- video_sink: Gst.Element | null
6768
+ video_sink: Gst.Element
6673
6769
 
6674
6770
  // Conflicting properties
6675
6771
 
@@ -10661,7 +10757,7 @@ export interface Track extends MetaContainer, Gst.ChildProxy {
10661
10757
  *
10662
10758
  * Default value: #GST_CAPS_ANY.
10663
10759
  */
10664
- readonly caps: Gst.Caps | null
10760
+ readonly caps: Gst.Caps
10665
10761
  /**
10666
10762
  * Current duration of the track
10667
10763
  *
@@ -10691,7 +10787,7 @@ export interface Track extends MetaContainer, Gst.ChildProxy {
10691
10787
  *
10692
10788
  * Default value: #GST_CAPS_ANY.
10693
10789
  */
10694
- restriction_caps: Gst.Caps | null
10790
+ restriction_caps: Gst.Caps
10695
10791
  /**
10696
10792
  * The track type of the track. This controls the type of
10697
10793
  * #GESTrackElement-s that can be added to the track. This should
@@ -11216,7 +11312,7 @@ export interface TrackElement extends Extractable, MetaContainer {
11216
11312
  * The track that this element belongs to, or %NULL if it does not
11217
11313
  * belong to a track.
11218
11314
  */
11219
- readonly track: Track | null
11315
+ readonly track: Track
11220
11316
  /**
11221
11317
  * The track type of the element, which determines the type of track the
11222
11318
  * element can be added to (see #GESTrack:track-type). This should
@@ -12264,7 +12360,7 @@ export class UriClipAsset extends SourceClipAsset {
12264
12360
  */
12265
12361
  static finish(res: Gio.AsyncResult): UriClipAsset
12266
12362
  /**
12267
- * Creates a #GESUriClipAsset for `uri` syncronously. You should avoid
12363
+ * Creates a #GESUriClipAsset for `uri` synchonously. You should avoid
12268
12364
  * to use it in application, and rather create #GESUriClipAsset asynchronously
12269
12365
  * @param uri The URI of the file for which to create a #GESUriClipAsset. You can also use multi file uris for #GESMultiFileSource.
12270
12366
  * @returns A reference to the requested asset or %NULL if an error happened
@@ -13894,6 +13990,30 @@ export class ContainerPrivate {
13894
13990
  static name: string
13895
13991
  }
13896
13992
 
13993
+ export interface DiscovererManagerClass {
13994
+
13995
+ // Own fields of GES-1.0.GES.DiscovererManagerClass
13996
+
13997
+ parent_class: GObject.ObjectClass
13998
+ }
13999
+
14000
+ export abstract class DiscovererManagerClass {
14001
+
14002
+ // Own properties of GES-1.0.GES.DiscovererManagerClass
14003
+
14004
+ static name: string
14005
+ }
14006
+
14007
+ export interface DiscovererManagerPrivate {
14008
+ }
14009
+
14010
+ export class DiscovererManagerPrivate {
14011
+
14012
+ // Own properties of GES-1.0.GES.DiscovererManagerPrivate
14013
+
14014
+ static name: string
14015
+ }
14016
+
13897
14017
  export interface EffectAssetClass {
13898
14018
 
13899
14019
  // Own fields of GES-1.0.GES.EffectAssetClass
package/ges-1.0.d.ts CHANGED
@@ -4602,6 +4602,102 @@ class Container extends TimelineElement {
4602
4602
  static group(containers: Container[] | null): Container | null
4603
4603
  }
4604
4604
 
4605
+ module DiscovererManager {
4606
+
4607
+ // Signal callback interfaces
4608
+
4609
+ /**
4610
+ * Signal callback interface for `discovered`
4611
+ */
4612
+ interface DiscoveredSignalCallback {
4613
+ ($obj: DiscovererManager, info: GstPbutils.DiscovererInfo, error: GLib.Error | null): void
4614
+ }
4615
+
4616
+ /**
4617
+ * Signal callback interface for `load-serialized-info`
4618
+ */
4619
+ interface LoadSerializedInfoSignalCallback {
4620
+ ($obj: DiscovererManager, uri: string | null): GstPbutils.DiscovererInfo | null
4621
+ }
4622
+
4623
+
4624
+ // Constructor properties interface
4625
+
4626
+ interface ConstructorProperties extends GObject.Object.ConstructorProperties {
4627
+
4628
+ // Own constructor properties of GES-1.0.GES.DiscovererManager
4629
+
4630
+ /**
4631
+ * The timeout (in milliseconds) for the #GstDiscoverer operations
4632
+ */
4633
+ timeout?: number | null
4634
+ use_cache?: boolean | null
4635
+ }
4636
+
4637
+ }
4638
+
4639
+ interface DiscovererManager {
4640
+
4641
+ // Own properties of GES-1.0.GES.DiscovererManager
4642
+
4643
+ /**
4644
+ * The timeout (in milliseconds) for the #GstDiscoverer operations
4645
+ */
4646
+ timeout: number
4647
+ use_cache: boolean
4648
+
4649
+ // Owm methods of GES-1.0.GES.DiscovererManager
4650
+
4651
+ get_timeout(): Gst.ClockTime
4652
+ get_use_cache(): boolean
4653
+ /**
4654
+ * Sets the timeout to use for the discoverer
4655
+ * @param timeout The timeout to set
4656
+ */
4657
+ set_timeout(timeout: Gst.ClockTime): void
4658
+ /**
4659
+ * Sets whether to use the cache or not
4660
+ * @param use_cache Whether to use the cache
4661
+ */
4662
+ set_use_cache(use_cache: boolean): void
4663
+
4664
+ // Own signals of GES-1.0.GES.DiscovererManager
4665
+
4666
+ connect(sigName: "discovered", callback: DiscovererManager.DiscoveredSignalCallback): number
4667
+ connect_after(sigName: "discovered", callback: DiscovererManager.DiscoveredSignalCallback): number
4668
+ emit(sigName: "discovered", info: GstPbutils.DiscovererInfo, error: GLib.Error | null, ...args: any[]): void
4669
+ connect(sigName: "load-serialized-info", callback: DiscovererManager.LoadSerializedInfoSignalCallback): number
4670
+ connect_after(sigName: "load-serialized-info", callback: DiscovererManager.LoadSerializedInfoSignalCallback): number
4671
+ emit(sigName: "load-serialized-info", uri: string | null, ...args: any[]): void
4672
+
4673
+ // Class property signals of GES-1.0.GES.DiscovererManager
4674
+
4675
+ connect(sigName: "notify::timeout", callback: (($obj: DiscovererManager, pspec: GObject.ParamSpec) => void)): number
4676
+ connect_after(sigName: "notify::timeout", callback: (($obj: DiscovererManager, pspec: GObject.ParamSpec) => void)): number
4677
+ emit(sigName: "notify::timeout", ...args: any[]): void
4678
+ connect(sigName: "notify::use-cache", callback: (($obj: DiscovererManager, pspec: GObject.ParamSpec) => void)): number
4679
+ connect_after(sigName: "notify::use-cache", callback: (($obj: DiscovererManager, pspec: GObject.ParamSpec) => void)): number
4680
+ emit(sigName: "notify::use-cache", ...args: any[]): void
4681
+ connect(sigName: string, callback: (...args: any[]) => void): number
4682
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
4683
+ emit(sigName: string, ...args: any[]): void
4684
+ disconnect(id: number): void
4685
+ }
4686
+
4687
+ class DiscovererManager extends GObject.Object {
4688
+
4689
+ // Own properties of GES-1.0.GES.DiscovererManager
4690
+
4691
+ static name: string
4692
+ static $gtype: GObject.GType<DiscovererManager>
4693
+
4694
+ // Constructors of GES-1.0.GES.DiscovererManager
4695
+
4696
+ constructor(config?: DiscovererManager.ConstructorProperties)
4697
+ _init(config?: DiscovererManager.ConstructorProperties): void
4698
+ static get_default(): DiscovererManager
4699
+ }
4700
+
4605
4701
  module Effect {
4606
4702
 
4607
4703
  // Constructor properties interface
@@ -6640,12 +6736,12 @@ interface Pipeline extends Gst.ChildProxy, GstVideo.VideoOverlay {
6640
6736
  * immediately before the #GESPipeline:audio-sink. This exposes the
6641
6737
  * #playsink:audio-filter property of the internal #playsink.
6642
6738
  */
6643
- audio_filter: Gst.Element | null
6739
+ audio_filter: Gst.Element
6644
6740
  /**
6645
6741
  * The audio sink used for preview. This exposes the
6646
6742
  * #playsink:audio-sink property of the internal #playsink.
6647
6743
  */
6648
- audio_sink: Gst.Element | null
6744
+ audio_sink: Gst.Element
6649
6745
  /**
6650
6746
  * The pipeline's mode. In preview mode (for audio or video, or both)
6651
6747
  * the pipeline can display the timeline's content to an end user. In
@@ -6660,18 +6756,18 @@ interface Pipeline extends Gst.ChildProxy, GstVideo.VideoOverlay {
6660
6756
  * Note that after you set the timeline for the first time, subsequent
6661
6757
  * calls to change the timeline will fail.
6662
6758
  */
6663
- timeline: Timeline | null
6759
+ timeline: Timeline
6664
6760
  /**
6665
6761
  * The video filter(s) to apply during playback in preview mode,
6666
6762
  * immediately before the #GESPipeline:video-sink. This exposes the
6667
6763
  * #playsink:video-filter property of the internal #playsink.
6668
6764
  */
6669
- video_filter: Gst.Element | null
6765
+ video_filter: Gst.Element
6670
6766
  /**
6671
6767
  * The video sink used for preview. This exposes the
6672
6768
  * #playsink:video-sink property of the internal #playsink.
6673
6769
  */
6674
- video_sink: Gst.Element | null
6770
+ video_sink: Gst.Element
6675
6771
 
6676
6772
  // Conflicting properties
6677
6773
 
@@ -10663,7 +10759,7 @@ interface Track extends MetaContainer, Gst.ChildProxy {
10663
10759
  *
10664
10760
  * Default value: #GST_CAPS_ANY.
10665
10761
  */
10666
- readonly caps: Gst.Caps | null
10762
+ readonly caps: Gst.Caps
10667
10763
  /**
10668
10764
  * Current duration of the track
10669
10765
  *
@@ -10693,7 +10789,7 @@ interface Track extends MetaContainer, Gst.ChildProxy {
10693
10789
  *
10694
10790
  * Default value: #GST_CAPS_ANY.
10695
10791
  */
10696
- restriction_caps: Gst.Caps | null
10792
+ restriction_caps: Gst.Caps
10697
10793
  /**
10698
10794
  * The track type of the track. This controls the type of
10699
10795
  * #GESTrackElement-s that can be added to the track. This should
@@ -11218,7 +11314,7 @@ interface TrackElement extends Extractable, MetaContainer {
11218
11314
  * The track that this element belongs to, or %NULL if it does not
11219
11315
  * belong to a track.
11220
11316
  */
11221
- readonly track: Track | null
11317
+ readonly track: Track
11222
11318
  /**
11223
11319
  * The track type of the element, which determines the type of track the
11224
11320
  * element can be added to (see #GESTrack:track-type). This should
@@ -12266,7 +12362,7 @@ class UriClipAsset extends SourceClipAsset {
12266
12362
  */
12267
12363
  static finish(res: Gio.AsyncResult): UriClipAsset
12268
12364
  /**
12269
- * Creates a #GESUriClipAsset for `uri` syncronously. You should avoid
12365
+ * Creates a #GESUriClipAsset for `uri` synchonously. You should avoid
12270
12366
  * to use it in application, and rather create #GESUriClipAsset asynchronously
12271
12367
  * @param uri The URI of the file for which to create a #GESUriClipAsset. You can also use multi file uris for #GESMultiFileSource.
12272
12368
  * @returns A reference to the requested asset or %NULL if an error happened
@@ -13896,6 +13992,30 @@ class ContainerPrivate {
13896
13992
  static name: string
13897
13993
  }
13898
13994
 
13995
+ interface DiscovererManagerClass {
13996
+
13997
+ // Own fields of GES-1.0.GES.DiscovererManagerClass
13998
+
13999
+ parent_class: GObject.ObjectClass
14000
+ }
14001
+
14002
+ abstract class DiscovererManagerClass {
14003
+
14004
+ // Own properties of GES-1.0.GES.DiscovererManagerClass
14005
+
14006
+ static name: string
14007
+ }
14008
+
14009
+ interface DiscovererManagerPrivate {
14010
+ }
14011
+
14012
+ class DiscovererManagerPrivate {
14013
+
14014
+ // Own properties of GES-1.0.GES.DiscovererManagerPrivate
14015
+
14016
+ static name: string
14017
+ }
14018
+
13899
14019
  interface EffectAssetClass {
13900
14020
 
13901
14021
  // Own fields of GES-1.0.GES.EffectAssetClass
package/package.json CHANGED
@@ -1,16 +1,10 @@
1
1
  {
2
2
  "name": "@girs/ges-1.0",
3
- "version": "1.23.0-3.0.4",
3
+ "version": "1.23.0-3.2.0",
4
4
  "description": "GJS TypeScript type definitions for GES-1.0, generated from library version 1.23.0",
5
5
  "type": "module",
6
6
  "module": "ges-1.0.js",
7
7
  "main": "ges-1.0.js",
8
- "typedoc": {
9
- "entryPoint": "./ges-1.0.d.ts",
10
- "readmeFile": "./README.md",
11
- "displayName": "GES-1.0",
12
- "tsconfig": "./tsconfig.doc.json"
13
- },
14
8
  "exports": {
15
9
  "./ambient": "./ges-1.0-ambient.d.ts",
16
10
  "./import": "./ges-1.0-import.d.ts",
@@ -27,20 +21,20 @@
27
21
  },
28
22
  "scripts": {
29
23
  "test": "yarn test:esm && yarn test:cjs",
30
- "test:esm": "tsc --noEmit ges-1.0.d.ts",
31
- "test:cjs": "tsc --noEmit ges-1.0.d.cts"
24
+ "test:esm": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit ges-1.0.d.ts",
25
+ "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit ges-1.0.d.cts"
32
26
  },
33
27
  "dependencies": {
34
- "@girs/gio-2.0": "^2.76.1-3.0.4",
35
- "@girs/gjs": "^3.0.4",
36
- "@girs/glib-2.0": "^2.76.1-3.0.4",
37
- "@girs/gmodule-2.0": "^2.0.0-3.0.4",
38
- "@girs/gobject-2.0": "^2.76.1-3.0.4",
39
- "@girs/gst-1.0": "^1.23.0-3.0.4",
40
- "@girs/gstaudio-1.0": "^1.0.0-3.0.4",
41
- "@girs/gstbase-1.0": "^1.0.0-3.0.4",
42
- "@girs/gstpbutils-1.0": "^1.0.0-3.0.4",
43
- "@girs/gstvideo-1.0": "^1.0.0-3.0.4"
28
+ "@girs/gio-2.0": "^2.76.1-3.2.0",
29
+ "@girs/gjs": "^3.2.0",
30
+ "@girs/glib-2.0": "^2.76.1-3.2.0",
31
+ "@girs/gmodule-2.0": "^2.0.0-3.2.0",
32
+ "@girs/gobject-2.0": "^2.76.1-3.2.0",
33
+ "@girs/gst-1.0": "^1.23.0-3.2.0",
34
+ "@girs/gstaudio-1.0": "^1.0.0-3.2.0",
35
+ "@girs/gstbase-1.0": "^1.0.0-3.2.0",
36
+ "@girs/gstpbutils-1.0": "^1.0.0-3.2.0",
37
+ "@girs/gstvideo-1.0": "^1.0.0-3.2.0"
44
38
  },
45
39
  "devDependencies": {
46
40
  "typescript": "*"
@@ -3,6 +3,8 @@
3
3
  // General settings for code interpretation
4
4
  "target": "ESNext",
5
5
  "module": "ESNext",
6
+ "lib": ["ESNext"],
7
+ "types": [],
6
8
  "experimentalDecorators": true,
7
9
  "moduleResolution": "node",
8
10
  "noEmit": true,
package/typedoc.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "entryPoints": ["./ges-1.0.d.ts","./ges-1.0-ambient.d.ts","./ges-1.0-import.d.ts"],
3
+ "readme": "./README.md",
4
+ "name": "GES-1.0",
5
+ "tsconfig": "./tsconfig.json"
6
+ }
7
+