@girs/gitgext-1.0 1.0.0-3.2.5 → 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 CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gitgext-1.0)
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.5.
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 | null, cancelled: boolean): void
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 | null): boolean
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 | null): boolean
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
@@ -194,17 +194,20 @@ export interface Application extends GObject.Object {
194
194
 
195
195
  repository: Gitg.Repository
196
196
  readonly message_bus: MessageBus
197
+ readonly messageBus: MessageBus
197
198
  readonly current_activity: Activity
199
+ readonly currentActivity: Activity
198
200
  readonly environment: Gee.Map
199
201
  readonly notifications: Notifications
200
202
  busy: boolean
201
203
  readonly remote_lookup: RemoteLookup
204
+ readonly remoteLookup: RemoteLookup
202
205
 
203
206
  // Owm methods of GitgExt-1.0.GitgExt.Application
204
207
 
205
208
  get_verified_committer(): Ggit.Signature | null
206
- get_activity_by_id(id: string | null): Activity | null
207
- set_activity_by_id(id: string | null): Activity | null
209
+ get_activity_by_id(id: string): Activity | null
210
+ set_activity_by_id(id: string): Activity | null
208
211
  user_query(query: UserQuery): void
209
212
  user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
210
213
 
@@ -220,7 +223,7 @@ export interface Application extends GObject.Object {
220
223
  */
221
224
  user_query_async(query: UserQuery): globalThis.Promise<Gtk.ResponseType>
222
225
  user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
223
- show_infobar(primary_msg: string | null, secondary_msg: string | null, type: Gtk.MessageType): void
226
+ show_infobar(primary_msg: string, secondary_msg: string, type: Gtk.MessageType): void
224
227
  open_new(repository: Ggit.Repository, hint: string | null): Application
225
228
  open_repository(path: Gio.File): void
226
229
  get_repository(): Gitg.Repository | null
@@ -236,12 +239,12 @@ export interface Application extends GObject.Object {
236
239
  // Own virtual methods of GitgExt-1.0.GitgExt.Application
237
240
 
238
241
  vfunc_get_verified_committer(): Ggit.Signature | null
239
- vfunc_get_activity_by_id(id: string | null): Activity | null
240
- vfunc_set_activity_by_id(id: string | null): Activity | null
242
+ vfunc_get_activity_by_id(id: string): Activity | null
243
+ vfunc_set_activity_by_id(id: string): Activity | null
241
244
  vfunc_user_query(query: UserQuery): void
242
245
  vfunc_user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
243
246
  vfunc_user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
244
- vfunc_show_infobar(primary_msg: string | null, secondary_msg: string | null, type: Gtk.MessageType): void
247
+ vfunc_show_infobar(primary_msg: string, secondary_msg: string, type: Gtk.MessageType): void
245
248
  vfunc_open_new(repository: Ggit.Repository, hint: string | null): Application
246
249
  vfunc_open_repository(path: Gio.File): void
247
250
  vfunc_get_repository(): Gitg.Repository | null
@@ -369,6 +372,7 @@ export module CommitAction {
369
372
 
370
373
  action_interface?: RefActionInterface | null
371
374
  commit?: Gitg.Commit | null
375
+ actionInterface?: RefActionInterface | null
372
376
  }
373
377
 
374
378
  }
@@ -378,6 +382,7 @@ export interface CommitAction extends Action {
378
382
  // Own properties of GitgExt-1.0.GitgExt.CommitAction
379
383
 
380
384
  action_interface: RefActionInterface
385
+ actionInterface: RefActionInterface
381
386
  commit: Gitg.Commit
382
387
 
383
388
  // Owm methods of GitgExt-1.0.GitgExt.CommitAction
@@ -694,6 +699,7 @@ export interface Preferences extends GObject.Object {
694
699
 
695
700
  readonly id: string | null
696
701
  readonly display_name: string | null
702
+ readonly displayName: string | null
697
703
  readonly widget: Gtk.Widget
698
704
 
699
705
  // Owm methods of GitgExt-1.0.GitgExt.Preferences
@@ -829,6 +835,7 @@ export module RefAction {
829
835
 
830
836
  action_interface?: RefActionInterface | null
831
837
  reference?: Gitg.Ref | null
838
+ actionInterface?: RefActionInterface | null
832
839
  }
833
840
 
834
841
  }
@@ -838,6 +845,7 @@ export interface RefAction extends Action {
838
845
  // Own properties of GitgExt-1.0.GitgExt.RefAction
839
846
 
840
847
  action_interface: RefActionInterface
848
+ actionInterface: RefActionInterface
841
849
  reference: Gitg.Ref
842
850
 
843
851
  // Owm methods of GitgExt-1.0.GitgExt.RefAction
@@ -912,11 +920,11 @@ export interface RemoteLookup extends GObject.Object {
912
920
 
913
921
  // Owm methods of GitgExt-1.0.GitgExt.RemoteLookup
914
922
 
915
- lookup(name: string | null): Gitg.Remote | null
923
+ lookup(name: string): Gitg.Remote | null
916
924
 
917
925
  // Own virtual methods of GitgExt-1.0.GitgExt.RemoteLookup
918
926
 
919
- vfunc_lookup(name: string | null): Gitg.Remote | null
927
+ vfunc_lookup(name: string): Gitg.Remote | null
920
928
 
921
929
  // Class property signals of GitgExt-1.0.GitgExt.RemoteLookup
922
930
 
@@ -950,6 +958,9 @@ export module Searchable {
950
958
  search_text?: string | null
951
959
  search_visible?: boolean | null
952
960
  search_entry?: Gtk.Entry | null
961
+ searchText?: string | null
962
+ searchVisible?: boolean | null
963
+ searchEntry?: Gtk.Entry | null
953
964
  }
954
965
 
955
966
  }
@@ -959,14 +970,18 @@ export interface Searchable extends GObject.Object, Activity {
959
970
  // Own properties of GitgExt-1.0.GitgExt.Searchable
960
971
 
961
972
  search_text: string | null
973
+ searchText: string | null
962
974
  search_visible: boolean
975
+ searchVisible: boolean
963
976
  readonly search_available: boolean
977
+ readonly searchAvailable: boolean
964
978
  search_entry: Gtk.Entry
979
+ searchEntry: Gtk.Entry
965
980
 
966
981
  // Owm methods of GitgExt-1.0.GitgExt.Searchable
967
982
 
968
983
  get_search_text(): string | null
969
- set_search_text(value: string | null): void
984
+ set_search_text(value: string): void
970
985
  get_search_visible(): boolean
971
986
  set_search_visible(value: boolean): void
972
987
  get_search_available(): boolean
@@ -975,7 +990,7 @@ export interface Searchable extends GObject.Object, Activity {
975
990
  // Own virtual methods of GitgExt-1.0.GitgExt.Searchable
976
991
 
977
992
  vfunc_get_search_text(): string | null
978
- vfunc_set_search_text(value: string | null): void
993
+ vfunc_set_search_text(value: string): void
979
994
  vfunc_get_search_visible(): boolean
980
995
  vfunc_set_search_visible(value: boolean): void
981
996
  vfunc_get_search_available(): boolean
@@ -1035,6 +1050,7 @@ export module Selectable {
1035
1050
  // Own constructor properties of GitgExt-1.0.GitgExt.Selectable
1036
1051
 
1037
1052
  selectable_mode?: SelectionMode | null
1053
+ selectableMode?: SelectionMode | null
1038
1054
  }
1039
1055
 
1040
1056
  }
@@ -1044,9 +1060,13 @@ export interface Selectable extends GObject.Object, Activity {
1044
1060
  // Own properties of GitgExt-1.0.GitgExt.Selectable
1045
1061
 
1046
1062
  selectable_mode: SelectionMode
1063
+ selectableMode: SelectionMode
1047
1064
  readonly selectable_available: boolean
1065
+ readonly selectableAvailable: boolean
1048
1066
  readonly selectable_mode_tooltip: string | null
1067
+ readonly selectableModeTooltip: string | null
1049
1068
  readonly action_widget: Gtk.Widget
1069
+ readonly actionWidget: Gtk.Widget
1050
1070
 
1051
1071
  // Owm methods of GitgExt-1.0.GitgExt.Selectable
1052
1072
 
@@ -1139,6 +1159,7 @@ export interface UIElement extends GObject.Object {
1139
1159
  application: Application
1140
1160
  readonly id: string | null
1141
1161
  readonly display_name: string | null
1162
+ readonly displayName: string | null
1142
1163
  readonly description: string | null
1143
1164
 
1144
1165
  // Owm methods of GitgExt-1.0.GitgExt.UIElement
@@ -1289,7 +1310,7 @@ export interface MessageBus {
1289
1310
  lookup(id: MessageId): GObject.GType
1290
1311
  register(message_type: GObject.GType, id: MessageId): void
1291
1312
  unregister(id: MessageId): void
1292
- unregister_all(object_path: string | null): void
1313
+ unregister_all(object_path: string): void
1293
1314
  is_registered(id: MessageId): boolean
1294
1315
  connect(id: MessageId, callback: MessageCallback): number
1295
1316
  disconnect(id: number): void
@@ -1347,6 +1368,7 @@ export module MessageId {
1347
1368
 
1348
1369
  object_path?: string | null
1349
1370
  method?: string | null
1371
+ objectPath?: string | null
1350
1372
  }
1351
1373
 
1352
1374
  }
@@ -1356,6 +1378,7 @@ export interface MessageId {
1356
1378
  // Own properties of GitgExt-1.0.GitgExt.MessageId
1357
1379
 
1358
1380
  object_path: string | null
1381
+ objectPath: string | null
1359
1382
  method: string | null
1360
1383
  readonly id: string | null
1361
1384
 
@@ -1364,10 +1387,10 @@ export interface MessageId {
1364
1387
  hash(): number
1365
1388
  equal(other: MessageId): boolean
1366
1389
  copy(): MessageId
1367
- get_object_path(): string | null
1368
- set_object_path(value: string | null): void
1369
- get_method(): string | null
1370
- set_method(value: string | null): void
1390
+ get_object_path(): string
1391
+ set_object_path(value: string): void
1392
+ get_method(): string
1393
+ set_method(value: string): void
1371
1394
  get_id(): string | null
1372
1395
 
1373
1396
  // Class property signals of GitgExt-1.0.GitgExt.MessageId
@@ -1397,10 +1420,10 @@ export class MessageId extends GObject.Object {
1397
1420
  // Constructors of GitgExt-1.0.GitgExt.MessageId
1398
1421
 
1399
1422
  constructor(config?: MessageId.ConstructorProperties)
1400
- constructor(object_path: string | null, method: string | null)
1401
- static new(object_path: string | null, method: string | null): MessageId
1423
+ constructor(object_path: string, method: string)
1424
+ static new(object_path: string, method: string): MessageId
1402
1425
  _init(config?: MessageId.ConstructorProperties): void
1403
- static valid_object_path(path: string | null): boolean
1426
+ static valid_object_path(path: string): boolean
1404
1427
  }
1405
1428
 
1406
1429
  export module Message {
@@ -1424,7 +1447,7 @@ export interface Message {
1424
1447
 
1425
1448
  // Owm methods of GitgExt-1.0.GitgExt.Message
1426
1449
 
1427
- has(propname: string | null): boolean
1450
+ has(propname: string): boolean
1428
1451
  get_id(): MessageId
1429
1452
  set_id(value: MessageId): void
1430
1453
 
@@ -1450,8 +1473,8 @@ export class Message extends GObject.Object {
1450
1473
 
1451
1474
  constructor(config?: Message.ConstructorProperties)
1452
1475
  _init(config?: Message.ConstructorProperties): void
1453
- static type_has(type: GObject.GType, propname: string | null): boolean
1454
- static type_check(type: GObject.GType, propname: string | null, value_type: GObject.GType): boolean
1476
+ static type_has(type: GObject.GType, propname: string): boolean
1477
+ static type_check(type: GObject.GType, propname: string, value_type: GObject.GType): boolean
1455
1478
  }
1456
1479
 
1457
1480
  export interface UI {
@@ -1507,8 +1530,8 @@ export class UserQueryResponse extends GObject.Object {
1507
1530
  // Constructors of GitgExt-1.0.GitgExt.UserQueryResponse
1508
1531
 
1509
1532
  constructor(config?: UserQueryResponse.ConstructorProperties)
1510
- constructor(text: string | null, response_type: Gtk.ResponseType)
1511
- static new(text: string | null, response_type: Gtk.ResponseType): UserQueryResponse
1533
+ constructor(text: string, response_type: Gtk.ResponseType)
1534
+ static new(text: string, response_type: Gtk.ResponseType): UserQueryResponse
1512
1535
  _init(config?: UserQueryResponse.ConstructorProperties): void
1513
1536
  }
1514
1537
 
@@ -1543,6 +1566,10 @@ export module UserQuery {
1543
1566
  default_response?: Gtk.ResponseType | null
1544
1567
  default_is_destructive?: boolean | null
1545
1568
  message_use_markup?: boolean | null
1569
+ messageType?: Gtk.MessageType | null
1570
+ defaultResponse?: Gtk.ResponseType | null
1571
+ defaultIsDestructive?: boolean | null
1572
+ messageUseMarkup?: boolean | null
1546
1573
  }
1547
1574
 
1548
1575
  }
@@ -1554,9 +1581,13 @@ export interface UserQuery {
1554
1581
  title: string | null
1555
1582
  message: string | null
1556
1583
  message_type: Gtk.MessageType
1584
+ messageType: Gtk.MessageType
1557
1585
  default_response: Gtk.ResponseType
1586
+ defaultResponse: Gtk.ResponseType
1558
1587
  default_is_destructive: boolean
1588
+ defaultIsDestructive: boolean
1559
1589
  message_use_markup: boolean
1590
+ messageUseMarkup: boolean
1560
1591
 
1561
1592
  // Own fields of GitgExt-1.0.GitgExt.UserQuery
1562
1593
 
@@ -1567,10 +1598,10 @@ export interface UserQuery {
1567
1598
 
1568
1599
  get_responses(): UserQueryResponse[]
1569
1600
  set_responses(value: UserQueryResponse[]): void
1570
- get_title(): string | null
1571
- set_title(value: string | null): void
1572
- get_message(): string | null
1573
- set_message(value: string | null): void
1601
+ get_title(): string
1602
+ set_title(value: string): void
1603
+ get_message(): string
1604
+ set_message(value: string): void
1574
1605
  get_message_type(): Gtk.MessageType
1575
1606
  set_message_type(value: Gtk.MessageType): void
1576
1607
  get_default_response(): Gtk.ResponseType
@@ -1794,7 +1825,7 @@ export interface ActivityIface {
1794
1825
 
1795
1826
  // Own fields of GitgExt-1.0.GitgExt.ActivityIface
1796
1827
 
1797
- is_default_for: (self: Activity, action: string | null) => boolean
1828
+ is_default_for: (self: Activity, action: string) => boolean
1798
1829
  on_key_pressed: (self: Activity, event: Gdk.EventKey) => boolean
1799
1830
  }
1800
1831
 
@@ -1810,12 +1841,12 @@ export interface ApplicationIface {
1810
1841
  // Own fields of GitgExt-1.0.GitgExt.ApplicationIface
1811
1842
 
1812
1843
  get_verified_committer: (self: Application) => Ggit.Signature | null
1813
- get_activity_by_id: (self: Application, id: string | null) => Activity | null
1814
- set_activity_by_id: (self: Application, id: string | null) => Activity | null
1844
+ get_activity_by_id: (self: Application, id: string) => Activity | null
1845
+ set_activity_by_id: (self: Application, id: string) => Activity | null
1815
1846
  user_query: (self: Application, query: UserQuery) => void
1816
1847
  user_query_async: (self: Application, query: UserQuery, _callback_: Gio.AsyncReadyCallback | null) => void
1817
1848
  user_query_finish: (self: Application, _res_: Gio.AsyncResult) => Gtk.ResponseType
1818
- show_infobar: (self: Application, primary_msg: string | null, secondary_msg: string | null, type: Gtk.MessageType) => void
1849
+ show_infobar: (self: Application, primary_msg: string, secondary_msg: string, type: Gtk.MessageType) => void
1819
1850
  open_new: (self: Application, repository: Ggit.Repository, hint: string | null) => Application
1820
1851
  open_repository: (self: Application, path: Gio.File) => void
1821
1852
  get_repository: (self: Application) => Gitg.Repository | null
@@ -1987,7 +2018,7 @@ export interface RemoteLookupIface {
1987
2018
 
1988
2019
  // Own fields of GitgExt-1.0.GitgExt.RemoteLookupIface
1989
2020
 
1990
- lookup: (self: RemoteLookup, name: string | null) => Gitg.Remote | null
2021
+ lookup: (self: RemoteLookup, name: string) => Gitg.Remote | null
1991
2022
  }
1992
2023
 
1993
2024
  export abstract class RemoteLookupIface {
@@ -2002,7 +2033,7 @@ export interface SearchableIface {
2002
2033
  // Own fields of GitgExt-1.0.GitgExt.SearchableIface
2003
2034
 
2004
2035
  get_search_text: (self: Searchable) => string | null
2005
- set_search_text: (self: Searchable, value: string | null) => void
2036
+ set_search_text: (self: Searchable, value: string) => void
2006
2037
  get_search_visible: (self: Searchable) => boolean
2007
2038
  set_search_visible: (self: Searchable, value: boolean) => void
2008
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 | null, cancelled: boolean): void
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 | null): boolean
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 | null): boolean
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
@@ -196,17 +196,20 @@ interface Application extends GObject.Object {
196
196
 
197
197
  repository: Gitg.Repository
198
198
  readonly message_bus: MessageBus
199
+ readonly messageBus: MessageBus
199
200
  readonly current_activity: Activity
201
+ readonly currentActivity: Activity
200
202
  readonly environment: Gee.Map
201
203
  readonly notifications: Notifications
202
204
  busy: boolean
203
205
  readonly remote_lookup: RemoteLookup
206
+ readonly remoteLookup: RemoteLookup
204
207
 
205
208
  // Owm methods of GitgExt-1.0.GitgExt.Application
206
209
 
207
210
  get_verified_committer(): Ggit.Signature | null
208
- get_activity_by_id(id: string | null): Activity | null
209
- set_activity_by_id(id: string | null): Activity | null
211
+ get_activity_by_id(id: string): Activity | null
212
+ set_activity_by_id(id: string): Activity | null
210
213
  user_query(query: UserQuery): void
211
214
  user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
212
215
 
@@ -222,7 +225,7 @@ interface Application extends GObject.Object {
222
225
  */
223
226
  user_query_async(query: UserQuery): globalThis.Promise<Gtk.ResponseType>
224
227
  user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
225
- show_infobar(primary_msg: string | null, secondary_msg: string | null, type: Gtk.MessageType): void
228
+ show_infobar(primary_msg: string, secondary_msg: string, type: Gtk.MessageType): void
226
229
  open_new(repository: Ggit.Repository, hint: string | null): Application
227
230
  open_repository(path: Gio.File): void
228
231
  get_repository(): Gitg.Repository | null
@@ -238,12 +241,12 @@ interface Application extends GObject.Object {
238
241
  // Own virtual methods of GitgExt-1.0.GitgExt.Application
239
242
 
240
243
  vfunc_get_verified_committer(): Ggit.Signature | null
241
- vfunc_get_activity_by_id(id: string | null): Activity | null
242
- vfunc_set_activity_by_id(id: string | null): Activity | null
244
+ vfunc_get_activity_by_id(id: string): Activity | null
245
+ vfunc_set_activity_by_id(id: string): Activity | null
243
246
  vfunc_user_query(query: UserQuery): void
244
247
  vfunc_user_query_async(query: UserQuery, _callback_: Gio.AsyncReadyCallback<this> | null): void
245
248
  vfunc_user_query_finish(_res_: Gio.AsyncResult): Gtk.ResponseType
246
- vfunc_show_infobar(primary_msg: string | null, secondary_msg: string | null, type: Gtk.MessageType): void
249
+ vfunc_show_infobar(primary_msg: string, secondary_msg: string, type: Gtk.MessageType): void
247
250
  vfunc_open_new(repository: Ggit.Repository, hint: string | null): Application
248
251
  vfunc_open_repository(path: Gio.File): void
249
252
  vfunc_get_repository(): Gitg.Repository | null
@@ -371,6 +374,7 @@ module CommitAction {
371
374
 
372
375
  action_interface?: RefActionInterface | null
373
376
  commit?: Gitg.Commit | null
377
+ actionInterface?: RefActionInterface | null
374
378
  }
375
379
 
376
380
  }
@@ -380,6 +384,7 @@ interface CommitAction extends Action {
380
384
  // Own properties of GitgExt-1.0.GitgExt.CommitAction
381
385
 
382
386
  action_interface: RefActionInterface
387
+ actionInterface: RefActionInterface
383
388
  commit: Gitg.Commit
384
389
 
385
390
  // Owm methods of GitgExt-1.0.GitgExt.CommitAction
@@ -696,6 +701,7 @@ interface Preferences extends GObject.Object {
696
701
 
697
702
  readonly id: string | null
698
703
  readonly display_name: string | null
704
+ readonly displayName: string | null
699
705
  readonly widget: Gtk.Widget
700
706
 
701
707
  // Owm methods of GitgExt-1.0.GitgExt.Preferences
@@ -831,6 +837,7 @@ module RefAction {
831
837
 
832
838
  action_interface?: RefActionInterface | null
833
839
  reference?: Gitg.Ref | null
840
+ actionInterface?: RefActionInterface | null
834
841
  }
835
842
 
836
843
  }
@@ -840,6 +847,7 @@ interface RefAction extends Action {
840
847
  // Own properties of GitgExt-1.0.GitgExt.RefAction
841
848
 
842
849
  action_interface: RefActionInterface
850
+ actionInterface: RefActionInterface
843
851
  reference: Gitg.Ref
844
852
 
845
853
  // Owm methods of GitgExt-1.0.GitgExt.RefAction
@@ -914,11 +922,11 @@ interface RemoteLookup extends GObject.Object {
914
922
 
915
923
  // Owm methods of GitgExt-1.0.GitgExt.RemoteLookup
916
924
 
917
- lookup(name: string | null): Gitg.Remote | null
925
+ lookup(name: string): Gitg.Remote | null
918
926
 
919
927
  // Own virtual methods of GitgExt-1.0.GitgExt.RemoteLookup
920
928
 
921
- vfunc_lookup(name: string | null): Gitg.Remote | null
929
+ vfunc_lookup(name: string): Gitg.Remote | null
922
930
 
923
931
  // Class property signals of GitgExt-1.0.GitgExt.RemoteLookup
924
932
 
@@ -952,6 +960,9 @@ module Searchable {
952
960
  search_text?: string | null
953
961
  search_visible?: boolean | null
954
962
  search_entry?: Gtk.Entry | null
963
+ searchText?: string | null
964
+ searchVisible?: boolean | null
965
+ searchEntry?: Gtk.Entry | null
955
966
  }
956
967
 
957
968
  }
@@ -961,14 +972,18 @@ interface Searchable extends GObject.Object, Activity {
961
972
  // Own properties of GitgExt-1.0.GitgExt.Searchable
962
973
 
963
974
  search_text: string | null
975
+ searchText: string | null
964
976
  search_visible: boolean
977
+ searchVisible: boolean
965
978
  readonly search_available: boolean
979
+ readonly searchAvailable: boolean
966
980
  search_entry: Gtk.Entry
981
+ searchEntry: Gtk.Entry
967
982
 
968
983
  // Owm methods of GitgExt-1.0.GitgExt.Searchable
969
984
 
970
985
  get_search_text(): string | null
971
- set_search_text(value: string | null): void
986
+ set_search_text(value: string): void
972
987
  get_search_visible(): boolean
973
988
  set_search_visible(value: boolean): void
974
989
  get_search_available(): boolean
@@ -977,7 +992,7 @@ interface Searchable extends GObject.Object, Activity {
977
992
  // Own virtual methods of GitgExt-1.0.GitgExt.Searchable
978
993
 
979
994
  vfunc_get_search_text(): string | null
980
- vfunc_set_search_text(value: string | null): void
995
+ vfunc_set_search_text(value: string): void
981
996
  vfunc_get_search_visible(): boolean
982
997
  vfunc_set_search_visible(value: boolean): void
983
998
  vfunc_get_search_available(): boolean
@@ -1037,6 +1052,7 @@ module Selectable {
1037
1052
  // Own constructor properties of GitgExt-1.0.GitgExt.Selectable
1038
1053
 
1039
1054
  selectable_mode?: SelectionMode | null
1055
+ selectableMode?: SelectionMode | null
1040
1056
  }
1041
1057
 
1042
1058
  }
@@ -1046,9 +1062,13 @@ interface Selectable extends GObject.Object, Activity {
1046
1062
  // Own properties of GitgExt-1.0.GitgExt.Selectable
1047
1063
 
1048
1064
  selectable_mode: SelectionMode
1065
+ selectableMode: SelectionMode
1049
1066
  readonly selectable_available: boolean
1067
+ readonly selectableAvailable: boolean
1050
1068
  readonly selectable_mode_tooltip: string | null
1069
+ readonly selectableModeTooltip: string | null
1051
1070
  readonly action_widget: Gtk.Widget
1071
+ readonly actionWidget: Gtk.Widget
1052
1072
 
1053
1073
  // Owm methods of GitgExt-1.0.GitgExt.Selectable
1054
1074
 
@@ -1141,6 +1161,7 @@ interface UIElement extends GObject.Object {
1141
1161
  application: Application
1142
1162
  readonly id: string | null
1143
1163
  readonly display_name: string | null
1164
+ readonly displayName: string | null
1144
1165
  readonly description: string | null
1145
1166
 
1146
1167
  // Owm methods of GitgExt-1.0.GitgExt.UIElement
@@ -1291,7 +1312,7 @@ interface MessageBus {
1291
1312
  lookup(id: MessageId): GObject.GType
1292
1313
  register(message_type: GObject.GType, id: MessageId): void
1293
1314
  unregister(id: MessageId): void
1294
- unregister_all(object_path: string | null): void
1315
+ unregister_all(object_path: string): void
1295
1316
  is_registered(id: MessageId): boolean
1296
1317
  connect(id: MessageId, callback: MessageCallback): number
1297
1318
  disconnect(id: number): void
@@ -1349,6 +1370,7 @@ module MessageId {
1349
1370
 
1350
1371
  object_path?: string | null
1351
1372
  method?: string | null
1373
+ objectPath?: string | null
1352
1374
  }
1353
1375
 
1354
1376
  }
@@ -1358,6 +1380,7 @@ interface MessageId {
1358
1380
  // Own properties of GitgExt-1.0.GitgExt.MessageId
1359
1381
 
1360
1382
  object_path: string | null
1383
+ objectPath: string | null
1361
1384
  method: string | null
1362
1385
  readonly id: string | null
1363
1386
 
@@ -1366,10 +1389,10 @@ interface MessageId {
1366
1389
  hash(): number
1367
1390
  equal(other: MessageId): boolean
1368
1391
  copy(): MessageId
1369
- get_object_path(): string | null
1370
- set_object_path(value: string | null): void
1371
- get_method(): string | null
1372
- set_method(value: string | null): void
1392
+ get_object_path(): string
1393
+ set_object_path(value: string): void
1394
+ get_method(): string
1395
+ set_method(value: string): void
1373
1396
  get_id(): string | null
1374
1397
 
1375
1398
  // Class property signals of GitgExt-1.0.GitgExt.MessageId
@@ -1399,10 +1422,10 @@ class MessageId extends GObject.Object {
1399
1422
  // Constructors of GitgExt-1.0.GitgExt.MessageId
1400
1423
 
1401
1424
  constructor(config?: MessageId.ConstructorProperties)
1402
- constructor(object_path: string | null, method: string | null)
1403
- static new(object_path: string | null, method: string | null): MessageId
1425
+ constructor(object_path: string, method: string)
1426
+ static new(object_path: string, method: string): MessageId
1404
1427
  _init(config?: MessageId.ConstructorProperties): void
1405
- static valid_object_path(path: string | null): boolean
1428
+ static valid_object_path(path: string): boolean
1406
1429
  }
1407
1430
 
1408
1431
  module Message {
@@ -1426,7 +1449,7 @@ interface Message {
1426
1449
 
1427
1450
  // Owm methods of GitgExt-1.0.GitgExt.Message
1428
1451
 
1429
- has(propname: string | null): boolean
1452
+ has(propname: string): boolean
1430
1453
  get_id(): MessageId
1431
1454
  set_id(value: MessageId): void
1432
1455
 
@@ -1452,8 +1475,8 @@ class Message extends GObject.Object {
1452
1475
 
1453
1476
  constructor(config?: Message.ConstructorProperties)
1454
1477
  _init(config?: Message.ConstructorProperties): void
1455
- static type_has(type: GObject.GType, propname: string | null): boolean
1456
- static type_check(type: GObject.GType, propname: string | null, value_type: GObject.GType): boolean
1478
+ static type_has(type: GObject.GType, propname: string): boolean
1479
+ static type_check(type: GObject.GType, propname: string, value_type: GObject.GType): boolean
1457
1480
  }
1458
1481
 
1459
1482
  interface UI {
@@ -1509,8 +1532,8 @@ class UserQueryResponse extends GObject.Object {
1509
1532
  // Constructors of GitgExt-1.0.GitgExt.UserQueryResponse
1510
1533
 
1511
1534
  constructor(config?: UserQueryResponse.ConstructorProperties)
1512
- constructor(text: string | null, response_type: Gtk.ResponseType)
1513
- static new(text: string | null, response_type: Gtk.ResponseType): UserQueryResponse
1535
+ constructor(text: string, response_type: Gtk.ResponseType)
1536
+ static new(text: string, response_type: Gtk.ResponseType): UserQueryResponse
1514
1537
  _init(config?: UserQueryResponse.ConstructorProperties): void
1515
1538
  }
1516
1539
 
@@ -1545,6 +1568,10 @@ module UserQuery {
1545
1568
  default_response?: Gtk.ResponseType | null
1546
1569
  default_is_destructive?: boolean | null
1547
1570
  message_use_markup?: boolean | null
1571
+ messageType?: Gtk.MessageType | null
1572
+ defaultResponse?: Gtk.ResponseType | null
1573
+ defaultIsDestructive?: boolean | null
1574
+ messageUseMarkup?: boolean | null
1548
1575
  }
1549
1576
 
1550
1577
  }
@@ -1556,9 +1583,13 @@ interface UserQuery {
1556
1583
  title: string | null
1557
1584
  message: string | null
1558
1585
  message_type: Gtk.MessageType
1586
+ messageType: Gtk.MessageType
1559
1587
  default_response: Gtk.ResponseType
1588
+ defaultResponse: Gtk.ResponseType
1560
1589
  default_is_destructive: boolean
1590
+ defaultIsDestructive: boolean
1561
1591
  message_use_markup: boolean
1592
+ messageUseMarkup: boolean
1562
1593
 
1563
1594
  // Own fields of GitgExt-1.0.GitgExt.UserQuery
1564
1595
 
@@ -1569,10 +1600,10 @@ interface UserQuery {
1569
1600
 
1570
1601
  get_responses(): UserQueryResponse[]
1571
1602
  set_responses(value: UserQueryResponse[]): void
1572
- get_title(): string | null
1573
- set_title(value: string | null): void
1574
- get_message(): string | null
1575
- set_message(value: string | null): void
1603
+ get_title(): string
1604
+ set_title(value: string): void
1605
+ get_message(): string
1606
+ set_message(value: string): void
1576
1607
  get_message_type(): Gtk.MessageType
1577
1608
  set_message_type(value: Gtk.MessageType): void
1578
1609
  get_default_response(): Gtk.ResponseType
@@ -1796,7 +1827,7 @@ interface ActivityIface {
1796
1827
 
1797
1828
  // Own fields of GitgExt-1.0.GitgExt.ActivityIface
1798
1829
 
1799
- is_default_for: (self: Activity, action: string | null) => boolean
1830
+ is_default_for: (self: Activity, action: string) => boolean
1800
1831
  on_key_pressed: (self: Activity, event: Gdk.EventKey) => boolean
1801
1832
  }
1802
1833
 
@@ -1812,12 +1843,12 @@ interface ApplicationIface {
1812
1843
  // Own fields of GitgExt-1.0.GitgExt.ApplicationIface
1813
1844
 
1814
1845
  get_verified_committer: (self: Application) => Ggit.Signature | null
1815
- get_activity_by_id: (self: Application, id: string | null) => Activity | null
1816
- set_activity_by_id: (self: Application, id: string | null) => Activity | null
1846
+ get_activity_by_id: (self: Application, id: string) => Activity | null
1847
+ set_activity_by_id: (self: Application, id: string) => Activity | null
1817
1848
  user_query: (self: Application, query: UserQuery) => void
1818
1849
  user_query_async: (self: Application, query: UserQuery, _callback_: Gio.AsyncReadyCallback | null) => void
1819
1850
  user_query_finish: (self: Application, _res_: Gio.AsyncResult) => Gtk.ResponseType
1820
- show_infobar: (self: Application, primary_msg: string | null, secondary_msg: string | null, type: Gtk.MessageType) => void
1851
+ show_infobar: (self: Application, primary_msg: string, secondary_msg: string, type: Gtk.MessageType) => void
1821
1852
  open_new: (self: Application, repository: Ggit.Repository, hint: string | null) => Application
1822
1853
  open_repository: (self: Application, path: Gio.File) => void
1823
1854
  get_repository: (self: Application) => Gitg.Repository | null
@@ -1989,7 +2020,7 @@ interface RemoteLookupIface {
1989
2020
 
1990
2021
  // Own fields of GitgExt-1.0.GitgExt.RemoteLookupIface
1991
2022
 
1992
- lookup: (self: RemoteLookup, name: string | null) => Gitg.Remote | null
2023
+ lookup: (self: RemoteLookup, name: string) => Gitg.Remote | null
1993
2024
  }
1994
2025
 
1995
2026
  abstract class RemoteLookupIface {
@@ -2004,7 +2035,7 @@ interface SearchableIface {
2004
2035
  // Own fields of GitgExt-1.0.GitgExt.SearchableIface
2005
2036
 
2006
2037
  get_search_text: (self: Searchable) => string | null
2007
- set_search_text: (self: Searchable, value: string | null) => void
2038
+ set_search_text: (self: Searchable, value: string) => void
2008
2039
  get_search_visible: (self: Searchable) => boolean
2009
2040
  set_search_visible: (self: Searchable, value: boolean) => void
2010
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.5",
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.5",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.5",
30
- "@girs/freetype2-2.0": "^2.0.0-3.2.5",
31
- "@girs/gdk-3.0": "^3.24.38-3.2.5",
32
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.5",
33
- "@girs/gee-0.8": "^0.8.0-3.2.5",
34
- "@girs/ggit-1.0": "^1.1.0-3.2.5",
35
- "@girs/gio-2.0": "^2.78.0-3.2.5",
36
- "@girs/gitg-1.0": "^1.0.0-3.2.5",
37
- "@girs/gjs": "^3.2.5",
38
- "@girs/glib-2.0": "^2.78.0-3.2.5",
39
- "@girs/gmodule-2.0": "^2.0.0-3.2.5",
40
- "@girs/gobject-2.0": "^2.78.0-3.2.5",
41
- "@girs/gtk-3.0": "^3.24.38-3.2.5",
42
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.5",
43
- "@girs/pango-1.0": "^1.51.0-3.2.5",
44
- "@girs/xlib-2.0": "^2.0.0-3.2.5"
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": "*"