@girs/gitgext-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/gitgext-1.0.d.cts +36 -36
- package/gitgext-1.0.d.ts +36 -36
- package/package.json +18 -18
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for GitgExt-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 GitgExt-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
|
Gitg extensions library.
|
|
11
11
|
|
package/gitgext-1.0.d.cts
CHANGED
|
@@ -45,7 +45,7 @@ export interface MessageCallback {
|
|
|
45
45
|
(message: Message): void
|
|
46
46
|
}
|
|
47
47
|
export interface RefNameEditingDone {
|
|
48
|
-
(new_name: string
|
|
48
|
+
(new_name: string, cancelled: boolean): void
|
|
49
49
|
}
|
|
50
50
|
export module Action {
|
|
51
51
|
|
|
@@ -116,12 +116,12 @@ export interface Activity extends GObject.Object, UIElement {
|
|
|
116
116
|
|
|
117
117
|
// Owm methods of GitgExt-1.0.GitgExt.Activity
|
|
118
118
|
|
|
119
|
-
is_default_for(action: string
|
|
119
|
+
is_default_for(action: string): boolean
|
|
120
120
|
on_key_pressed(event: Gdk.EventKey): boolean
|
|
121
121
|
|
|
122
122
|
// Own virtual methods of GitgExt-1.0.GitgExt.Activity
|
|
123
123
|
|
|
124
|
-
vfunc_is_default_for(action: string
|
|
124
|
+
vfunc_is_default_for(action: string): boolean
|
|
125
125
|
vfunc_on_key_pressed(event: Gdk.EventKey): boolean
|
|
126
126
|
|
|
127
127
|
// Class property signals of GitgExt-1.0.GitgExt.Activity
|
|
@@ -206,8 +206,8 @@ export interface Application extends GObject.Object {
|
|
|
206
206
|
// Owm methods of GitgExt-1.0.GitgExt.Application
|
|
207
207
|
|
|
208
208
|
get_verified_committer(): Ggit.Signature | null
|
|
209
|
-
get_activity_by_id(id: string
|
|
210
|
-
set_activity_by_id(id: string
|
|
209
|
+
get_activity_by_id(id: string): Activity | null
|
|
210
|
+
set_activity_by_id(id: string): Activity | null
|
|
211
211
|
user_query(query: UserQuery): void
|
|
212
212
|
user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
|
|
213
213
|
|
|
@@ -223,7 +223,7 @@ export interface Application extends GObject.Object {
|
|
|
223
223
|
*/
|
|
224
224
|
user_query_async(query: UserQuery): globalThis.Promise<Gtk.ResponseType>
|
|
225
225
|
user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
|
|
226
|
-
show_infobar(primary_msg: string
|
|
226
|
+
show_infobar(primary_msg: string, secondary_msg: string, type: Gtk.MessageType): void
|
|
227
227
|
open_new(repository: Ggit.Repository, hint: string | null): Application
|
|
228
228
|
open_repository(path: Gio.File): void
|
|
229
229
|
get_repository(): Gitg.Repository | null
|
|
@@ -239,12 +239,12 @@ export interface Application extends GObject.Object {
|
|
|
239
239
|
// Own virtual methods of GitgExt-1.0.GitgExt.Application
|
|
240
240
|
|
|
241
241
|
vfunc_get_verified_committer(): Ggit.Signature | null
|
|
242
|
-
vfunc_get_activity_by_id(id: string
|
|
243
|
-
vfunc_set_activity_by_id(id: string
|
|
242
|
+
vfunc_get_activity_by_id(id: string): Activity | null
|
|
243
|
+
vfunc_set_activity_by_id(id: string): Activity | null
|
|
244
244
|
vfunc_user_query(query: UserQuery): void
|
|
245
245
|
vfunc_user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
|
|
246
246
|
vfunc_user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
|
|
247
|
-
vfunc_show_infobar(primary_msg: string
|
|
247
|
+
vfunc_show_infobar(primary_msg: string, secondary_msg: string, type: Gtk.MessageType): void
|
|
248
248
|
vfunc_open_new(repository: Ggit.Repository, hint: string | null): Application
|
|
249
249
|
vfunc_open_repository(path: Gio.File): void
|
|
250
250
|
vfunc_get_repository(): Gitg.Repository | null
|
|
@@ -920,11 +920,11 @@ export interface RemoteLookup extends GObject.Object {
|
|
|
920
920
|
|
|
921
921
|
// Owm methods of GitgExt-1.0.GitgExt.RemoteLookup
|
|
922
922
|
|
|
923
|
-
lookup(name: string
|
|
923
|
+
lookup(name: string): Gitg.Remote | null
|
|
924
924
|
|
|
925
925
|
// Own virtual methods of GitgExt-1.0.GitgExt.RemoteLookup
|
|
926
926
|
|
|
927
|
-
vfunc_lookup(name: string
|
|
927
|
+
vfunc_lookup(name: string): Gitg.Remote | null
|
|
928
928
|
|
|
929
929
|
// Class property signals of GitgExt-1.0.GitgExt.RemoteLookup
|
|
930
930
|
|
|
@@ -981,7 +981,7 @@ export interface Searchable extends GObject.Object, Activity {
|
|
|
981
981
|
// Owm methods of GitgExt-1.0.GitgExt.Searchable
|
|
982
982
|
|
|
983
983
|
get_search_text(): string | null
|
|
984
|
-
set_search_text(value: string
|
|
984
|
+
set_search_text(value: string): void
|
|
985
985
|
get_search_visible(): boolean
|
|
986
986
|
set_search_visible(value: boolean): void
|
|
987
987
|
get_search_available(): boolean
|
|
@@ -990,7 +990,7 @@ export interface Searchable extends GObject.Object, Activity {
|
|
|
990
990
|
// Own virtual methods of GitgExt-1.0.GitgExt.Searchable
|
|
991
991
|
|
|
992
992
|
vfunc_get_search_text(): string | null
|
|
993
|
-
vfunc_set_search_text(value: string
|
|
993
|
+
vfunc_set_search_text(value: string): void
|
|
994
994
|
vfunc_get_search_visible(): boolean
|
|
995
995
|
vfunc_set_search_visible(value: boolean): void
|
|
996
996
|
vfunc_get_search_available(): boolean
|
|
@@ -1310,7 +1310,7 @@ export interface MessageBus {
|
|
|
1310
1310
|
lookup(id: MessageId): GObject.GType
|
|
1311
1311
|
register(message_type: GObject.GType, id: MessageId): void
|
|
1312
1312
|
unregister(id: MessageId): void
|
|
1313
|
-
unregister_all(object_path: string
|
|
1313
|
+
unregister_all(object_path: string): void
|
|
1314
1314
|
is_registered(id: MessageId): boolean
|
|
1315
1315
|
connect(id: MessageId, callback: MessageCallback): number
|
|
1316
1316
|
disconnect(id: number): void
|
|
@@ -1387,10 +1387,10 @@ export interface MessageId {
|
|
|
1387
1387
|
hash(): number
|
|
1388
1388
|
equal(other: MessageId): boolean
|
|
1389
1389
|
copy(): MessageId
|
|
1390
|
-
get_object_path(): string
|
|
1391
|
-
set_object_path(value: string
|
|
1392
|
-
get_method(): string
|
|
1393
|
-
set_method(value: string
|
|
1390
|
+
get_object_path(): string
|
|
1391
|
+
set_object_path(value: string): void
|
|
1392
|
+
get_method(): string
|
|
1393
|
+
set_method(value: string): void
|
|
1394
1394
|
get_id(): string | null
|
|
1395
1395
|
|
|
1396
1396
|
// Class property signals of GitgExt-1.0.GitgExt.MessageId
|
|
@@ -1420,10 +1420,10 @@ export class MessageId extends GObject.Object {
|
|
|
1420
1420
|
// Constructors of GitgExt-1.0.GitgExt.MessageId
|
|
1421
1421
|
|
|
1422
1422
|
constructor(config?: MessageId.ConstructorProperties)
|
|
1423
|
-
constructor(object_path: string
|
|
1424
|
-
static new(object_path: string
|
|
1423
|
+
constructor(object_path: string, method: string)
|
|
1424
|
+
static new(object_path: string, method: string): MessageId
|
|
1425
1425
|
_init(config?: MessageId.ConstructorProperties): void
|
|
1426
|
-
static valid_object_path(path: string
|
|
1426
|
+
static valid_object_path(path: string): boolean
|
|
1427
1427
|
}
|
|
1428
1428
|
|
|
1429
1429
|
export module Message {
|
|
@@ -1447,7 +1447,7 @@ export interface Message {
|
|
|
1447
1447
|
|
|
1448
1448
|
// Owm methods of GitgExt-1.0.GitgExt.Message
|
|
1449
1449
|
|
|
1450
|
-
has(propname: string
|
|
1450
|
+
has(propname: string): boolean
|
|
1451
1451
|
get_id(): MessageId
|
|
1452
1452
|
set_id(value: MessageId): void
|
|
1453
1453
|
|
|
@@ -1473,8 +1473,8 @@ export class Message extends GObject.Object {
|
|
|
1473
1473
|
|
|
1474
1474
|
constructor(config?: Message.ConstructorProperties)
|
|
1475
1475
|
_init(config?: Message.ConstructorProperties): void
|
|
1476
|
-
static type_has(type: GObject.GType, propname: string
|
|
1477
|
-
static type_check(type: GObject.GType, propname: string
|
|
1476
|
+
static type_has(type: GObject.GType, propname: string): boolean
|
|
1477
|
+
static type_check(type: GObject.GType, propname: string, value_type: GObject.GType): boolean
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
1480
1480
|
export interface UI {
|
|
@@ -1530,8 +1530,8 @@ export class UserQueryResponse extends GObject.Object {
|
|
|
1530
1530
|
// Constructors of GitgExt-1.0.GitgExt.UserQueryResponse
|
|
1531
1531
|
|
|
1532
1532
|
constructor(config?: UserQueryResponse.ConstructorProperties)
|
|
1533
|
-
constructor(text: string
|
|
1534
|
-
static new(text: string
|
|
1533
|
+
constructor(text: string, response_type: Gtk.ResponseType)
|
|
1534
|
+
static new(text: string, response_type: Gtk.ResponseType): UserQueryResponse
|
|
1535
1535
|
_init(config?: UserQueryResponse.ConstructorProperties): void
|
|
1536
1536
|
}
|
|
1537
1537
|
|
|
@@ -1598,10 +1598,10 @@ export interface UserQuery {
|
|
|
1598
1598
|
|
|
1599
1599
|
get_responses(): UserQueryResponse[]
|
|
1600
1600
|
set_responses(value: UserQueryResponse[]): void
|
|
1601
|
-
get_title(): string
|
|
1602
|
-
set_title(value: string
|
|
1603
|
-
get_message(): string
|
|
1604
|
-
set_message(value: string
|
|
1601
|
+
get_title(): string
|
|
1602
|
+
set_title(value: string): void
|
|
1603
|
+
get_message(): string
|
|
1604
|
+
set_message(value: string): void
|
|
1605
1605
|
get_message_type(): Gtk.MessageType
|
|
1606
1606
|
set_message_type(value: Gtk.MessageType): void
|
|
1607
1607
|
get_default_response(): Gtk.ResponseType
|
|
@@ -1825,7 +1825,7 @@ export interface ActivityIface {
|
|
|
1825
1825
|
|
|
1826
1826
|
// Own fields of GitgExt-1.0.GitgExt.ActivityIface
|
|
1827
1827
|
|
|
1828
|
-
is_default_for: (self: Activity, action: string
|
|
1828
|
+
is_default_for: (self: Activity, action: string) => boolean
|
|
1829
1829
|
on_key_pressed: (self: Activity, event: Gdk.EventKey) => boolean
|
|
1830
1830
|
}
|
|
1831
1831
|
|
|
@@ -1841,12 +1841,12 @@ export interface ApplicationIface {
|
|
|
1841
1841
|
// Own fields of GitgExt-1.0.GitgExt.ApplicationIface
|
|
1842
1842
|
|
|
1843
1843
|
get_verified_committer: (self: Application) => Ggit.Signature | null
|
|
1844
|
-
get_activity_by_id: (self: Application, id: string
|
|
1845
|
-
set_activity_by_id: (self: Application, id: string
|
|
1844
|
+
get_activity_by_id: (self: Application, id: string) => Activity | null
|
|
1845
|
+
set_activity_by_id: (self: Application, id: string) => Activity | null
|
|
1846
1846
|
user_query: (self: Application, query: UserQuery) => void
|
|
1847
1847
|
user_query_async: (self: Application, query: UserQuery, _callback_: Gio.AsyncReadyCallback | null) => void
|
|
1848
1848
|
user_query_finish: (self: Application, _res_: Gio.AsyncResult) => Gtk.ResponseType
|
|
1849
|
-
show_infobar: (self: Application, primary_msg: string
|
|
1849
|
+
show_infobar: (self: Application, primary_msg: string, secondary_msg: string, type: Gtk.MessageType) => void
|
|
1850
1850
|
open_new: (self: Application, repository: Ggit.Repository, hint: string | null) => Application
|
|
1851
1851
|
open_repository: (self: Application, path: Gio.File) => void
|
|
1852
1852
|
get_repository: (self: Application) => Gitg.Repository | null
|
|
@@ -2018,7 +2018,7 @@ export interface RemoteLookupIface {
|
|
|
2018
2018
|
|
|
2019
2019
|
// Own fields of GitgExt-1.0.GitgExt.RemoteLookupIface
|
|
2020
2020
|
|
|
2021
|
-
lookup: (self: RemoteLookup, name: string
|
|
2021
|
+
lookup: (self: RemoteLookup, name: string) => Gitg.Remote | null
|
|
2022
2022
|
}
|
|
2023
2023
|
|
|
2024
2024
|
export abstract class RemoteLookupIface {
|
|
@@ -2033,7 +2033,7 @@ export interface SearchableIface {
|
|
|
2033
2033
|
// Own fields of GitgExt-1.0.GitgExt.SearchableIface
|
|
2034
2034
|
|
|
2035
2035
|
get_search_text: (self: Searchable) => string | null
|
|
2036
|
-
set_search_text: (self: Searchable, value: string
|
|
2036
|
+
set_search_text: (self: Searchable, value: string) => void
|
|
2037
2037
|
get_search_visible: (self: Searchable) => boolean
|
|
2038
2038
|
set_search_visible: (self: Searchable, value: boolean) => void
|
|
2039
2039
|
get_search_available: (self: Searchable) => boolean
|
package/gitgext-1.0.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ interface MessageCallback {
|
|
|
47
47
|
(message: Message): void
|
|
48
48
|
}
|
|
49
49
|
interface RefNameEditingDone {
|
|
50
|
-
(new_name: string
|
|
50
|
+
(new_name: string, cancelled: boolean): void
|
|
51
51
|
}
|
|
52
52
|
module Action {
|
|
53
53
|
|
|
@@ -118,12 +118,12 @@ interface Activity extends GObject.Object, UIElement {
|
|
|
118
118
|
|
|
119
119
|
// Owm methods of GitgExt-1.0.GitgExt.Activity
|
|
120
120
|
|
|
121
|
-
is_default_for(action: string
|
|
121
|
+
is_default_for(action: string): boolean
|
|
122
122
|
on_key_pressed(event: Gdk.EventKey): boolean
|
|
123
123
|
|
|
124
124
|
// Own virtual methods of GitgExt-1.0.GitgExt.Activity
|
|
125
125
|
|
|
126
|
-
vfunc_is_default_for(action: string
|
|
126
|
+
vfunc_is_default_for(action: string): boolean
|
|
127
127
|
vfunc_on_key_pressed(event: Gdk.EventKey): boolean
|
|
128
128
|
|
|
129
129
|
// Class property signals of GitgExt-1.0.GitgExt.Activity
|
|
@@ -208,8 +208,8 @@ interface Application extends GObject.Object {
|
|
|
208
208
|
// Owm methods of GitgExt-1.0.GitgExt.Application
|
|
209
209
|
|
|
210
210
|
get_verified_committer(): Ggit.Signature | null
|
|
211
|
-
get_activity_by_id(id: string
|
|
212
|
-
set_activity_by_id(id: string
|
|
211
|
+
get_activity_by_id(id: string): Activity | null
|
|
212
|
+
set_activity_by_id(id: string): Activity | null
|
|
213
213
|
user_query(query: UserQuery): void
|
|
214
214
|
user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
|
|
215
215
|
|
|
@@ -225,7 +225,7 @@ interface Application extends GObject.Object {
|
|
|
225
225
|
*/
|
|
226
226
|
user_query_async(query: UserQuery): globalThis.Promise<Gtk.ResponseType>
|
|
227
227
|
user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
|
|
228
|
-
show_infobar(primary_msg: string
|
|
228
|
+
show_infobar(primary_msg: string, secondary_msg: string, type: Gtk.MessageType): void
|
|
229
229
|
open_new(repository: Ggit.Repository, hint: string | null): Application
|
|
230
230
|
open_repository(path: Gio.File): void
|
|
231
231
|
get_repository(): Gitg.Repository | null
|
|
@@ -241,12 +241,12 @@ interface Application extends GObject.Object {
|
|
|
241
241
|
// Own virtual methods of GitgExt-1.0.GitgExt.Application
|
|
242
242
|
|
|
243
243
|
vfunc_get_verified_committer(): Ggit.Signature | null
|
|
244
|
-
vfunc_get_activity_by_id(id: string
|
|
245
|
-
vfunc_set_activity_by_id(id: string
|
|
244
|
+
vfunc_get_activity_by_id(id: string): Activity | null
|
|
245
|
+
vfunc_set_activity_by_id(id: string): Activity | null
|
|
246
246
|
vfunc_user_query(query: UserQuery): void
|
|
247
247
|
vfunc_user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
|
|
248
248
|
vfunc_user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
|
|
249
|
-
vfunc_show_infobar(primary_msg: string
|
|
249
|
+
vfunc_show_infobar(primary_msg: string, secondary_msg: string, type: Gtk.MessageType): void
|
|
250
250
|
vfunc_open_new(repository: Ggit.Repository, hint: string | null): Application
|
|
251
251
|
vfunc_open_repository(path: Gio.File): void
|
|
252
252
|
vfunc_get_repository(): Gitg.Repository | null
|
|
@@ -922,11 +922,11 @@ interface RemoteLookup extends GObject.Object {
|
|
|
922
922
|
|
|
923
923
|
// Owm methods of GitgExt-1.0.GitgExt.RemoteLookup
|
|
924
924
|
|
|
925
|
-
lookup(name: string
|
|
925
|
+
lookup(name: string): Gitg.Remote | null
|
|
926
926
|
|
|
927
927
|
// Own virtual methods of GitgExt-1.0.GitgExt.RemoteLookup
|
|
928
928
|
|
|
929
|
-
vfunc_lookup(name: string
|
|
929
|
+
vfunc_lookup(name: string): Gitg.Remote | null
|
|
930
930
|
|
|
931
931
|
// Class property signals of GitgExt-1.0.GitgExt.RemoteLookup
|
|
932
932
|
|
|
@@ -983,7 +983,7 @@ interface Searchable extends GObject.Object, Activity {
|
|
|
983
983
|
// Owm methods of GitgExt-1.0.GitgExt.Searchable
|
|
984
984
|
|
|
985
985
|
get_search_text(): string | null
|
|
986
|
-
set_search_text(value: string
|
|
986
|
+
set_search_text(value: string): void
|
|
987
987
|
get_search_visible(): boolean
|
|
988
988
|
set_search_visible(value: boolean): void
|
|
989
989
|
get_search_available(): boolean
|
|
@@ -992,7 +992,7 @@ interface Searchable extends GObject.Object, Activity {
|
|
|
992
992
|
// Own virtual methods of GitgExt-1.0.GitgExt.Searchable
|
|
993
993
|
|
|
994
994
|
vfunc_get_search_text(): string | null
|
|
995
|
-
vfunc_set_search_text(value: string
|
|
995
|
+
vfunc_set_search_text(value: string): void
|
|
996
996
|
vfunc_get_search_visible(): boolean
|
|
997
997
|
vfunc_set_search_visible(value: boolean): void
|
|
998
998
|
vfunc_get_search_available(): boolean
|
|
@@ -1312,7 +1312,7 @@ interface MessageBus {
|
|
|
1312
1312
|
lookup(id: MessageId): GObject.GType
|
|
1313
1313
|
register(message_type: GObject.GType, id: MessageId): void
|
|
1314
1314
|
unregister(id: MessageId): void
|
|
1315
|
-
unregister_all(object_path: string
|
|
1315
|
+
unregister_all(object_path: string): void
|
|
1316
1316
|
is_registered(id: MessageId): boolean
|
|
1317
1317
|
connect(id: MessageId, callback: MessageCallback): number
|
|
1318
1318
|
disconnect(id: number): void
|
|
@@ -1389,10 +1389,10 @@ interface MessageId {
|
|
|
1389
1389
|
hash(): number
|
|
1390
1390
|
equal(other: MessageId): boolean
|
|
1391
1391
|
copy(): MessageId
|
|
1392
|
-
get_object_path(): string
|
|
1393
|
-
set_object_path(value: string
|
|
1394
|
-
get_method(): string
|
|
1395
|
-
set_method(value: string
|
|
1392
|
+
get_object_path(): string
|
|
1393
|
+
set_object_path(value: string): void
|
|
1394
|
+
get_method(): string
|
|
1395
|
+
set_method(value: string): void
|
|
1396
1396
|
get_id(): string | null
|
|
1397
1397
|
|
|
1398
1398
|
// Class property signals of GitgExt-1.0.GitgExt.MessageId
|
|
@@ -1422,10 +1422,10 @@ class MessageId extends GObject.Object {
|
|
|
1422
1422
|
// Constructors of GitgExt-1.0.GitgExt.MessageId
|
|
1423
1423
|
|
|
1424
1424
|
constructor(config?: MessageId.ConstructorProperties)
|
|
1425
|
-
constructor(object_path: string
|
|
1426
|
-
static new(object_path: string
|
|
1425
|
+
constructor(object_path: string, method: string)
|
|
1426
|
+
static new(object_path: string, method: string): MessageId
|
|
1427
1427
|
_init(config?: MessageId.ConstructorProperties): void
|
|
1428
|
-
static valid_object_path(path: string
|
|
1428
|
+
static valid_object_path(path: string): boolean
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
1431
|
module Message {
|
|
@@ -1449,7 +1449,7 @@ interface Message {
|
|
|
1449
1449
|
|
|
1450
1450
|
// Owm methods of GitgExt-1.0.GitgExt.Message
|
|
1451
1451
|
|
|
1452
|
-
has(propname: string
|
|
1452
|
+
has(propname: string): boolean
|
|
1453
1453
|
get_id(): MessageId
|
|
1454
1454
|
set_id(value: MessageId): void
|
|
1455
1455
|
|
|
@@ -1475,8 +1475,8 @@ class Message extends GObject.Object {
|
|
|
1475
1475
|
|
|
1476
1476
|
constructor(config?: Message.ConstructorProperties)
|
|
1477
1477
|
_init(config?: Message.ConstructorProperties): void
|
|
1478
|
-
static type_has(type: GObject.GType, propname: string
|
|
1479
|
-
static type_check(type: GObject.GType, propname: string
|
|
1478
|
+
static type_has(type: GObject.GType, propname: string): boolean
|
|
1479
|
+
static type_check(type: GObject.GType, propname: string, value_type: GObject.GType): boolean
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
1482
|
interface UI {
|
|
@@ -1532,8 +1532,8 @@ class UserQueryResponse extends GObject.Object {
|
|
|
1532
1532
|
// Constructors of GitgExt-1.0.GitgExt.UserQueryResponse
|
|
1533
1533
|
|
|
1534
1534
|
constructor(config?: UserQueryResponse.ConstructorProperties)
|
|
1535
|
-
constructor(text: string
|
|
1536
|
-
static new(text: string
|
|
1535
|
+
constructor(text: string, response_type: Gtk.ResponseType)
|
|
1536
|
+
static new(text: string, response_type: Gtk.ResponseType): UserQueryResponse
|
|
1537
1537
|
_init(config?: UserQueryResponse.ConstructorProperties): void
|
|
1538
1538
|
}
|
|
1539
1539
|
|
|
@@ -1600,10 +1600,10 @@ interface UserQuery {
|
|
|
1600
1600
|
|
|
1601
1601
|
get_responses(): UserQueryResponse[]
|
|
1602
1602
|
set_responses(value: UserQueryResponse[]): void
|
|
1603
|
-
get_title(): string
|
|
1604
|
-
set_title(value: string
|
|
1605
|
-
get_message(): string
|
|
1606
|
-
set_message(value: string
|
|
1603
|
+
get_title(): string
|
|
1604
|
+
set_title(value: string): void
|
|
1605
|
+
get_message(): string
|
|
1606
|
+
set_message(value: string): void
|
|
1607
1607
|
get_message_type(): Gtk.MessageType
|
|
1608
1608
|
set_message_type(value: Gtk.MessageType): void
|
|
1609
1609
|
get_default_response(): Gtk.ResponseType
|
|
@@ -1827,7 +1827,7 @@ interface ActivityIface {
|
|
|
1827
1827
|
|
|
1828
1828
|
// Own fields of GitgExt-1.0.GitgExt.ActivityIface
|
|
1829
1829
|
|
|
1830
|
-
is_default_for: (self: Activity, action: string
|
|
1830
|
+
is_default_for: (self: Activity, action: string) => boolean
|
|
1831
1831
|
on_key_pressed: (self: Activity, event: Gdk.EventKey) => boolean
|
|
1832
1832
|
}
|
|
1833
1833
|
|
|
@@ -1843,12 +1843,12 @@ interface ApplicationIface {
|
|
|
1843
1843
|
// Own fields of GitgExt-1.0.GitgExt.ApplicationIface
|
|
1844
1844
|
|
|
1845
1845
|
get_verified_committer: (self: Application) => Ggit.Signature | null
|
|
1846
|
-
get_activity_by_id: (self: Application, id: string
|
|
1847
|
-
set_activity_by_id: (self: Application, id: string
|
|
1846
|
+
get_activity_by_id: (self: Application, id: string) => Activity | null
|
|
1847
|
+
set_activity_by_id: (self: Application, id: string) => Activity | null
|
|
1848
1848
|
user_query: (self: Application, query: UserQuery) => void
|
|
1849
1849
|
user_query_async: (self: Application, query: UserQuery, _callback_: Gio.AsyncReadyCallback | null) => void
|
|
1850
1850
|
user_query_finish: (self: Application, _res_: Gio.AsyncResult) => Gtk.ResponseType
|
|
1851
|
-
show_infobar: (self: Application, primary_msg: string
|
|
1851
|
+
show_infobar: (self: Application, primary_msg: string, secondary_msg: string, type: Gtk.MessageType) => void
|
|
1852
1852
|
open_new: (self: Application, repository: Ggit.Repository, hint: string | null) => Application
|
|
1853
1853
|
open_repository: (self: Application, path: Gio.File) => void
|
|
1854
1854
|
get_repository: (self: Application) => Gitg.Repository | null
|
|
@@ -2020,7 +2020,7 @@ interface RemoteLookupIface {
|
|
|
2020
2020
|
|
|
2021
2021
|
// Own fields of GitgExt-1.0.GitgExt.RemoteLookupIface
|
|
2022
2022
|
|
|
2023
|
-
lookup: (self: RemoteLookup, name: string
|
|
2023
|
+
lookup: (self: RemoteLookup, name: string) => Gitg.Remote | null
|
|
2024
2024
|
}
|
|
2025
2025
|
|
|
2026
2026
|
abstract class RemoteLookupIface {
|
|
@@ -2035,7 +2035,7 @@ interface SearchableIface {
|
|
|
2035
2035
|
// Own fields of GitgExt-1.0.GitgExt.SearchableIface
|
|
2036
2036
|
|
|
2037
2037
|
get_search_text: (self: Searchable) => string | null
|
|
2038
|
-
set_search_text: (self: Searchable, value: string
|
|
2038
|
+
set_search_text: (self: Searchable, value: string) => void
|
|
2039
2039
|
get_search_visible: (self: Searchable) => boolean
|
|
2040
2040
|
set_search_visible: (self: Searchable, value: boolean) => void
|
|
2041
2041
|
get_search_available: (self: Searchable) => boolean
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gitgext-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 GitgExt-1.0, generated from library version 1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gitgext-1.0.js",
|
|
@@ -25,23 +25,23 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gitgext-1.0.d.cts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@girs/atk-1.0": "^2.50.0-3.2.
|
|
29
|
-
"@girs/cairo-1.0": "^1.0.0-3.2.
|
|
30
|
-
"@girs/freetype2-2.0": "^2.0.0-3.2.
|
|
31
|
-
"@girs/gdk-3.0": "^3.24.38-3.2.
|
|
32
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.
|
|
33
|
-
"@girs/gee-0.8": "^0.8.0-3.2.
|
|
34
|
-
"@girs/ggit-1.0": "^1.1.0-3.2.
|
|
35
|
-
"@girs/gio-2.0": "^2.78.0-3.2.
|
|
36
|
-
"@girs/gitg-1.0": "^1.0.0-3.2.
|
|
37
|
-
"@girs/gjs": "^3.2.
|
|
38
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
39
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
40
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
41
|
-
"@girs/gtk-3.0": "^3.24.38-3.2.
|
|
42
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
43
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
44
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
28
|
+
"@girs/atk-1.0": "^2.50.0-3.2.7",
|
|
29
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.7",
|
|
30
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.7",
|
|
31
|
+
"@girs/gdk-3.0": "^3.24.38-3.2.7",
|
|
32
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
|
|
33
|
+
"@girs/gee-0.8": "^0.8.0-3.2.7",
|
|
34
|
+
"@girs/ggit-1.0": "^1.1.0-3.2.7",
|
|
35
|
+
"@girs/gio-2.0": "^2.78.0-3.2.7",
|
|
36
|
+
"@girs/gitg-1.0": "^1.0.0-3.2.7",
|
|
37
|
+
"@girs/gjs": "^3.2.7",
|
|
38
|
+
"@girs/glib-2.0": "^2.78.0-3.2.7",
|
|
39
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.7",
|
|
40
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.7",
|
|
41
|
+
"@girs/gtk-3.0": "^3.24.38-3.2.7",
|
|
42
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
|
|
43
|
+
"@girs/pango-1.0": "^1.51.0-3.2.7",
|
|
44
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"typescript": "*"
|