@girs/javascriptcore-6.0 2.48.0-4.0.0-beta.23 → 2.48.0-4.0.0-beta.25
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/javascriptcore-6.0.d.ts +186 -10
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for JavaScriptCore-6.0, generated from library version 2.48.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for JavaScriptCore-6.0, generated from library version 2.48.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.25.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/javascriptcore-6.0.d.ts
CHANGED
|
@@ -422,6 +422,13 @@ export namespace JavaScriptCore {
|
|
|
422
422
|
WRITABLE,
|
|
423
423
|
}
|
|
424
424
|
namespace Class {
|
|
425
|
+
// Signal signatures
|
|
426
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
427
|
+
'notify::context': (pspec: GObject.ParamSpec) => void;
|
|
428
|
+
'notify::name': (pspec: GObject.ParamSpec) => void;
|
|
429
|
+
'notify::parent': (pspec: GObject.ParamSpec) => void;
|
|
430
|
+
}
|
|
431
|
+
|
|
425
432
|
// Constructor properties interface
|
|
426
433
|
|
|
427
434
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -456,12 +463,39 @@ export namespace JavaScriptCore {
|
|
|
456
463
|
*/
|
|
457
464
|
get parent(): Class;
|
|
458
465
|
|
|
466
|
+
/**
|
|
467
|
+
* Compile-time signal type information.
|
|
468
|
+
*
|
|
469
|
+
* This instance property is generated only for TypeScript type checking.
|
|
470
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
471
|
+
* @internal
|
|
472
|
+
*/
|
|
473
|
+
$signals: Class.SignalSignatures;
|
|
474
|
+
|
|
459
475
|
// Constructors
|
|
460
476
|
|
|
461
477
|
constructor(properties?: Partial<Class.ConstructorProps>, ...args: any[]);
|
|
462
478
|
|
|
463
479
|
_init(...args: any[]): void;
|
|
464
480
|
|
|
481
|
+
// Signals
|
|
482
|
+
|
|
483
|
+
connect<K extends keyof Class.SignalSignatures>(
|
|
484
|
+
signal: K,
|
|
485
|
+
callback: GObject.SignalCallback<this, Class.SignalSignatures[K]>,
|
|
486
|
+
): number;
|
|
487
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
488
|
+
connect_after<K extends keyof Class.SignalSignatures>(
|
|
489
|
+
signal: K,
|
|
490
|
+
callback: GObject.SignalCallback<this, Class.SignalSignatures[K]>,
|
|
491
|
+
): number;
|
|
492
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
493
|
+
emit<K extends keyof Class.SignalSignatures>(
|
|
494
|
+
signal: K,
|
|
495
|
+
...args: GObject.GjsParameters<Class.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
496
|
+
): void;
|
|
497
|
+
emit(signal: string, ...args: any[]): void;
|
|
498
|
+
|
|
465
499
|
// Methods
|
|
466
500
|
|
|
467
501
|
/**
|
|
@@ -593,6 +627,11 @@ export namespace JavaScriptCore {
|
|
|
593
627
|
}
|
|
594
628
|
|
|
595
629
|
namespace Context {
|
|
630
|
+
// Signal signatures
|
|
631
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
632
|
+
'notify::virtual-machine': (pspec: GObject.ParamSpec) => void;
|
|
633
|
+
}
|
|
634
|
+
|
|
596
635
|
// Constructor properties interface
|
|
597
636
|
|
|
598
637
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -624,6 +663,15 @@ export namespace JavaScriptCore {
|
|
|
624
663
|
*/
|
|
625
664
|
get virtualMachine(): VirtualMachine;
|
|
626
665
|
|
|
666
|
+
/**
|
|
667
|
+
* Compile-time signal type information.
|
|
668
|
+
*
|
|
669
|
+
* This instance property is generated only for TypeScript type checking.
|
|
670
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
671
|
+
* @internal
|
|
672
|
+
*/
|
|
673
|
+
$signals: Context.SignalSignatures;
|
|
674
|
+
|
|
627
675
|
// Constructors
|
|
628
676
|
|
|
629
677
|
constructor(properties?: Partial<Context.ConstructorProps>, ...args: any[]);
|
|
@@ -634,6 +682,24 @@ export namespace JavaScriptCore {
|
|
|
634
682
|
|
|
635
683
|
static new_with_virtual_machine(vm: VirtualMachine): Context;
|
|
636
684
|
|
|
685
|
+
// Signals
|
|
686
|
+
|
|
687
|
+
connect<K extends keyof Context.SignalSignatures>(
|
|
688
|
+
signal: K,
|
|
689
|
+
callback: GObject.SignalCallback<this, Context.SignalSignatures[K]>,
|
|
690
|
+
): number;
|
|
691
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
692
|
+
connect_after<K extends keyof Context.SignalSignatures>(
|
|
693
|
+
signal: K,
|
|
694
|
+
callback: GObject.SignalCallback<this, Context.SignalSignatures[K]>,
|
|
695
|
+
): number;
|
|
696
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
697
|
+
emit<K extends keyof Context.SignalSignatures>(
|
|
698
|
+
signal: K,
|
|
699
|
+
...args: GObject.GjsParameters<Context.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
700
|
+
): void;
|
|
701
|
+
emit(signal: string, ...args: any[]): void;
|
|
702
|
+
|
|
637
703
|
// Static methods
|
|
638
704
|
|
|
639
705
|
/**
|
|
@@ -792,6 +858,9 @@ export namespace JavaScriptCore {
|
|
|
792
858
|
}
|
|
793
859
|
|
|
794
860
|
namespace Exception {
|
|
861
|
+
// Signal signatures
|
|
862
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
863
|
+
|
|
795
864
|
// Constructor properties interface
|
|
796
865
|
|
|
797
866
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -803,6 +872,15 @@ export namespace JavaScriptCore {
|
|
|
803
872
|
class Exception extends GObject.Object {
|
|
804
873
|
static $gtype: GObject.GType<Exception>;
|
|
805
874
|
|
|
875
|
+
/**
|
|
876
|
+
* Compile-time signal type information.
|
|
877
|
+
*
|
|
878
|
+
* This instance property is generated only for TypeScript type checking.
|
|
879
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
880
|
+
* @internal
|
|
881
|
+
*/
|
|
882
|
+
$signals: Exception.SignalSignatures;
|
|
883
|
+
|
|
806
884
|
// Constructors
|
|
807
885
|
|
|
808
886
|
constructor(properties?: Partial<Exception.ConstructorProps>, ...args: any[]);
|
|
@@ -813,6 +891,24 @@ export namespace JavaScriptCore {
|
|
|
813
891
|
|
|
814
892
|
static new_with_name(context: Context, name: string, message: string): Exception;
|
|
815
893
|
|
|
894
|
+
// Signals
|
|
895
|
+
|
|
896
|
+
connect<K extends keyof Exception.SignalSignatures>(
|
|
897
|
+
signal: K,
|
|
898
|
+
callback: GObject.SignalCallback<this, Exception.SignalSignatures[K]>,
|
|
899
|
+
): number;
|
|
900
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
901
|
+
connect_after<K extends keyof Exception.SignalSignatures>(
|
|
902
|
+
signal: K,
|
|
903
|
+
callback: GObject.SignalCallback<this, Exception.SignalSignatures[K]>,
|
|
904
|
+
): number;
|
|
905
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
906
|
+
emit<K extends keyof Exception.SignalSignatures>(
|
|
907
|
+
signal: K,
|
|
908
|
+
...args: GObject.GjsParameters<Exception.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
909
|
+
): void;
|
|
910
|
+
emit(signal: string, ...args: any[]): void;
|
|
911
|
+
|
|
816
912
|
// Methods
|
|
817
913
|
|
|
818
914
|
/**
|
|
@@ -859,6 +955,11 @@ export namespace JavaScriptCore {
|
|
|
859
955
|
}
|
|
860
956
|
|
|
861
957
|
namespace Value {
|
|
958
|
+
// Signal signatures
|
|
959
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
960
|
+
'notify::context': (pspec: GObject.ParamSpec) => void;
|
|
961
|
+
}
|
|
962
|
+
|
|
862
963
|
// Constructor properties interface
|
|
863
964
|
|
|
864
965
|
interface ConstructorProps extends GObject.Object.ConstructorProps {
|
|
@@ -880,6 +981,15 @@ export namespace JavaScriptCore {
|
|
|
880
981
|
*/
|
|
881
982
|
get context(): Context;
|
|
882
983
|
|
|
984
|
+
/**
|
|
985
|
+
* Compile-time signal type information.
|
|
986
|
+
*
|
|
987
|
+
* This instance property is generated only for TypeScript type checking.
|
|
988
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
989
|
+
* @internal
|
|
990
|
+
*/
|
|
991
|
+
$signals: Value.SignalSignatures;
|
|
992
|
+
|
|
883
993
|
// Constructors
|
|
884
994
|
|
|
885
995
|
constructor(properties?: Partial<Value.ConstructorProps>, ...args: any[]);
|
|
@@ -934,6 +1044,24 @@ export namespace JavaScriptCore {
|
|
|
934
1044
|
|
|
935
1045
|
static new_undefined(context: Context): Value;
|
|
936
1046
|
|
|
1047
|
+
// Signals
|
|
1048
|
+
|
|
1049
|
+
connect<K extends keyof Value.SignalSignatures>(
|
|
1050
|
+
signal: K,
|
|
1051
|
+
callback: GObject.SignalCallback<this, Value.SignalSignatures[K]>,
|
|
1052
|
+
): number;
|
|
1053
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1054
|
+
connect_after<K extends keyof Value.SignalSignatures>(
|
|
1055
|
+
signal: K,
|
|
1056
|
+
callback: GObject.SignalCallback<this, Value.SignalSignatures[K]>,
|
|
1057
|
+
): number;
|
|
1058
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1059
|
+
emit<K extends keyof Value.SignalSignatures>(
|
|
1060
|
+
signal: K,
|
|
1061
|
+
...args: GObject.GjsParameters<Value.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
1062
|
+
): void;
|
|
1063
|
+
emit(signal: string, ...args: any[]): void;
|
|
1064
|
+
|
|
937
1065
|
// Methods
|
|
938
1066
|
|
|
939
1067
|
/**
|
|
@@ -1257,6 +1385,9 @@ export namespace JavaScriptCore {
|
|
|
1257
1385
|
}
|
|
1258
1386
|
|
|
1259
1387
|
namespace VirtualMachine {
|
|
1388
|
+
// Signal signatures
|
|
1389
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {}
|
|
1390
|
+
|
|
1260
1391
|
// Constructor properties interface
|
|
1261
1392
|
|
|
1262
1393
|
interface ConstructorProps extends GObject.Object.ConstructorProps {}
|
|
@@ -1273,6 +1404,15 @@ export namespace JavaScriptCore {
|
|
|
1273
1404
|
class VirtualMachine extends GObject.Object {
|
|
1274
1405
|
static $gtype: GObject.GType<VirtualMachine>;
|
|
1275
1406
|
|
|
1407
|
+
/**
|
|
1408
|
+
* Compile-time signal type information.
|
|
1409
|
+
*
|
|
1410
|
+
* This instance property is generated only for TypeScript type checking.
|
|
1411
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
1412
|
+
* @internal
|
|
1413
|
+
*/
|
|
1414
|
+
$signals: VirtualMachine.SignalSignatures;
|
|
1415
|
+
|
|
1276
1416
|
// Constructors
|
|
1277
1417
|
|
|
1278
1418
|
constructor(properties?: Partial<VirtualMachine.ConstructorProps>, ...args: any[]);
|
|
@@ -1280,13 +1420,31 @@ export namespace JavaScriptCore {
|
|
|
1280
1420
|
_init(...args: any[]): void;
|
|
1281
1421
|
|
|
1282
1422
|
static ['new'](): VirtualMachine;
|
|
1423
|
+
|
|
1424
|
+
// Signals
|
|
1425
|
+
|
|
1426
|
+
connect<K extends keyof VirtualMachine.SignalSignatures>(
|
|
1427
|
+
signal: K,
|
|
1428
|
+
callback: GObject.SignalCallback<this, VirtualMachine.SignalSignatures[K]>,
|
|
1429
|
+
): number;
|
|
1430
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1431
|
+
connect_after<K extends keyof VirtualMachine.SignalSignatures>(
|
|
1432
|
+
signal: K,
|
|
1433
|
+
callback: GObject.SignalCallback<this, VirtualMachine.SignalSignatures[K]>,
|
|
1434
|
+
): number;
|
|
1435
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1436
|
+
emit<K extends keyof VirtualMachine.SignalSignatures>(
|
|
1437
|
+
signal: K,
|
|
1438
|
+
...args: GObject.GjsParameters<VirtualMachine.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
1439
|
+
): void;
|
|
1440
|
+
emit(signal: string, ...args: any[]): void;
|
|
1283
1441
|
}
|
|
1284
1442
|
|
|
1285
1443
|
namespace WeakValue {
|
|
1286
|
-
// Signal
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
(
|
|
1444
|
+
// Signal signatures
|
|
1445
|
+
interface SignalSignatures extends GObject.Object.SignalSignatures {
|
|
1446
|
+
cleared: () => void;
|
|
1447
|
+
'notify::value': (pspec: GObject.ParamSpec) => void;
|
|
1290
1448
|
}
|
|
1291
1449
|
|
|
1292
1450
|
// Constructor properties interface
|
|
@@ -1311,6 +1469,15 @@ export namespace JavaScriptCore {
|
|
|
1311
1469
|
*/
|
|
1312
1470
|
set value(val: Value);
|
|
1313
1471
|
|
|
1472
|
+
/**
|
|
1473
|
+
* Compile-time signal type information.
|
|
1474
|
+
*
|
|
1475
|
+
* This instance property is generated only for TypeScript type checking.
|
|
1476
|
+
* It is not defined at runtime and should not be accessed in JS code.
|
|
1477
|
+
* @internal
|
|
1478
|
+
*/
|
|
1479
|
+
$signals: WeakValue.SignalSignatures;
|
|
1480
|
+
|
|
1314
1481
|
// Constructors
|
|
1315
1482
|
|
|
1316
1483
|
constructor(properties?: Partial<WeakValue.ConstructorProps>, ...args: any[]);
|
|
@@ -1321,12 +1488,21 @@ export namespace JavaScriptCore {
|
|
|
1321
1488
|
|
|
1322
1489
|
// Signals
|
|
1323
1490
|
|
|
1324
|
-
connect
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1491
|
+
connect<K extends keyof WeakValue.SignalSignatures>(
|
|
1492
|
+
signal: K,
|
|
1493
|
+
callback: GObject.SignalCallback<this, WeakValue.SignalSignatures[K]>,
|
|
1494
|
+
): number;
|
|
1495
|
+
connect(signal: string, callback: (...args: any[]) => any): number;
|
|
1496
|
+
connect_after<K extends keyof WeakValue.SignalSignatures>(
|
|
1497
|
+
signal: K,
|
|
1498
|
+
callback: GObject.SignalCallback<this, WeakValue.SignalSignatures[K]>,
|
|
1499
|
+
): number;
|
|
1500
|
+
connect_after(signal: string, callback: (...args: any[]) => any): number;
|
|
1501
|
+
emit<K extends keyof WeakValue.SignalSignatures>(
|
|
1502
|
+
signal: K,
|
|
1503
|
+
...args: GObject.GjsParameters<WeakValue.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
|
|
1504
|
+
): void;
|
|
1505
|
+
emit(signal: string, ...args: any[]): void;
|
|
1330
1506
|
|
|
1331
1507
|
// Methods
|
|
1332
1508
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/javascriptcore-6.0",
|
|
3
|
-
"version": "2.48.0-4.0.0-beta.
|
|
3
|
+
"version": "2.48.0-4.0.0-beta.25",
|
|
4
4
|
"description": "GJS TypeScript type definitions for JavaScriptCore-6.0, generated from library version 2.48.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "javascriptcore-6.0.js",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
35
|
-
"@girs/glib-2.0": "^2.84.
|
|
36
|
-
"@girs/gobject-2.0": "^2.84.
|
|
34
|
+
"@girs/gjs": "^4.0.0-beta.25",
|
|
35
|
+
"@girs/glib-2.0": "^2.84.2-4.0.0-beta.25",
|
|
36
|
+
"@girs/gobject-2.0": "^2.84.2-4.0.0-beta.25"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "*"
|