@girs/gitg-1.0 1.0.0-3.2.4 → 1.0.0-3.2.6
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 +14 -1
- package/gitg-1.0-ambient.d.ts +0 -1
- package/gitg-1.0-import.d.ts +0 -1
- package/gitg-1.0.d.cts +78 -0
- package/gitg-1.0.d.ts +78 -0
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Gitg-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 Gitg-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
|
|
9
9
|
|
|
10
10
|
Small, fast and convenient set of widgets to visualize the history of git repositories.
|
|
11
11
|
|
|
@@ -82,6 +82,19 @@ Now you have also type support for this, too:
|
|
|
82
82
|
const Gitg = imports.gi.Gitg;
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
+
|
|
86
|
+
### ESM vs. CommonJS
|
|
87
|
+
|
|
88
|
+
GJS supports two different import syntaxes. The new modern ESM syntax and the old global imports syntax.
|
|
89
|
+
|
|
90
|
+
In TypeScript projects for GJS and GNOME Shell extensions, you have the flexibility to use `ESM` syntax and then decide the import syntax for your bundled file. If your bundler is configured to use `CommonJS`, it will convert to the GJS-specific global imports syntax, like `const moduleName = imports.gi[moduleName]`. This is different from the traditional `require` syntax seen in Node.js. The global imports syntax is chosen because it aligns with the CommonJS format supported by NPM, which is used for the generated type definitions and this package.
|
|
91
|
+
|
|
92
|
+
On the other hand, if you configure your bundler to use ESM, it will retain the ESM import syntax. It's crucial to ensure that your bundler is set up to correctly translate and bundle these imports into either CommonJS or ESM format, depending on your project's requirements.
|
|
93
|
+
|
|
94
|
+
This approach is particularly important due to the `@girs` types, which include both `*.cjs `files, using the GJS global imports syntax, and `*.js` files, which utilize the ESM syntax. By appropriately setting up your bundler, you can control which syntax—CommonJS or ESM—is used in your project. The choice of CommonJS in this context is also due to the similarity between the GJS-specific global imports and CommonJS syntax, allowing for easier management and bundling in these specific types of projects.
|
|
95
|
+
|
|
96
|
+
Since GNOME Shell 45, you should only use ESM, even for GNOME Shell extensions. Before that, extensions had to use the global import syntax, unlike normal GJS applications, where ESM has been available for some time.
|
|
97
|
+
|
|
85
98
|
### Bundle
|
|
86
99
|
|
|
87
100
|
Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).
|
package/gitg-1.0-ambient.d.ts
CHANGED
package/gitg-1.0-import.d.ts
CHANGED
package/gitg-1.0.d.cts
CHANGED
|
@@ -226,6 +226,8 @@ export module Ref {
|
|
|
226
226
|
d_pushes?: Ref[] | null
|
|
227
227
|
state?: RefState | null
|
|
228
228
|
working?: boolean | null
|
|
229
|
+
dParsedName?: ParsedRefName | null
|
|
230
|
+
dPushes?: Ref[] | null
|
|
229
231
|
}
|
|
230
232
|
|
|
231
233
|
}
|
|
@@ -235,7 +237,9 @@ export interface Ref extends Ggit.Ref {
|
|
|
235
237
|
// Own properties of Gitg-1.0.Gitg.Ref
|
|
236
238
|
|
|
237
239
|
d_parsed_name: ParsedRefName
|
|
240
|
+
dParsedName: ParsedRefName
|
|
238
241
|
d_pushes: Ref[]
|
|
242
|
+
dPushes: Ref[]
|
|
239
243
|
state: RefState
|
|
240
244
|
working: boolean
|
|
241
245
|
|
|
@@ -375,6 +379,7 @@ export interface SidebarItem extends GObject.Object {
|
|
|
375
379
|
|
|
376
380
|
readonly text: string | null
|
|
377
381
|
readonly icon_name: string | null
|
|
382
|
+
readonly iconName: string | null
|
|
378
383
|
|
|
379
384
|
// Owm methods of Gitg-1.0.Gitg.SidebarItem
|
|
380
385
|
|
|
@@ -436,9 +441,13 @@ export interface StageStatusItem extends GObject.Object {
|
|
|
436
441
|
|
|
437
442
|
readonly path: string | null
|
|
438
443
|
readonly is_staged: boolean
|
|
444
|
+
readonly isStaged: boolean
|
|
439
445
|
readonly is_unstaged: boolean
|
|
446
|
+
readonly isUnstaged: boolean
|
|
440
447
|
readonly is_untracked: boolean
|
|
448
|
+
readonly isUntracked: boolean
|
|
441
449
|
readonly icon_name: string | null
|
|
450
|
+
readonly iconName: string | null
|
|
442
451
|
|
|
443
452
|
// Owm methods of Gitg-1.0.Gitg.StageStatusItem
|
|
444
453
|
|
|
@@ -531,6 +540,7 @@ export interface AuthenticationDialog {
|
|
|
531
540
|
readonly username: string | null
|
|
532
541
|
readonly password: string | null
|
|
533
542
|
readonly life_time: AuthenticationLifeTime
|
|
543
|
+
readonly lifeTime: AuthenticationLifeTime
|
|
534
544
|
|
|
535
545
|
// Conflicting properties
|
|
536
546
|
|
|
@@ -1039,6 +1049,9 @@ export module CellRendererLanes {
|
|
|
1039
1049
|
lane_width?: number | null
|
|
1040
1050
|
dot_width?: number | null
|
|
1041
1051
|
labels?: Ref[] | null
|
|
1052
|
+
nextCommit?: Commit | null
|
|
1053
|
+
laneWidth?: number | null
|
|
1054
|
+
dotWidth?: number | null
|
|
1042
1055
|
}
|
|
1043
1056
|
|
|
1044
1057
|
}
|
|
@@ -1049,8 +1062,11 @@ export interface CellRendererLanes {
|
|
|
1049
1062
|
|
|
1050
1063
|
commit: Commit
|
|
1051
1064
|
next_commit: Commit
|
|
1065
|
+
nextCommit: Commit
|
|
1052
1066
|
lane_width: number
|
|
1067
|
+
laneWidth: number
|
|
1053
1068
|
dot_width: number
|
|
1069
|
+
dotWidth: number
|
|
1054
1070
|
labels: Ref[]
|
|
1055
1071
|
|
|
1056
1072
|
// Owm methods of Gitg-1.0.Gitg.CellRendererLanes
|
|
@@ -1693,6 +1709,7 @@ export module CommitModel {
|
|
|
1693
1709
|
limit?: number | null
|
|
1694
1710
|
sort_mode?: Ggit.SortMode | null
|
|
1695
1711
|
repository?: Repository | null
|
|
1712
|
+
sortMode?: Ggit.SortMode | null
|
|
1696
1713
|
}
|
|
1697
1714
|
|
|
1698
1715
|
}
|
|
@@ -1703,6 +1720,7 @@ export interface CommitModel extends Gtk.TreeModel {
|
|
|
1703
1720
|
|
|
1704
1721
|
limit: number
|
|
1705
1722
|
sort_mode: Ggit.SortMode
|
|
1723
|
+
sortMode: Ggit.SortMode
|
|
1706
1724
|
repository: Repository
|
|
1707
1725
|
|
|
1708
1726
|
// Owm methods of Gitg-1.0.Gitg.CommitModel
|
|
@@ -1797,8 +1815,11 @@ export interface Commit {
|
|
|
1797
1815
|
mylane: number
|
|
1798
1816
|
readonly lane: Lane
|
|
1799
1817
|
readonly format_patch_name: string | null
|
|
1818
|
+
readonly formatPatchName: string | null
|
|
1800
1819
|
readonly committer_date_for_display: string | null
|
|
1820
|
+
readonly committerDateForDisplay: string | null
|
|
1801
1821
|
readonly author_date_for_display: string | null
|
|
1822
|
+
readonly authorDateForDisplay: string | null
|
|
1802
1823
|
|
|
1803
1824
|
// Conflicting properties
|
|
1804
1825
|
|
|
@@ -1897,6 +1918,7 @@ export module Date {
|
|
|
1897
1918
|
// Own constructor properties of Gitg-1.0.Gitg.Date
|
|
1898
1919
|
|
|
1899
1920
|
date_string?: string | null
|
|
1921
|
+
dateString?: string | null
|
|
1900
1922
|
}
|
|
1901
1923
|
|
|
1902
1924
|
}
|
|
@@ -1906,6 +1928,7 @@ export interface Date extends Gio.Initable {
|
|
|
1906
1928
|
// Own properties of Gitg-1.0.Gitg.Date
|
|
1907
1929
|
|
|
1908
1930
|
date_string: string | null
|
|
1931
|
+
dateString: string | null
|
|
1909
1932
|
readonly date: GLib.DateTime
|
|
1910
1933
|
|
|
1911
1934
|
// Owm methods of Gitg-1.0.Gitg.Date
|
|
@@ -2139,6 +2162,7 @@ export module DiffViewOptions {
|
|
|
2139
2162
|
|
|
2140
2163
|
context_lines?: number | null
|
|
2141
2164
|
view?: DiffView | null
|
|
2165
|
+
contextLines?: number | null
|
|
2142
2166
|
}
|
|
2143
2167
|
|
|
2144
2168
|
}
|
|
@@ -2148,6 +2172,7 @@ export interface DiffViewOptions {
|
|
|
2148
2172
|
// Own properties of Gitg-1.0.Gitg.DiffViewOptions
|
|
2149
2173
|
|
|
2150
2174
|
context_lines: number
|
|
2175
|
+
contextLines: number
|
|
2151
2176
|
view: DiffView
|
|
2152
2177
|
|
|
2153
2178
|
// Owm methods of Gitg-1.0.Gitg.DiffViewOptions
|
|
@@ -2489,6 +2514,17 @@ export module DiffView {
|
|
|
2489
2514
|
ignore_whitespace?: boolean | null
|
|
2490
2515
|
changes_inline?: boolean | null
|
|
2491
2516
|
context_lines?: number | null
|
|
2517
|
+
hasSelection?: boolean | null
|
|
2518
|
+
wrapLines?: boolean | null
|
|
2519
|
+
showParents?: boolean | null
|
|
2520
|
+
defaultCollapseAll?: boolean | null
|
|
2521
|
+
useGravatar?: boolean | null
|
|
2522
|
+
tabWidth?: number | null
|
|
2523
|
+
handleSelection?: boolean | null
|
|
2524
|
+
newIsWorkdir?: boolean | null
|
|
2525
|
+
ignoreWhitespace?: boolean | null
|
|
2526
|
+
changesInline?: boolean | null
|
|
2527
|
+
contextLines?: number | null
|
|
2492
2528
|
}
|
|
2493
2529
|
|
|
2494
2530
|
}
|
|
@@ -2499,22 +2535,33 @@ export interface DiffView {
|
|
|
2499
2535
|
|
|
2500
2536
|
readonly options: Ggit.DiffOptions
|
|
2501
2537
|
has_selection: boolean
|
|
2538
|
+
hasSelection: boolean
|
|
2502
2539
|
diff: Ggit.Diff
|
|
2503
2540
|
commit: Commit
|
|
2504
2541
|
wrap_lines: boolean
|
|
2542
|
+
wrapLines: boolean
|
|
2505
2543
|
staged: boolean
|
|
2506
2544
|
unstaged: boolean
|
|
2507
2545
|
show_parents: boolean
|
|
2546
|
+
showParents: boolean
|
|
2508
2547
|
default_collapse_all: boolean
|
|
2548
|
+
defaultCollapseAll: boolean
|
|
2509
2549
|
use_gravatar: boolean
|
|
2550
|
+
useGravatar: boolean
|
|
2510
2551
|
tab_width: number
|
|
2552
|
+
tabWidth: number
|
|
2511
2553
|
handle_selection: boolean
|
|
2554
|
+
handleSelection: boolean
|
|
2512
2555
|
highlight: boolean
|
|
2513
2556
|
repository: Repository
|
|
2514
2557
|
new_is_workdir: boolean
|
|
2558
|
+
newIsWorkdir: boolean
|
|
2515
2559
|
ignore_whitespace: boolean
|
|
2560
|
+
ignoreWhitespace: boolean
|
|
2516
2561
|
changes_inline: boolean
|
|
2562
|
+
changesInline: boolean
|
|
2517
2563
|
context_lines: number
|
|
2564
|
+
contextLines: number
|
|
2518
2565
|
|
|
2519
2566
|
// Owm methods of Gitg-1.0.Gitg.DiffView
|
|
2520
2567
|
|
|
@@ -2899,6 +2946,7 @@ export module Hook {
|
|
|
2899
2946
|
environment?: Gee.HashMap | null
|
|
2900
2947
|
name?: string | null
|
|
2901
2948
|
working_directory?: Gio.File | null
|
|
2949
|
+
workingDirectory?: Gio.File | null
|
|
2902
2950
|
}
|
|
2903
2951
|
|
|
2904
2952
|
}
|
|
@@ -2910,6 +2958,7 @@ export interface Hook {
|
|
|
2910
2958
|
environment: Gee.HashMap
|
|
2911
2959
|
name: string | null
|
|
2912
2960
|
working_directory: Gio.File
|
|
2961
|
+
workingDirectory: Gio.File
|
|
2913
2962
|
readonly output: string[]
|
|
2914
2963
|
|
|
2915
2964
|
// Owm methods of Gitg-1.0.Gitg.Hook
|
|
@@ -2998,6 +3047,11 @@ export module Lanes {
|
|
|
2998
3047
|
inactive_gap?: number | null
|
|
2999
3048
|
inactive_enabled?: boolean | null
|
|
3000
3049
|
miss_commits?: Gee.LinkedList | null
|
|
3050
|
+
inactiveMax?: number | null
|
|
3051
|
+
inactiveCollapse?: number | null
|
|
3052
|
+
inactiveGap?: number | null
|
|
3053
|
+
inactiveEnabled?: boolean | null
|
|
3054
|
+
missCommits?: Gee.LinkedList | null
|
|
3001
3055
|
}
|
|
3002
3056
|
|
|
3003
3057
|
}
|
|
@@ -3007,10 +3061,15 @@ export interface Lanes {
|
|
|
3007
3061
|
// Own properties of Gitg-1.0.Gitg.Lanes
|
|
3008
3062
|
|
|
3009
3063
|
inactive_max: number
|
|
3064
|
+
inactiveMax: number
|
|
3010
3065
|
inactive_collapse: number
|
|
3066
|
+
inactiveCollapse: number
|
|
3011
3067
|
inactive_gap: number
|
|
3068
|
+
inactiveGap: number
|
|
3012
3069
|
inactive_enabled: boolean
|
|
3070
|
+
inactiveEnabled: boolean
|
|
3013
3071
|
miss_commits: Gee.LinkedList
|
|
3072
|
+
missCommits: Gee.LinkedList
|
|
3014
3073
|
|
|
3015
3074
|
// Owm methods of Gitg-1.0.Gitg.Lanes
|
|
3016
3075
|
|
|
@@ -3419,7 +3478,9 @@ export interface ParsedRefName {
|
|
|
3419
3478
|
readonly name: string | null
|
|
3420
3479
|
readonly shortname: string | null
|
|
3421
3480
|
readonly remote_name: string | null
|
|
3481
|
+
readonly remoteName: string | null
|
|
3422
3482
|
readonly remote_branch: string | null
|
|
3483
|
+
readonly remoteBranch: string | null
|
|
3423
3484
|
readonly prefix: string | null
|
|
3424
3485
|
|
|
3425
3486
|
// Owm methods of Gitg-1.0.Gitg.ParsedRefName
|
|
@@ -3494,6 +3555,9 @@ export module Remote {
|
|
|
3494
3555
|
fetch_specs?: string[] | null
|
|
3495
3556
|
push_specs?: string[] | null
|
|
3496
3557
|
credentials_provider?: CredentialsProvider | null
|
|
3558
|
+
fetchSpecs?: string[] | null
|
|
3559
|
+
pushSpecs?: string[] | null
|
|
3560
|
+
credentialsProvider?: CredentialsProvider | null
|
|
3497
3561
|
}
|
|
3498
3562
|
|
|
3499
3563
|
}
|
|
@@ -3503,10 +3567,14 @@ export interface Remote {
|
|
|
3503
3567
|
// Own properties of Gitg-1.0.Gitg.Remote
|
|
3504
3568
|
|
|
3505
3569
|
readonly transfer_progress: number
|
|
3570
|
+
readonly transferProgress: number
|
|
3506
3571
|
state: RemoteState
|
|
3507
3572
|
fetch_specs: string[]
|
|
3573
|
+
fetchSpecs: string[]
|
|
3508
3574
|
push_specs: string[]
|
|
3575
|
+
pushSpecs: string[]
|
|
3509
3576
|
credentials_provider: CredentialsProvider
|
|
3577
|
+
credentialsProvider: CredentialsProvider
|
|
3510
3578
|
|
|
3511
3579
|
// Conflicting properties
|
|
3512
3580
|
|
|
@@ -3787,6 +3855,7 @@ export module RepositoryListBox {
|
|
|
3787
3855
|
mode?: SelectionMode | null
|
|
3788
3856
|
bookmarks_from_recent_files?: boolean | null
|
|
3789
3857
|
location?: Gio.File | null
|
|
3858
|
+
bookmarksFromRecentFiles?: boolean | null
|
|
3790
3859
|
}
|
|
3791
3860
|
|
|
3792
3861
|
}
|
|
@@ -3797,8 +3866,10 @@ export interface RepositoryListBox {
|
|
|
3797
3866
|
|
|
3798
3867
|
mode: SelectionMode
|
|
3799
3868
|
bookmarks_from_recent_files: boolean
|
|
3869
|
+
bookmarksFromRecentFiles: boolean
|
|
3800
3870
|
location: Gio.File
|
|
3801
3871
|
readonly has_selection: boolean
|
|
3872
|
+
readonly hasSelection: boolean
|
|
3802
3873
|
|
|
3803
3874
|
// Conflicting properties
|
|
3804
3875
|
|
|
@@ -4080,6 +4151,9 @@ export module RepositoryListBoxRow {
|
|
|
4080
4151
|
dirname?: string | null
|
|
4081
4152
|
branch_name?: string | null
|
|
4082
4153
|
loading?: boolean | null
|
|
4154
|
+
canRemove?: boolean | null
|
|
4155
|
+
repositoryName?: string | null
|
|
4156
|
+
branchName?: string | null
|
|
4083
4157
|
}
|
|
4084
4158
|
|
|
4085
4159
|
}
|
|
@@ -4092,11 +4166,14 @@ export interface RepositoryListBoxRow {
|
|
|
4092
4166
|
selected: boolean
|
|
4093
4167
|
repository: Repository
|
|
4094
4168
|
can_remove: boolean
|
|
4169
|
+
canRemove: boolean
|
|
4095
4170
|
time: GLib.DateTime
|
|
4096
4171
|
fraction: number
|
|
4097
4172
|
repository_name: string | null
|
|
4173
|
+
repositoryName: string | null
|
|
4098
4174
|
dirname: string | null
|
|
4099
4175
|
branch_name: string | null
|
|
4176
|
+
branchName: string | null
|
|
4100
4177
|
loading: boolean
|
|
4101
4178
|
|
|
4102
4179
|
// Conflicting properties
|
|
@@ -5148,6 +5225,7 @@ export interface StageStatusSubmodule extends StageStatusItem {
|
|
|
5148
5225
|
|
|
5149
5226
|
readonly submodule: Ggit.Submodule
|
|
5150
5227
|
readonly is_dirty: boolean
|
|
5228
|
+
readonly isDirty: boolean
|
|
5151
5229
|
readonly flags: Ggit.SubmoduleStatus
|
|
5152
5230
|
|
|
5153
5231
|
// Owm methods of Gitg-1.0.Gitg.StageStatusSubmodule
|
package/gitg-1.0.d.ts
CHANGED
|
@@ -228,6 +228,8 @@ module Ref {
|
|
|
228
228
|
d_pushes?: Ref[] | null
|
|
229
229
|
state?: RefState | null
|
|
230
230
|
working?: boolean | null
|
|
231
|
+
dParsedName?: ParsedRefName | null
|
|
232
|
+
dPushes?: Ref[] | null
|
|
231
233
|
}
|
|
232
234
|
|
|
233
235
|
}
|
|
@@ -237,7 +239,9 @@ interface Ref extends Ggit.Ref {
|
|
|
237
239
|
// Own properties of Gitg-1.0.Gitg.Ref
|
|
238
240
|
|
|
239
241
|
d_parsed_name: ParsedRefName
|
|
242
|
+
dParsedName: ParsedRefName
|
|
240
243
|
d_pushes: Ref[]
|
|
244
|
+
dPushes: Ref[]
|
|
241
245
|
state: RefState
|
|
242
246
|
working: boolean
|
|
243
247
|
|
|
@@ -377,6 +381,7 @@ interface SidebarItem extends GObject.Object {
|
|
|
377
381
|
|
|
378
382
|
readonly text: string | null
|
|
379
383
|
readonly icon_name: string | null
|
|
384
|
+
readonly iconName: string | null
|
|
380
385
|
|
|
381
386
|
// Owm methods of Gitg-1.0.Gitg.SidebarItem
|
|
382
387
|
|
|
@@ -438,9 +443,13 @@ interface StageStatusItem extends GObject.Object {
|
|
|
438
443
|
|
|
439
444
|
readonly path: string | null
|
|
440
445
|
readonly is_staged: boolean
|
|
446
|
+
readonly isStaged: boolean
|
|
441
447
|
readonly is_unstaged: boolean
|
|
448
|
+
readonly isUnstaged: boolean
|
|
442
449
|
readonly is_untracked: boolean
|
|
450
|
+
readonly isUntracked: boolean
|
|
443
451
|
readonly icon_name: string | null
|
|
452
|
+
readonly iconName: string | null
|
|
444
453
|
|
|
445
454
|
// Owm methods of Gitg-1.0.Gitg.StageStatusItem
|
|
446
455
|
|
|
@@ -533,6 +542,7 @@ interface AuthenticationDialog {
|
|
|
533
542
|
readonly username: string | null
|
|
534
543
|
readonly password: string | null
|
|
535
544
|
readonly life_time: AuthenticationLifeTime
|
|
545
|
+
readonly lifeTime: AuthenticationLifeTime
|
|
536
546
|
|
|
537
547
|
// Conflicting properties
|
|
538
548
|
|
|
@@ -1041,6 +1051,9 @@ module CellRendererLanes {
|
|
|
1041
1051
|
lane_width?: number | null
|
|
1042
1052
|
dot_width?: number | null
|
|
1043
1053
|
labels?: Ref[] | null
|
|
1054
|
+
nextCommit?: Commit | null
|
|
1055
|
+
laneWidth?: number | null
|
|
1056
|
+
dotWidth?: number | null
|
|
1044
1057
|
}
|
|
1045
1058
|
|
|
1046
1059
|
}
|
|
@@ -1051,8 +1064,11 @@ interface CellRendererLanes {
|
|
|
1051
1064
|
|
|
1052
1065
|
commit: Commit
|
|
1053
1066
|
next_commit: Commit
|
|
1067
|
+
nextCommit: Commit
|
|
1054
1068
|
lane_width: number
|
|
1069
|
+
laneWidth: number
|
|
1055
1070
|
dot_width: number
|
|
1071
|
+
dotWidth: number
|
|
1056
1072
|
labels: Ref[]
|
|
1057
1073
|
|
|
1058
1074
|
// Owm methods of Gitg-1.0.Gitg.CellRendererLanes
|
|
@@ -1695,6 +1711,7 @@ module CommitModel {
|
|
|
1695
1711
|
limit?: number | null
|
|
1696
1712
|
sort_mode?: Ggit.SortMode | null
|
|
1697
1713
|
repository?: Repository | null
|
|
1714
|
+
sortMode?: Ggit.SortMode | null
|
|
1698
1715
|
}
|
|
1699
1716
|
|
|
1700
1717
|
}
|
|
@@ -1705,6 +1722,7 @@ interface CommitModel extends Gtk.TreeModel {
|
|
|
1705
1722
|
|
|
1706
1723
|
limit: number
|
|
1707
1724
|
sort_mode: Ggit.SortMode
|
|
1725
|
+
sortMode: Ggit.SortMode
|
|
1708
1726
|
repository: Repository
|
|
1709
1727
|
|
|
1710
1728
|
// Owm methods of Gitg-1.0.Gitg.CommitModel
|
|
@@ -1799,8 +1817,11 @@ interface Commit {
|
|
|
1799
1817
|
mylane: number
|
|
1800
1818
|
readonly lane: Lane
|
|
1801
1819
|
readonly format_patch_name: string | null
|
|
1820
|
+
readonly formatPatchName: string | null
|
|
1802
1821
|
readonly committer_date_for_display: string | null
|
|
1822
|
+
readonly committerDateForDisplay: string | null
|
|
1803
1823
|
readonly author_date_for_display: string | null
|
|
1824
|
+
readonly authorDateForDisplay: string | null
|
|
1804
1825
|
|
|
1805
1826
|
// Conflicting properties
|
|
1806
1827
|
|
|
@@ -1899,6 +1920,7 @@ module Date {
|
|
|
1899
1920
|
// Own constructor properties of Gitg-1.0.Gitg.Date
|
|
1900
1921
|
|
|
1901
1922
|
date_string?: string | null
|
|
1923
|
+
dateString?: string | null
|
|
1902
1924
|
}
|
|
1903
1925
|
|
|
1904
1926
|
}
|
|
@@ -1908,6 +1930,7 @@ interface Date extends Gio.Initable {
|
|
|
1908
1930
|
// Own properties of Gitg-1.0.Gitg.Date
|
|
1909
1931
|
|
|
1910
1932
|
date_string: string | null
|
|
1933
|
+
dateString: string | null
|
|
1911
1934
|
readonly date: GLib.DateTime
|
|
1912
1935
|
|
|
1913
1936
|
// Owm methods of Gitg-1.0.Gitg.Date
|
|
@@ -2141,6 +2164,7 @@ module DiffViewOptions {
|
|
|
2141
2164
|
|
|
2142
2165
|
context_lines?: number | null
|
|
2143
2166
|
view?: DiffView | null
|
|
2167
|
+
contextLines?: number | null
|
|
2144
2168
|
}
|
|
2145
2169
|
|
|
2146
2170
|
}
|
|
@@ -2150,6 +2174,7 @@ interface DiffViewOptions {
|
|
|
2150
2174
|
// Own properties of Gitg-1.0.Gitg.DiffViewOptions
|
|
2151
2175
|
|
|
2152
2176
|
context_lines: number
|
|
2177
|
+
contextLines: number
|
|
2153
2178
|
view: DiffView
|
|
2154
2179
|
|
|
2155
2180
|
// Owm methods of Gitg-1.0.Gitg.DiffViewOptions
|
|
@@ -2491,6 +2516,17 @@ module DiffView {
|
|
|
2491
2516
|
ignore_whitespace?: boolean | null
|
|
2492
2517
|
changes_inline?: boolean | null
|
|
2493
2518
|
context_lines?: number | null
|
|
2519
|
+
hasSelection?: boolean | null
|
|
2520
|
+
wrapLines?: boolean | null
|
|
2521
|
+
showParents?: boolean | null
|
|
2522
|
+
defaultCollapseAll?: boolean | null
|
|
2523
|
+
useGravatar?: boolean | null
|
|
2524
|
+
tabWidth?: number | null
|
|
2525
|
+
handleSelection?: boolean | null
|
|
2526
|
+
newIsWorkdir?: boolean | null
|
|
2527
|
+
ignoreWhitespace?: boolean | null
|
|
2528
|
+
changesInline?: boolean | null
|
|
2529
|
+
contextLines?: number | null
|
|
2494
2530
|
}
|
|
2495
2531
|
|
|
2496
2532
|
}
|
|
@@ -2501,22 +2537,33 @@ interface DiffView {
|
|
|
2501
2537
|
|
|
2502
2538
|
readonly options: Ggit.DiffOptions
|
|
2503
2539
|
has_selection: boolean
|
|
2540
|
+
hasSelection: boolean
|
|
2504
2541
|
diff: Ggit.Diff
|
|
2505
2542
|
commit: Commit
|
|
2506
2543
|
wrap_lines: boolean
|
|
2544
|
+
wrapLines: boolean
|
|
2507
2545
|
staged: boolean
|
|
2508
2546
|
unstaged: boolean
|
|
2509
2547
|
show_parents: boolean
|
|
2548
|
+
showParents: boolean
|
|
2510
2549
|
default_collapse_all: boolean
|
|
2550
|
+
defaultCollapseAll: boolean
|
|
2511
2551
|
use_gravatar: boolean
|
|
2552
|
+
useGravatar: boolean
|
|
2512
2553
|
tab_width: number
|
|
2554
|
+
tabWidth: number
|
|
2513
2555
|
handle_selection: boolean
|
|
2556
|
+
handleSelection: boolean
|
|
2514
2557
|
highlight: boolean
|
|
2515
2558
|
repository: Repository
|
|
2516
2559
|
new_is_workdir: boolean
|
|
2560
|
+
newIsWorkdir: boolean
|
|
2517
2561
|
ignore_whitespace: boolean
|
|
2562
|
+
ignoreWhitespace: boolean
|
|
2518
2563
|
changes_inline: boolean
|
|
2564
|
+
changesInline: boolean
|
|
2519
2565
|
context_lines: number
|
|
2566
|
+
contextLines: number
|
|
2520
2567
|
|
|
2521
2568
|
// Owm methods of Gitg-1.0.Gitg.DiffView
|
|
2522
2569
|
|
|
@@ -2901,6 +2948,7 @@ module Hook {
|
|
|
2901
2948
|
environment?: Gee.HashMap | null
|
|
2902
2949
|
name?: string | null
|
|
2903
2950
|
working_directory?: Gio.File | null
|
|
2951
|
+
workingDirectory?: Gio.File | null
|
|
2904
2952
|
}
|
|
2905
2953
|
|
|
2906
2954
|
}
|
|
@@ -2912,6 +2960,7 @@ interface Hook {
|
|
|
2912
2960
|
environment: Gee.HashMap
|
|
2913
2961
|
name: string | null
|
|
2914
2962
|
working_directory: Gio.File
|
|
2963
|
+
workingDirectory: Gio.File
|
|
2915
2964
|
readonly output: string[]
|
|
2916
2965
|
|
|
2917
2966
|
// Owm methods of Gitg-1.0.Gitg.Hook
|
|
@@ -3000,6 +3049,11 @@ module Lanes {
|
|
|
3000
3049
|
inactive_gap?: number | null
|
|
3001
3050
|
inactive_enabled?: boolean | null
|
|
3002
3051
|
miss_commits?: Gee.LinkedList | null
|
|
3052
|
+
inactiveMax?: number | null
|
|
3053
|
+
inactiveCollapse?: number | null
|
|
3054
|
+
inactiveGap?: number | null
|
|
3055
|
+
inactiveEnabled?: boolean | null
|
|
3056
|
+
missCommits?: Gee.LinkedList | null
|
|
3003
3057
|
}
|
|
3004
3058
|
|
|
3005
3059
|
}
|
|
@@ -3009,10 +3063,15 @@ interface Lanes {
|
|
|
3009
3063
|
// Own properties of Gitg-1.0.Gitg.Lanes
|
|
3010
3064
|
|
|
3011
3065
|
inactive_max: number
|
|
3066
|
+
inactiveMax: number
|
|
3012
3067
|
inactive_collapse: number
|
|
3068
|
+
inactiveCollapse: number
|
|
3013
3069
|
inactive_gap: number
|
|
3070
|
+
inactiveGap: number
|
|
3014
3071
|
inactive_enabled: boolean
|
|
3072
|
+
inactiveEnabled: boolean
|
|
3015
3073
|
miss_commits: Gee.LinkedList
|
|
3074
|
+
missCommits: Gee.LinkedList
|
|
3016
3075
|
|
|
3017
3076
|
// Owm methods of Gitg-1.0.Gitg.Lanes
|
|
3018
3077
|
|
|
@@ -3421,7 +3480,9 @@ interface ParsedRefName {
|
|
|
3421
3480
|
readonly name: string | null
|
|
3422
3481
|
readonly shortname: string | null
|
|
3423
3482
|
readonly remote_name: string | null
|
|
3483
|
+
readonly remoteName: string | null
|
|
3424
3484
|
readonly remote_branch: string | null
|
|
3485
|
+
readonly remoteBranch: string | null
|
|
3425
3486
|
readonly prefix: string | null
|
|
3426
3487
|
|
|
3427
3488
|
// Owm methods of Gitg-1.0.Gitg.ParsedRefName
|
|
@@ -3496,6 +3557,9 @@ module Remote {
|
|
|
3496
3557
|
fetch_specs?: string[] | null
|
|
3497
3558
|
push_specs?: string[] | null
|
|
3498
3559
|
credentials_provider?: CredentialsProvider | null
|
|
3560
|
+
fetchSpecs?: string[] | null
|
|
3561
|
+
pushSpecs?: string[] | null
|
|
3562
|
+
credentialsProvider?: CredentialsProvider | null
|
|
3499
3563
|
}
|
|
3500
3564
|
|
|
3501
3565
|
}
|
|
@@ -3505,10 +3569,14 @@ interface Remote {
|
|
|
3505
3569
|
// Own properties of Gitg-1.0.Gitg.Remote
|
|
3506
3570
|
|
|
3507
3571
|
readonly transfer_progress: number
|
|
3572
|
+
readonly transferProgress: number
|
|
3508
3573
|
state: RemoteState
|
|
3509
3574
|
fetch_specs: string[]
|
|
3575
|
+
fetchSpecs: string[]
|
|
3510
3576
|
push_specs: string[]
|
|
3577
|
+
pushSpecs: string[]
|
|
3511
3578
|
credentials_provider: CredentialsProvider
|
|
3579
|
+
credentialsProvider: CredentialsProvider
|
|
3512
3580
|
|
|
3513
3581
|
// Conflicting properties
|
|
3514
3582
|
|
|
@@ -3789,6 +3857,7 @@ module RepositoryListBox {
|
|
|
3789
3857
|
mode?: SelectionMode | null
|
|
3790
3858
|
bookmarks_from_recent_files?: boolean | null
|
|
3791
3859
|
location?: Gio.File | null
|
|
3860
|
+
bookmarksFromRecentFiles?: boolean | null
|
|
3792
3861
|
}
|
|
3793
3862
|
|
|
3794
3863
|
}
|
|
@@ -3799,8 +3868,10 @@ interface RepositoryListBox {
|
|
|
3799
3868
|
|
|
3800
3869
|
mode: SelectionMode
|
|
3801
3870
|
bookmarks_from_recent_files: boolean
|
|
3871
|
+
bookmarksFromRecentFiles: boolean
|
|
3802
3872
|
location: Gio.File
|
|
3803
3873
|
readonly has_selection: boolean
|
|
3874
|
+
readonly hasSelection: boolean
|
|
3804
3875
|
|
|
3805
3876
|
// Conflicting properties
|
|
3806
3877
|
|
|
@@ -4082,6 +4153,9 @@ module RepositoryListBoxRow {
|
|
|
4082
4153
|
dirname?: string | null
|
|
4083
4154
|
branch_name?: string | null
|
|
4084
4155
|
loading?: boolean | null
|
|
4156
|
+
canRemove?: boolean | null
|
|
4157
|
+
repositoryName?: string | null
|
|
4158
|
+
branchName?: string | null
|
|
4085
4159
|
}
|
|
4086
4160
|
|
|
4087
4161
|
}
|
|
@@ -4094,11 +4168,14 @@ interface RepositoryListBoxRow {
|
|
|
4094
4168
|
selected: boolean
|
|
4095
4169
|
repository: Repository
|
|
4096
4170
|
can_remove: boolean
|
|
4171
|
+
canRemove: boolean
|
|
4097
4172
|
time: GLib.DateTime
|
|
4098
4173
|
fraction: number
|
|
4099
4174
|
repository_name: string | null
|
|
4175
|
+
repositoryName: string | null
|
|
4100
4176
|
dirname: string | null
|
|
4101
4177
|
branch_name: string | null
|
|
4178
|
+
branchName: string | null
|
|
4102
4179
|
loading: boolean
|
|
4103
4180
|
|
|
4104
4181
|
// Conflicting properties
|
|
@@ -5150,6 +5227,7 @@ interface StageStatusSubmodule extends StageStatusItem {
|
|
|
5150
5227
|
|
|
5151
5228
|
readonly submodule: Ggit.Submodule
|
|
5152
5229
|
readonly is_dirty: boolean
|
|
5230
|
+
readonly isDirty: boolean
|
|
5153
5231
|
readonly flags: Ggit.SubmoduleStatus
|
|
5154
5232
|
|
|
5155
5233
|
// Owm methods of Gitg-1.0.Gitg.StageStatusSubmodule
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/gitg-1.0",
|
|
3
|
-
"version": "1.0.0-3.2.
|
|
3
|
+
"version": "1.0.0-3.2.6",
|
|
4
4
|
"description": "GJS TypeScript type definitions for Gitg-1.0, generated from library version 1.0.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "gitg-1.0.js",
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
"test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gitg-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/gjs": "^3.2.
|
|
37
|
-
"@girs/glib-2.0": "^2.78.0-3.2.
|
|
38
|
-
"@girs/gmodule-2.0": "^2.0.0-3.2.
|
|
39
|
-
"@girs/gobject-2.0": "^2.78.0-3.2.
|
|
40
|
-
"@girs/gtk-3.0": "^3.24.38-3.2.
|
|
41
|
-
"@girs/harfbuzz-0.0": "^8.2.1-3.2.
|
|
42
|
-
"@girs/pango-1.0": "^1.51.0-3.2.
|
|
43
|
-
"@girs/xlib-2.0": "^2.0.0-3.2.
|
|
28
|
+
"@girs/atk-1.0": "^2.50.0-3.2.6",
|
|
29
|
+
"@girs/cairo-1.0": "^1.0.0-3.2.6",
|
|
30
|
+
"@girs/freetype2-2.0": "^2.0.0-3.2.6",
|
|
31
|
+
"@girs/gdk-3.0": "^3.24.38-3.2.6",
|
|
32
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-3.2.6",
|
|
33
|
+
"@girs/gee-0.8": "^0.8.0-3.2.6",
|
|
34
|
+
"@girs/ggit-1.0": "^1.1.0-3.2.6",
|
|
35
|
+
"@girs/gio-2.0": "^2.78.0-3.2.6",
|
|
36
|
+
"@girs/gjs": "^3.2.6",
|
|
37
|
+
"@girs/glib-2.0": "^2.78.0-3.2.6",
|
|
38
|
+
"@girs/gmodule-2.0": "^2.0.0-3.2.6",
|
|
39
|
+
"@girs/gobject-2.0": "^2.78.0-3.2.6",
|
|
40
|
+
"@girs/gtk-3.0": "^3.24.38-3.2.6",
|
|
41
|
+
"@girs/harfbuzz-0.0": "^8.2.1-3.2.6",
|
|
42
|
+
"@girs/pango-1.0": "^1.51.0-3.2.6",
|
|
43
|
+
"@girs/xlib-2.0": "^2.0.0-3.2.6"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"typescript": "*"
|