@girs/libvirtgobject-1.0 1.0.0-3.2.6 → 1.0.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 +1 -1
- package/libvirtgobject-1.0.d.cts +36 -36
- package/libvirtgobject-1.0.d.ts +36 -36
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for LibvirtGObject-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.
|
|
8
|
+
GJS TypeScript type definitions for LibvirtGObject-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
|
|
9
9
|
|
|
10
10
|
GLib and GObject mapping of libvirt.
|
|
11
11
|
|
package/libvirtgobject-1.0.d.cts
CHANGED
|
@@ -444,20 +444,20 @@ export interface Connection {
|
|
|
444
444
|
fetch_storage_pools_async(cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
|
|
445
445
|
fetch_storage_pools_finish(result: Gio.AsyncResult): boolean
|
|
446
446
|
find_domain_by_id(id: number): Domain
|
|
447
|
-
find_domain_by_name(name: string
|
|
447
|
+
find_domain_by_name(name: string): Domain
|
|
448
448
|
/**
|
|
449
449
|
* Get a particular interface which has MAC address `mac`.
|
|
450
450
|
* @param macaddr MAC address to lookup
|
|
451
451
|
* @returns A new reference to a #GVirInterface, or NULL if no interface exists with MAC address @mac. The returned object must be unreffed using g_object_unref() once used.
|
|
452
452
|
*/
|
|
453
|
-
find_interface_by_mac(macaddr: string
|
|
453
|
+
find_interface_by_mac(macaddr: string): Interface
|
|
454
454
|
/**
|
|
455
455
|
* Get a particular network which has name `name`.
|
|
456
456
|
* @param name name of the network to search for
|
|
457
457
|
* @returns A new reference to a #GVirNetwork, or NULL if no network exists with name @name. The returned object must be unreffed using g_object_unref() once used.
|
|
458
458
|
*/
|
|
459
|
-
find_network_by_name(name: string
|
|
460
|
-
find_storage_pool_by_name(name: string
|
|
459
|
+
find_network_by_name(name: string): Network
|
|
460
|
+
find_storage_pool_by_name(name: string): StoragePool
|
|
461
461
|
get_capabilities(): LibvirtGConfig.Capabilities
|
|
462
462
|
get_capabilities_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
463
463
|
|
|
@@ -472,7 +472,7 @@ export interface Connection {
|
|
|
472
472
|
*/
|
|
473
473
|
get_capabilities_async(cancellable: Gio.Cancellable | null): globalThis.Promise<LibvirtGConfig.Capabilities>
|
|
474
474
|
get_capabilities_finish(result: Gio.AsyncResult): LibvirtGConfig.Capabilities
|
|
475
|
-
get_domain(uuid: string
|
|
475
|
+
get_domain(uuid: string): Domain
|
|
476
476
|
get_domain_capabilities(emulatorbin: string | null, arch: string | null, machine: string | null, virttype: string | null, flags: number): LibvirtGConfig.DomainCapabilities
|
|
477
477
|
get_domain_capabilities_async(emulatorbin: string | null, arch: string | null, machine: string | null, virttype: string | null, flags: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
478
478
|
|
|
@@ -507,7 +507,7 @@ export interface Connection {
|
|
|
507
507
|
* @param name interface name to lookup
|
|
508
508
|
* @returns A new reference to a #GVirInterface, or NULL if no interface exists with name @name. The returned object must be unreffed using g_object_unref() once used.
|
|
509
509
|
*/
|
|
510
|
-
get_interface(name: string
|
|
510
|
+
get_interface(name: string): Interface
|
|
511
511
|
/**
|
|
512
512
|
* Get a list of all the network interfaces managed by connection `conn` on
|
|
513
513
|
* host machine.
|
|
@@ -519,21 +519,21 @@ export interface Connection {
|
|
|
519
519
|
* @param uuid UUID of the network to lookup
|
|
520
520
|
* @returns A new reference to a #GVirNetwork, or NULL if no network exists with UUID @uuid. The returned object must be unreffed using g_object_unref() once used.
|
|
521
521
|
*/
|
|
522
|
-
get_network(uuid: string
|
|
522
|
+
get_network(uuid: string): Network
|
|
523
523
|
/**
|
|
524
524
|
* Get a list of all the network networks available through `conn`.
|
|
525
525
|
* @returns List of #GVirNetwork. The returned list should be freed with g_list_free(), after its elements have been unreffed with g_object_unref().
|
|
526
526
|
*/
|
|
527
527
|
get_networks(): Network[]
|
|
528
528
|
get_node_info(): NodeInfo
|
|
529
|
-
get_storage_pool(uuid: string
|
|
529
|
+
get_storage_pool(uuid: string): StoragePool
|
|
530
530
|
/**
|
|
531
531
|
* Gets a list of the storage pools available through `conn`.
|
|
532
532
|
* @returns List of #GVirStoragePool. The returned list should be freed with g_list_free(), after its elements have been unreffed with g_object_unref().
|
|
533
533
|
*/
|
|
534
534
|
get_storage_pools(): StoragePool[]
|
|
535
535
|
get_stream(flags: number): Stream
|
|
536
|
-
get_uri(): string
|
|
536
|
+
get_uri(): string
|
|
537
537
|
/**
|
|
538
538
|
* Get version of current hypervisor used.
|
|
539
539
|
* @returns version on success, 0 otherwise and @err set.
|
|
@@ -661,8 +661,8 @@ export class Connection extends GObject.Object {
|
|
|
661
661
|
// Constructors of LibvirtGObject-1.0.LibvirtGObject.Connection
|
|
662
662
|
|
|
663
663
|
constructor(config?: Connection.ConstructorProperties)
|
|
664
|
-
constructor(uri: string
|
|
665
|
-
static new(uri: string
|
|
664
|
+
constructor(uri: string)
|
|
665
|
+
static new(uri: string): Connection
|
|
666
666
|
_init(config?: Connection.ConstructorProperties): void
|
|
667
667
|
}
|
|
668
668
|
|
|
@@ -804,11 +804,11 @@ export interface Domain {
|
|
|
804
804
|
* @returns the info. The returned object should be unreffed with g_object_unref() when no longer needed.
|
|
805
805
|
*/
|
|
806
806
|
get_info_finish(result: Gio.AsyncResult): DomainInfo
|
|
807
|
-
get_name(): string
|
|
807
|
+
get_name(): string
|
|
808
808
|
get_persistent(): boolean
|
|
809
809
|
get_saved(): boolean
|
|
810
810
|
get_snapshots(): DomainSnapshot[]
|
|
811
|
-
get_uuid(): string
|
|
811
|
+
get_uuid(): string
|
|
812
812
|
/**
|
|
813
813
|
* Open a text console for the domain `dom,` connecting it to the
|
|
814
814
|
* stream `stream`. If `devname` is NULL, the default console will
|
|
@@ -1302,7 +1302,7 @@ export interface DomainSnapshot {
|
|
|
1302
1302
|
delete_finish(res: Gio.AsyncResult): boolean
|
|
1303
1303
|
get_config(flags: number): LibvirtGConfig.DomainSnapshot
|
|
1304
1304
|
get_is_current(flags: number): [ /* returnType */ boolean, /* is_current */ boolean ]
|
|
1305
|
-
get_name(): string
|
|
1305
|
+
get_name(): string
|
|
1306
1306
|
revert_to(flags: number): boolean
|
|
1307
1307
|
revert_to_async(flags: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1308
1308
|
|
|
@@ -1377,8 +1377,8 @@ export interface Interface {
|
|
|
1377
1377
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.Interface
|
|
1378
1378
|
|
|
1379
1379
|
get_config(flags: number): LibvirtGConfig.Interface
|
|
1380
|
-
get_mac(): string
|
|
1381
|
-
get_name(): string
|
|
1380
|
+
get_mac(): string
|
|
1381
|
+
get_name(): string
|
|
1382
1382
|
|
|
1383
1383
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.Interface
|
|
1384
1384
|
|
|
@@ -1440,7 +1440,7 @@ export interface Manager {
|
|
|
1440
1440
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.Manager
|
|
1441
1441
|
|
|
1442
1442
|
add_connection(conn: Connection): void
|
|
1443
|
-
find_connection_by_uri(uri: string
|
|
1443
|
+
find_connection_by_uri(uri: string): Connection | null
|
|
1444
1444
|
get_connections(): Connection[]
|
|
1445
1445
|
remove_connection(conn: Connection): void
|
|
1446
1446
|
|
|
@@ -1518,8 +1518,8 @@ export interface Network {
|
|
|
1518
1518
|
* @returns the list of network leases. Each object in the returned list should be unreffed with g_object_unref() and the list itself using g_list_free, when no longer needed.
|
|
1519
1519
|
*/
|
|
1520
1520
|
get_dhcp_leases(mac: string | null, flags: number): NetworkDHCPLease[]
|
|
1521
|
-
get_name(): string
|
|
1522
|
-
get_uuid(): string
|
|
1521
|
+
get_name(): string
|
|
1522
|
+
get_uuid(): string
|
|
1523
1523
|
|
|
1524
1524
|
// Own virtual methods of LibvirtGObject-1.0.LibvirtGObject.Network
|
|
1525
1525
|
|
|
@@ -1576,14 +1576,14 @@ export interface NetworkDHCPLease {
|
|
|
1576
1576
|
|
|
1577
1577
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.NetworkDHCPLease
|
|
1578
1578
|
|
|
1579
|
-
get_client_id(): string
|
|
1579
|
+
get_client_id(): string
|
|
1580
1580
|
get_expiry_time(): number
|
|
1581
|
-
get_hostname(): string
|
|
1582
|
-
get_iaid(): string
|
|
1583
|
-
get_iface(): string
|
|
1584
|
-
get_ip(): string
|
|
1581
|
+
get_hostname(): string
|
|
1582
|
+
get_iaid(): string
|
|
1583
|
+
get_iface(): string
|
|
1584
|
+
get_ip(): string
|
|
1585
1585
|
get_ip_type(): number
|
|
1586
|
-
get_mac(): string
|
|
1586
|
+
get_mac(): string
|
|
1587
1587
|
get_prefix(): number
|
|
1588
1588
|
|
|
1589
1589
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.NetworkDHCPLease
|
|
@@ -1637,8 +1637,8 @@ export interface NetworkFilter {
|
|
|
1637
1637
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.NetworkFilter
|
|
1638
1638
|
|
|
1639
1639
|
get_config(flags: number): LibvirtGConfig.NetworkFilter
|
|
1640
|
-
get_name(): string
|
|
1641
|
-
get_uuid(): string
|
|
1640
|
+
get_name(): string
|
|
1641
|
+
get_uuid(): string
|
|
1642
1642
|
|
|
1643
1643
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.NetworkFilter
|
|
1644
1644
|
|
|
@@ -1691,7 +1691,7 @@ export interface NodeDevice {
|
|
|
1691
1691
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.NodeDevice
|
|
1692
1692
|
|
|
1693
1693
|
get_config(flags: number): LibvirtGConfig.NodeDevice
|
|
1694
|
-
get_name(): string
|
|
1694
|
+
get_name(): string
|
|
1695
1695
|
|
|
1696
1696
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.NodeDevice
|
|
1697
1697
|
|
|
@@ -1744,8 +1744,8 @@ export interface Secret {
|
|
|
1744
1744
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.Secret
|
|
1745
1745
|
|
|
1746
1746
|
get_config(flags: number): LibvirtGConfig.Secret
|
|
1747
|
-
get_name(): string
|
|
1748
|
-
get_uuid(): string
|
|
1747
|
+
get_name(): string
|
|
1748
|
+
get_uuid(): string
|
|
1749
1749
|
|
|
1750
1750
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.Secret
|
|
1751
1751
|
|
|
@@ -1832,10 +1832,10 @@ export interface StoragePool {
|
|
|
1832
1832
|
get_autostart(): boolean
|
|
1833
1833
|
get_config(flags: number): LibvirtGConfig.StoragePool
|
|
1834
1834
|
get_info(): StoragePoolInfo
|
|
1835
|
-
get_name(): string
|
|
1835
|
+
get_name(): string
|
|
1836
1836
|
get_persistent(): boolean
|
|
1837
|
-
get_uuid(): string
|
|
1838
|
-
get_volume(name: string
|
|
1837
|
+
get_uuid(): string
|
|
1838
|
+
get_volume(name: string): StorageVol
|
|
1839
1839
|
get_volumes(): StorageVol[]
|
|
1840
1840
|
refresh(cancellable: Gio.Cancellable | null): boolean
|
|
1841
1841
|
refresh_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -1962,8 +1962,8 @@ export interface StorageVol {
|
|
|
1962
1962
|
download(stream: Stream, offset: number, length: number, flags: number): boolean
|
|
1963
1963
|
get_config(flags: number): LibvirtGConfig.StorageVol
|
|
1964
1964
|
get_info(): StorageVolInfo
|
|
1965
|
-
get_name(): string
|
|
1966
|
-
get_path(): string
|
|
1965
|
+
get_name(): string
|
|
1966
|
+
get_path(): string
|
|
1967
1967
|
/**
|
|
1968
1968
|
* Changes the capacity of the storage volume `vol` to `capacity`.
|
|
1969
1969
|
* @param capacity the new capacity of the volume
|
|
@@ -2073,7 +2073,7 @@ export interface Stream {
|
|
|
2073
2073
|
* @param cancellable a %GCancellable or %NULL
|
|
2074
2074
|
* @returns Number of bytes written.
|
|
2075
2075
|
*/
|
|
2076
|
-
send(buffer: string
|
|
2076
|
+
send(buffer: string, size: number, cancellable: Gio.Cancellable | null): number
|
|
2077
2077
|
/**
|
|
2078
2078
|
* Send the entire data stream, sending the data to the
|
|
2079
2079
|
* requested data source. This is simply a convenient alternative
|
package/libvirtgobject-1.0.d.ts
CHANGED
|
@@ -446,20 +446,20 @@ interface Connection {
|
|
|
446
446
|
fetch_storage_pools_async(cancellable: Gio.Cancellable | null): globalThis.Promise<boolean>
|
|
447
447
|
fetch_storage_pools_finish(result: Gio.AsyncResult): boolean
|
|
448
448
|
find_domain_by_id(id: number): Domain
|
|
449
|
-
find_domain_by_name(name: string
|
|
449
|
+
find_domain_by_name(name: string): Domain
|
|
450
450
|
/**
|
|
451
451
|
* Get a particular interface which has MAC address `mac`.
|
|
452
452
|
* @param macaddr MAC address to lookup
|
|
453
453
|
* @returns A new reference to a #GVirInterface, or NULL if no interface exists with MAC address @mac. The returned object must be unreffed using g_object_unref() once used.
|
|
454
454
|
*/
|
|
455
|
-
find_interface_by_mac(macaddr: string
|
|
455
|
+
find_interface_by_mac(macaddr: string): Interface
|
|
456
456
|
/**
|
|
457
457
|
* Get a particular network which has name `name`.
|
|
458
458
|
* @param name name of the network to search for
|
|
459
459
|
* @returns A new reference to a #GVirNetwork, or NULL if no network exists with name @name. The returned object must be unreffed using g_object_unref() once used.
|
|
460
460
|
*/
|
|
461
|
-
find_network_by_name(name: string
|
|
462
|
-
find_storage_pool_by_name(name: string
|
|
461
|
+
find_network_by_name(name: string): Network
|
|
462
|
+
find_storage_pool_by_name(name: string): StoragePool
|
|
463
463
|
get_capabilities(): LibvirtGConfig.Capabilities
|
|
464
464
|
get_capabilities_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
465
465
|
|
|
@@ -474,7 +474,7 @@ interface Connection {
|
|
|
474
474
|
*/
|
|
475
475
|
get_capabilities_async(cancellable: Gio.Cancellable | null): globalThis.Promise<LibvirtGConfig.Capabilities>
|
|
476
476
|
get_capabilities_finish(result: Gio.AsyncResult): LibvirtGConfig.Capabilities
|
|
477
|
-
get_domain(uuid: string
|
|
477
|
+
get_domain(uuid: string): Domain
|
|
478
478
|
get_domain_capabilities(emulatorbin: string | null, arch: string | null, machine: string | null, virttype: string | null, flags: number): LibvirtGConfig.DomainCapabilities
|
|
479
479
|
get_domain_capabilities_async(emulatorbin: string | null, arch: string | null, machine: string | null, virttype: string | null, flags: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
480
480
|
|
|
@@ -509,7 +509,7 @@ interface Connection {
|
|
|
509
509
|
* @param name interface name to lookup
|
|
510
510
|
* @returns A new reference to a #GVirInterface, or NULL if no interface exists with name @name. The returned object must be unreffed using g_object_unref() once used.
|
|
511
511
|
*/
|
|
512
|
-
get_interface(name: string
|
|
512
|
+
get_interface(name: string): Interface
|
|
513
513
|
/**
|
|
514
514
|
* Get a list of all the network interfaces managed by connection `conn` on
|
|
515
515
|
* host machine.
|
|
@@ -521,21 +521,21 @@ interface Connection {
|
|
|
521
521
|
* @param uuid UUID of the network to lookup
|
|
522
522
|
* @returns A new reference to a #GVirNetwork, or NULL if no network exists with UUID @uuid. The returned object must be unreffed using g_object_unref() once used.
|
|
523
523
|
*/
|
|
524
|
-
get_network(uuid: string
|
|
524
|
+
get_network(uuid: string): Network
|
|
525
525
|
/**
|
|
526
526
|
* Get a list of all the network networks available through `conn`.
|
|
527
527
|
* @returns List of #GVirNetwork. The returned list should be freed with g_list_free(), after its elements have been unreffed with g_object_unref().
|
|
528
528
|
*/
|
|
529
529
|
get_networks(): Network[]
|
|
530
530
|
get_node_info(): NodeInfo
|
|
531
|
-
get_storage_pool(uuid: string
|
|
531
|
+
get_storage_pool(uuid: string): StoragePool
|
|
532
532
|
/**
|
|
533
533
|
* Gets a list of the storage pools available through `conn`.
|
|
534
534
|
* @returns List of #GVirStoragePool. The returned list should be freed with g_list_free(), after its elements have been unreffed with g_object_unref().
|
|
535
535
|
*/
|
|
536
536
|
get_storage_pools(): StoragePool[]
|
|
537
537
|
get_stream(flags: number): Stream
|
|
538
|
-
get_uri(): string
|
|
538
|
+
get_uri(): string
|
|
539
539
|
/**
|
|
540
540
|
* Get version of current hypervisor used.
|
|
541
541
|
* @returns version on success, 0 otherwise and @err set.
|
|
@@ -663,8 +663,8 @@ class Connection extends GObject.Object {
|
|
|
663
663
|
// Constructors of LibvirtGObject-1.0.LibvirtGObject.Connection
|
|
664
664
|
|
|
665
665
|
constructor(config?: Connection.ConstructorProperties)
|
|
666
|
-
constructor(uri: string
|
|
667
|
-
static new(uri: string
|
|
666
|
+
constructor(uri: string)
|
|
667
|
+
static new(uri: string): Connection
|
|
668
668
|
_init(config?: Connection.ConstructorProperties): void
|
|
669
669
|
}
|
|
670
670
|
|
|
@@ -806,11 +806,11 @@ interface Domain {
|
|
|
806
806
|
* @returns the info. The returned object should be unreffed with g_object_unref() when no longer needed.
|
|
807
807
|
*/
|
|
808
808
|
get_info_finish(result: Gio.AsyncResult): DomainInfo
|
|
809
|
-
get_name(): string
|
|
809
|
+
get_name(): string
|
|
810
810
|
get_persistent(): boolean
|
|
811
811
|
get_saved(): boolean
|
|
812
812
|
get_snapshots(): DomainSnapshot[]
|
|
813
|
-
get_uuid(): string
|
|
813
|
+
get_uuid(): string
|
|
814
814
|
/**
|
|
815
815
|
* Open a text console for the domain `dom,` connecting it to the
|
|
816
816
|
* stream `stream`. If `devname` is NULL, the default console will
|
|
@@ -1304,7 +1304,7 @@ interface DomainSnapshot {
|
|
|
1304
1304
|
delete_finish(res: Gio.AsyncResult): boolean
|
|
1305
1305
|
get_config(flags: number): LibvirtGConfig.DomainSnapshot
|
|
1306
1306
|
get_is_current(flags: number): [ /* returnType */ boolean, /* is_current */ boolean ]
|
|
1307
|
-
get_name(): string
|
|
1307
|
+
get_name(): string
|
|
1308
1308
|
revert_to(flags: number): boolean
|
|
1309
1309
|
revert_to_async(flags: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
1310
1310
|
|
|
@@ -1379,8 +1379,8 @@ interface Interface {
|
|
|
1379
1379
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.Interface
|
|
1380
1380
|
|
|
1381
1381
|
get_config(flags: number): LibvirtGConfig.Interface
|
|
1382
|
-
get_mac(): string
|
|
1383
|
-
get_name(): string
|
|
1382
|
+
get_mac(): string
|
|
1383
|
+
get_name(): string
|
|
1384
1384
|
|
|
1385
1385
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.Interface
|
|
1386
1386
|
|
|
@@ -1442,7 +1442,7 @@ interface Manager {
|
|
|
1442
1442
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.Manager
|
|
1443
1443
|
|
|
1444
1444
|
add_connection(conn: Connection): void
|
|
1445
|
-
find_connection_by_uri(uri: string
|
|
1445
|
+
find_connection_by_uri(uri: string): Connection | null
|
|
1446
1446
|
get_connections(): Connection[]
|
|
1447
1447
|
remove_connection(conn: Connection): void
|
|
1448
1448
|
|
|
@@ -1520,8 +1520,8 @@ interface Network {
|
|
|
1520
1520
|
* @returns the list of network leases. Each object in the returned list should be unreffed with g_object_unref() and the list itself using g_list_free, when no longer needed.
|
|
1521
1521
|
*/
|
|
1522
1522
|
get_dhcp_leases(mac: string | null, flags: number): NetworkDHCPLease[]
|
|
1523
|
-
get_name(): string
|
|
1524
|
-
get_uuid(): string
|
|
1523
|
+
get_name(): string
|
|
1524
|
+
get_uuid(): string
|
|
1525
1525
|
|
|
1526
1526
|
// Own virtual methods of LibvirtGObject-1.0.LibvirtGObject.Network
|
|
1527
1527
|
|
|
@@ -1578,14 +1578,14 @@ interface NetworkDHCPLease {
|
|
|
1578
1578
|
|
|
1579
1579
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.NetworkDHCPLease
|
|
1580
1580
|
|
|
1581
|
-
get_client_id(): string
|
|
1581
|
+
get_client_id(): string
|
|
1582
1582
|
get_expiry_time(): number
|
|
1583
|
-
get_hostname(): string
|
|
1584
|
-
get_iaid(): string
|
|
1585
|
-
get_iface(): string
|
|
1586
|
-
get_ip(): string
|
|
1583
|
+
get_hostname(): string
|
|
1584
|
+
get_iaid(): string
|
|
1585
|
+
get_iface(): string
|
|
1586
|
+
get_ip(): string
|
|
1587
1587
|
get_ip_type(): number
|
|
1588
|
-
get_mac(): string
|
|
1588
|
+
get_mac(): string
|
|
1589
1589
|
get_prefix(): number
|
|
1590
1590
|
|
|
1591
1591
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.NetworkDHCPLease
|
|
@@ -1639,8 +1639,8 @@ interface NetworkFilter {
|
|
|
1639
1639
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.NetworkFilter
|
|
1640
1640
|
|
|
1641
1641
|
get_config(flags: number): LibvirtGConfig.NetworkFilter
|
|
1642
|
-
get_name(): string
|
|
1643
|
-
get_uuid(): string
|
|
1642
|
+
get_name(): string
|
|
1643
|
+
get_uuid(): string
|
|
1644
1644
|
|
|
1645
1645
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.NetworkFilter
|
|
1646
1646
|
|
|
@@ -1693,7 +1693,7 @@ interface NodeDevice {
|
|
|
1693
1693
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.NodeDevice
|
|
1694
1694
|
|
|
1695
1695
|
get_config(flags: number): LibvirtGConfig.NodeDevice
|
|
1696
|
-
get_name(): string
|
|
1696
|
+
get_name(): string
|
|
1697
1697
|
|
|
1698
1698
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.NodeDevice
|
|
1699
1699
|
|
|
@@ -1746,8 +1746,8 @@ interface Secret {
|
|
|
1746
1746
|
// Owm methods of LibvirtGObject-1.0.LibvirtGObject.Secret
|
|
1747
1747
|
|
|
1748
1748
|
get_config(flags: number): LibvirtGConfig.Secret
|
|
1749
|
-
get_name(): string
|
|
1750
|
-
get_uuid(): string
|
|
1749
|
+
get_name(): string
|
|
1750
|
+
get_uuid(): string
|
|
1751
1751
|
|
|
1752
1752
|
// Class property signals of LibvirtGObject-1.0.LibvirtGObject.Secret
|
|
1753
1753
|
|
|
@@ -1834,10 +1834,10 @@ interface StoragePool {
|
|
|
1834
1834
|
get_autostart(): boolean
|
|
1835
1835
|
get_config(flags: number): LibvirtGConfig.StoragePool
|
|
1836
1836
|
get_info(): StoragePoolInfo
|
|
1837
|
-
get_name(): string
|
|
1837
|
+
get_name(): string
|
|
1838
1838
|
get_persistent(): boolean
|
|
1839
|
-
get_uuid(): string
|
|
1840
|
-
get_volume(name: string
|
|
1839
|
+
get_uuid(): string
|
|
1840
|
+
get_volume(name: string): StorageVol
|
|
1841
1841
|
get_volumes(): StorageVol[]
|
|
1842
1842
|
refresh(cancellable: Gio.Cancellable | null): boolean
|
|
1843
1843
|
refresh_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -1964,8 +1964,8 @@ interface StorageVol {
|
|
|
1964
1964
|
download(stream: Stream, offset: number, length: number, flags: number): boolean
|
|
1965
1965
|
get_config(flags: number): LibvirtGConfig.StorageVol
|
|
1966
1966
|
get_info(): StorageVolInfo
|
|
1967
|
-
get_name(): string
|
|
1968
|
-
get_path(): string
|
|
1967
|
+
get_name(): string
|
|
1968
|
+
get_path(): string
|
|
1969
1969
|
/**
|
|
1970
1970
|
* Changes the capacity of the storage volume `vol` to `capacity`.
|
|
1971
1971
|
* @param capacity the new capacity of the volume
|
|
@@ -2075,7 +2075,7 @@ interface Stream {
|
|
|
2075
2075
|
* @param cancellable a %GCancellable or %NULL
|
|
2076
2076
|
* @returns Number of bytes written.
|
|
2077
2077
|
*/
|
|
2078
|
-
send(buffer: string
|
|
2078
|
+
send(buffer: string, size: number, cancellable: Gio.Cancellable | null): number
|
|
2079
2079
|
/**
|
|
2080
2080
|
* Send the entire data stream, sending the data to the
|
|
2081
2081
|
* requested data source. This is simply a convenient alternative
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/libvirtgobject-1.0",
|
|
3
|
-
"version": "1.0.0-3.2.
|
|
3
|
+
"version": "1.0.0-3.2.7",
|
|
4
4
|
"description": "GJS TypeScript type definitions for LibvirtGObject-1.0, generated from library version 1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "libvirtgobject-1.0.js",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit libvirtgobject-1.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
29
|
-
"@girs/gjs": "^3.2.
|
|
30
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
31
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
32
|
-
"@girs/libvirtgconfig-1.0": "^1.0.0-3.2.
|
|
33
|
-
"@girs/libvirtglib-1.0": "^1.0.0-3.2.
|
|
34
|
-
"@girs/libxml2-2.0": "^2.0.0-3.2.
|
|
28
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
29
|
+
"@girs/gjs": "^3.2.7",
|
|
30
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
31
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
32
|
+
"@girs/libvirtgconfig-1.0": "^1.0.0-3.2.7",
|
|
33
|
+
"@girs/libvirtglib-1.0": "^1.0.0-3.2.7",
|
|
34
|
+
"@girs/libxml2-2.0": "^2.0.0-3.2.7"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"typescript": "*"
|