@girs/unity-7.0 7.0.0-3.2.5 → 7.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/package.json +7 -7
- package/unity-7.0.d.cts +364 -201
- package/unity-7.0.d.ts +364 -201
package/unity-7.0.d.cts
CHANGED
|
@@ -144,12 +144,12 @@ export enum AggregatorScopeMergeMode {
|
|
|
144
144
|
OWNER_SCOPE,
|
|
145
145
|
}
|
|
146
146
|
export const SCOPE_API_VERSION: number
|
|
147
|
-
export function category_renderer_from_string(renderer_name: string
|
|
148
|
-
export function category_renderer_to_string(val: CategoryRenderer): string
|
|
149
|
-
export function category_content_type_from_string(content_type: string
|
|
150
|
-
export function category_content_type_to_string(val: CategoryContentType): string
|
|
151
|
-
export function filter_renderer_to_string(renderer: FilterRenderer): string
|
|
152
|
-
export function filter_renderer_from_string(renderer_name: string
|
|
147
|
+
export function category_renderer_from_string(renderer_name: string): CategoryRenderer
|
|
148
|
+
export function category_renderer_to_string(val: CategoryRenderer): string
|
|
149
|
+
export function category_content_type_from_string(content_type: string): CategoryContentType
|
|
150
|
+
export function category_content_type_to_string(val: CategoryContentType): string
|
|
151
|
+
export function filter_renderer_to_string(renderer: FilterRenderer): string
|
|
152
|
+
export function filter_renderer_from_string(renderer_name: string): FilterRenderer
|
|
153
153
|
export function scope_module_get_version(): number
|
|
154
154
|
export function scope_module_load_scopes(): AbstractScope[]
|
|
155
155
|
export function object_unref(object?: any | null): void
|
|
@@ -167,7 +167,7 @@ export module AppInfoManager {
|
|
|
167
167
|
* Signal callback interface for `changed`
|
|
168
168
|
*/
|
|
169
169
|
export interface ChangedSignalCallback {
|
|
170
|
-
($obj: AppInfoManager, id: string
|
|
170
|
+
($obj: AppInfoManager, id: string, new_appinfo?: Gio.AppInfo | null): void
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
|
|
@@ -182,11 +182,11 @@ export interface AppInfoManager {
|
|
|
182
182
|
|
|
183
183
|
// Owm methods of Unity-7.0.Unity.AppInfoManager
|
|
184
184
|
|
|
185
|
-
lookup(id: string
|
|
186
|
-
get_categories(id: string
|
|
187
|
-
get_keywords(id: string
|
|
188
|
-
get_path(id: string
|
|
189
|
-
lookup_async(id: string
|
|
185
|
+
lookup(id: string): Gio.AppInfo | null
|
|
186
|
+
get_categories(id: string): string[] | null
|
|
187
|
+
get_keywords(id: string): string[] | null
|
|
188
|
+
get_path(id: string): string | null
|
|
189
|
+
lookup_async(id: string, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
190
190
|
|
|
191
191
|
// Overloads of lookup_async
|
|
192
192
|
|
|
@@ -198,7 +198,7 @@ export interface AppInfoManager {
|
|
|
198
198
|
* @param _callback_
|
|
199
199
|
* @returns A Promise of the result of {@link lookup_async}
|
|
200
200
|
*/
|
|
201
|
-
lookup_async(id: string
|
|
201
|
+
lookup_async(id: string): globalThis.Promise<Gio.AppInfo | null>
|
|
202
202
|
lookup_finish(_res_: Gio.AsyncResult): Gio.AppInfo | null
|
|
203
203
|
clear(): void
|
|
204
204
|
|
|
@@ -206,7 +206,7 @@ export interface AppInfoManager {
|
|
|
206
206
|
|
|
207
207
|
connect(sigName: "changed", callback: AppInfoManager.ChangedSignalCallback): number
|
|
208
208
|
connect_after(sigName: "changed", callback: AppInfoManager.ChangedSignalCallback): number
|
|
209
|
-
emit(sigName: "changed", id: string
|
|
209
|
+
emit(sigName: "changed", id: string, new_appinfo?: Gio.AppInfo | null, ...args: any[]): void
|
|
210
210
|
|
|
211
211
|
// Class property signals of Unity-7.0.Unity.AppInfoManager
|
|
212
212
|
|
|
@@ -243,6 +243,7 @@ export module AnnotatedIcon {
|
|
|
243
243
|
ribbon?: string | null
|
|
244
244
|
category?: CategoryType | null
|
|
245
245
|
size_hint?: IconSizeHint | null
|
|
246
|
+
sizeHint?: IconSizeHint | null
|
|
246
247
|
}
|
|
247
248
|
|
|
248
249
|
}
|
|
@@ -255,6 +256,7 @@ export interface AnnotatedIcon {
|
|
|
255
256
|
ribbon: string | null
|
|
256
257
|
category: CategoryType
|
|
257
258
|
size_hint: IconSizeHint
|
|
259
|
+
sizeHint: IconSizeHint
|
|
258
260
|
|
|
259
261
|
// Owm methods of Unity-7.0.Unity.AnnotatedIcon
|
|
260
262
|
|
|
@@ -262,8 +264,8 @@ export interface AnnotatedIcon {
|
|
|
262
264
|
to_string(): string | null
|
|
263
265
|
get_icon(): Gio.Icon
|
|
264
266
|
set_icon(value: Gio.Icon): void
|
|
265
|
-
get_ribbon(): string
|
|
266
|
-
set_ribbon(value: string
|
|
267
|
+
get_ribbon(): string
|
|
268
|
+
set_ribbon(value: string): void
|
|
267
269
|
get_category(): CategoryType
|
|
268
270
|
set_category(value: CategoryType): void
|
|
269
271
|
get_size_hint(): IconSizeHint
|
|
@@ -318,7 +320,9 @@ export interface Inspector {
|
|
|
318
320
|
// Own properties of Unity-7.0.Unity.Inspector
|
|
319
321
|
|
|
320
322
|
readonly unity_running: boolean
|
|
323
|
+
readonly unityRunning: boolean
|
|
321
324
|
readonly unity_bus_name: string | null
|
|
325
|
+
readonly unityBusName: string | null
|
|
322
326
|
|
|
323
327
|
// Owm methods of Unity-7.0.Unity.Inspector
|
|
324
328
|
|
|
@@ -368,6 +372,9 @@ export module LauncherEntry {
|
|
|
368
372
|
progress_visible?: boolean | null
|
|
369
373
|
urgent?: boolean | null
|
|
370
374
|
quicklist?: Dbusmenu.Menuitem | null
|
|
375
|
+
appUri?: string | null
|
|
376
|
+
countVisible?: boolean | null
|
|
377
|
+
progressVisible?: boolean | null
|
|
371
378
|
}
|
|
372
379
|
|
|
373
380
|
}
|
|
@@ -377,17 +384,20 @@ export interface LauncherEntry extends Dee.Serializable {
|
|
|
377
384
|
// Own properties of Unity-7.0.Unity.LauncherEntry
|
|
378
385
|
|
|
379
386
|
app_uri: string | null
|
|
387
|
+
appUri: string | null
|
|
380
388
|
count: number
|
|
381
389
|
count_visible: boolean
|
|
390
|
+
countVisible: boolean
|
|
382
391
|
progress: number
|
|
383
392
|
progress_visible: boolean
|
|
393
|
+
progressVisible: boolean
|
|
384
394
|
urgent: boolean
|
|
385
395
|
quicklist: Dbusmenu.Menuitem
|
|
386
396
|
|
|
387
397
|
// Owm methods of Unity-7.0.Unity.LauncherEntry
|
|
388
398
|
|
|
389
|
-
get_app_uri(): string
|
|
390
|
-
set_app_uri(value: string
|
|
399
|
+
get_app_uri(): string
|
|
400
|
+
set_app_uri(value: string): void
|
|
391
401
|
get_count(): number
|
|
392
402
|
set_count(value: number): void
|
|
393
403
|
get_count_visible(): boolean
|
|
@@ -441,9 +451,9 @@ export class LauncherEntry extends GObject.Object {
|
|
|
441
451
|
|
|
442
452
|
constructor(config?: LauncherEntry.ConstructorProperties)
|
|
443
453
|
_init(config?: LauncherEntry.ConstructorProperties): void
|
|
444
|
-
static get_for_app_uri(app_uri: string
|
|
445
|
-
static get_for_desktop_id(desktop_id: string
|
|
446
|
-
static get_for_desktop_file(desktop_file: string
|
|
454
|
+
static get_for_app_uri(app_uri: string): LauncherEntry
|
|
455
|
+
static get_for_desktop_id(desktop_id: string): LauncherEntry
|
|
456
|
+
static get_for_desktop_file(desktop_file: string): LauncherEntry
|
|
447
457
|
}
|
|
448
458
|
|
|
449
459
|
export module LauncherFavorites {
|
|
@@ -470,8 +480,8 @@ export interface LauncherFavorites {
|
|
|
470
480
|
// Owm methods of Unity-7.0.Unity.LauncherFavorites
|
|
471
481
|
|
|
472
482
|
has_app_info(appinfo: Gio.AppInfo): boolean
|
|
473
|
-
has_app_id(app_id: string
|
|
474
|
-
lookup(app_id: string
|
|
483
|
+
has_app_id(app_id: string): boolean
|
|
484
|
+
lookup(app_id: string): Gio.AppInfo | null
|
|
475
485
|
enumerate_ids(): string[]
|
|
476
486
|
enumerate_app_infos(): Gio.AppInfo[]
|
|
477
487
|
|
|
@@ -545,6 +555,8 @@ export module ProgressSourceProvider {
|
|
|
545
555
|
|
|
546
556
|
dbus_name?: string | null
|
|
547
557
|
dbus_path?: string | null
|
|
558
|
+
dbusName?: string | null
|
|
559
|
+
dbusPath?: string | null
|
|
548
560
|
}
|
|
549
561
|
|
|
550
562
|
}
|
|
@@ -554,12 +566,14 @@ export interface ProgressSourceProvider {
|
|
|
554
566
|
// Own properties of Unity-7.0.Unity.ProgressSourceProvider
|
|
555
567
|
|
|
556
568
|
readonly dbus_name: string | null
|
|
569
|
+
readonly dbusName: string | null
|
|
557
570
|
readonly dbus_path: string | null
|
|
571
|
+
readonly dbusPath: string | null
|
|
558
572
|
|
|
559
573
|
// Owm methods of Unity-7.0.Unity.ProgressSourceProvider
|
|
560
574
|
|
|
561
|
-
get_dbus_name(): string
|
|
562
|
-
get_dbus_path(): string
|
|
575
|
+
get_dbus_name(): string
|
|
576
|
+
get_dbus_path(): string
|
|
563
577
|
|
|
564
578
|
// Class property signals of Unity-7.0.Unity.ProgressSourceProvider
|
|
565
579
|
|
|
@@ -585,8 +599,8 @@ export class ProgressSourceProvider extends MetadataProvider {
|
|
|
585
599
|
// Constructors of Unity-7.0.Unity.ProgressSourceProvider
|
|
586
600
|
|
|
587
601
|
constructor(config?: ProgressSourceProvider.ConstructorProperties)
|
|
588
|
-
constructor(dbus_name: string
|
|
589
|
-
static new(dbus_name: string
|
|
602
|
+
constructor(dbus_name: string, dbus_path: string)
|
|
603
|
+
static new(dbus_name: string, dbus_path: string): ProgressSourceProvider
|
|
590
604
|
_init(config?: ProgressSourceProvider.ConstructorProperties): void
|
|
591
605
|
}
|
|
592
606
|
|
|
@@ -604,6 +618,10 @@ export module Category {
|
|
|
604
618
|
default_renderer?: CategoryRenderer | null
|
|
605
619
|
content_type?: CategoryContentType | null
|
|
606
620
|
renderer_hint?: string | null
|
|
621
|
+
iconHint?: Gio.Icon | null
|
|
622
|
+
defaultRenderer?: CategoryRenderer | null
|
|
623
|
+
contentType?: CategoryContentType | null
|
|
624
|
+
rendererHint?: string | null
|
|
607
625
|
}
|
|
608
626
|
|
|
609
627
|
}
|
|
@@ -615,23 +633,27 @@ export interface Category {
|
|
|
615
633
|
readonly id: string | null
|
|
616
634
|
readonly name: string | null
|
|
617
635
|
readonly icon_hint: Gio.Icon
|
|
636
|
+
readonly iconHint: Gio.Icon
|
|
618
637
|
readonly default_renderer: CategoryRenderer
|
|
638
|
+
readonly defaultRenderer: CategoryRenderer
|
|
619
639
|
content_type: CategoryContentType
|
|
640
|
+
contentType: CategoryContentType
|
|
620
641
|
renderer_hint: string | null
|
|
642
|
+
rendererHint: string | null
|
|
621
643
|
readonly renderer: string | null
|
|
622
644
|
|
|
623
645
|
// Owm methods of Unity-7.0.Unity.Category
|
|
624
646
|
|
|
625
647
|
add_metadata_provider(provider: MetadataProvider): void
|
|
626
|
-
get_id(): string
|
|
627
|
-
get_name(): string
|
|
648
|
+
get_id(): string
|
|
649
|
+
get_name(): string
|
|
628
650
|
get_icon_hint(): Gio.Icon | null
|
|
629
651
|
get_default_renderer(): CategoryRenderer
|
|
630
652
|
get_content_type(): CategoryContentType
|
|
631
653
|
set_content_type(value: CategoryContentType): void
|
|
632
|
-
get_renderer_hint(): string
|
|
633
|
-
set_renderer_hint(value: string
|
|
634
|
-
get_renderer(): string
|
|
654
|
+
get_renderer_hint(): string
|
|
655
|
+
set_renderer_hint(value: string): void
|
|
656
|
+
get_renderer(): string
|
|
635
657
|
|
|
636
658
|
// Class property signals of Unity-7.0.Unity.Category
|
|
637
659
|
|
|
@@ -672,8 +694,8 @@ export class Category extends GObject.Object {
|
|
|
672
694
|
// Constructors of Unity-7.0.Unity.Category
|
|
673
695
|
|
|
674
696
|
constructor(config?: Category.ConstructorProperties)
|
|
675
|
-
constructor(id: string
|
|
676
|
-
static new(id: string
|
|
697
|
+
constructor(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer)
|
|
698
|
+
static new(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer): Category
|
|
677
699
|
_init(config?: Category.ConstructorProperties): void
|
|
678
700
|
}
|
|
679
701
|
|
|
@@ -702,6 +724,8 @@ export module Filter {
|
|
|
702
724
|
visible?: boolean | null
|
|
703
725
|
collapsed?: boolean | null
|
|
704
726
|
filtering?: boolean | null
|
|
727
|
+
displayName?: string | null
|
|
728
|
+
iconHint?: Gio.Icon | null
|
|
705
729
|
}
|
|
706
730
|
|
|
707
731
|
}
|
|
@@ -712,7 +736,9 @@ export interface Filter extends Dee.Serializable {
|
|
|
712
736
|
|
|
713
737
|
readonly id: string | null
|
|
714
738
|
display_name: string | null
|
|
739
|
+
displayName: string | null
|
|
715
740
|
readonly icon_hint: Gio.Icon
|
|
741
|
+
readonly iconHint: Gio.Icon
|
|
716
742
|
readonly renderer: FilterRenderer
|
|
717
743
|
visible: boolean
|
|
718
744
|
collapsed: boolean
|
|
@@ -720,8 +746,8 @@ export interface Filter extends Dee.Serializable {
|
|
|
720
746
|
|
|
721
747
|
// Owm methods of Unity-7.0.Unity.Filter
|
|
722
748
|
|
|
723
|
-
get_id(): string
|
|
724
|
-
get_display_name(): string
|
|
749
|
+
get_id(): string
|
|
750
|
+
get_display_name(): string
|
|
725
751
|
get_icon_hint(): Gio.Icon | null
|
|
726
752
|
get_renderer(): FilterRenderer
|
|
727
753
|
get_visible(): boolean
|
|
@@ -789,6 +815,8 @@ export module FilterOption {
|
|
|
789
815
|
display_name?: string | null
|
|
790
816
|
icon_hint?: Gio.Icon | null
|
|
791
817
|
active?: boolean | null
|
|
818
|
+
displayName?: string | null
|
|
819
|
+
iconHint?: Gio.Icon | null
|
|
792
820
|
}
|
|
793
821
|
|
|
794
822
|
}
|
|
@@ -799,13 +827,15 @@ export interface FilterOption {
|
|
|
799
827
|
|
|
800
828
|
readonly id: string | null
|
|
801
829
|
readonly display_name: string | null
|
|
830
|
+
readonly displayName: string | null
|
|
802
831
|
readonly icon_hint: Gio.Icon
|
|
832
|
+
readonly iconHint: Gio.Icon
|
|
803
833
|
active: boolean
|
|
804
834
|
|
|
805
835
|
// Owm methods of Unity-7.0.Unity.FilterOption
|
|
806
836
|
|
|
807
|
-
get_id(): string
|
|
808
|
-
get_display_name(): string
|
|
837
|
+
get_id(): string
|
|
838
|
+
get_display_name(): string
|
|
809
839
|
get_icon_hint(): Gio.Icon
|
|
810
840
|
get_active(): boolean
|
|
811
841
|
set_active(value: boolean): void
|
|
@@ -840,8 +870,8 @@ export class FilterOption extends GObject.Object {
|
|
|
840
870
|
// Constructors of Unity-7.0.Unity.FilterOption
|
|
841
871
|
|
|
842
872
|
constructor(config?: FilterOption.ConstructorProperties)
|
|
843
|
-
constructor(id: string
|
|
844
|
-
static new(id: string
|
|
873
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean)
|
|
874
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean): FilterOption
|
|
845
875
|
_init(config?: FilterOption.ConstructorProperties): void
|
|
846
876
|
}
|
|
847
877
|
|
|
@@ -855,6 +885,8 @@ export module OptionsFilter {
|
|
|
855
885
|
|
|
856
886
|
sort_type?: OptionsFilterSortType | null
|
|
857
887
|
show_all_button?: boolean | null
|
|
888
|
+
sortType?: OptionsFilterSortType | null
|
|
889
|
+
showAllButton?: boolean | null
|
|
858
890
|
}
|
|
859
891
|
|
|
860
892
|
}
|
|
@@ -864,7 +896,9 @@ export interface OptionsFilter {
|
|
|
864
896
|
// Own properties of Unity-7.0.Unity.OptionsFilter
|
|
865
897
|
|
|
866
898
|
sort_type: OptionsFilterSortType
|
|
899
|
+
sortType: OptionsFilterSortType
|
|
867
900
|
show_all_button: boolean
|
|
901
|
+
showAllButton: boolean
|
|
868
902
|
|
|
869
903
|
// Own fields of Unity-7.0.Unity.OptionsFilter
|
|
870
904
|
|
|
@@ -872,9 +906,9 @@ export interface OptionsFilter {
|
|
|
872
906
|
|
|
873
907
|
// Owm methods of Unity-7.0.Unity.OptionsFilter
|
|
874
908
|
|
|
875
|
-
add_option(id: string
|
|
876
|
-
get_option(id: string
|
|
877
|
-
remove_option(id: string
|
|
909
|
+
add_option(id: string, display_name: string, icon_hint?: Gio.Icon | null): FilterOption
|
|
910
|
+
get_option(id: string): FilterOption | null
|
|
911
|
+
remove_option(id: string): boolean
|
|
878
912
|
get_sort_type(): OptionsFilterSortType
|
|
879
913
|
set_sort_type(value: OptionsFilterSortType): void
|
|
880
914
|
get_show_all_button(): boolean
|
|
@@ -990,8 +1024,8 @@ export class RadioOptionFilter extends OptionsFilter {
|
|
|
990
1024
|
// Constructors of Unity-7.0.Unity.RadioOptionFilter
|
|
991
1025
|
|
|
992
1026
|
constructor(config?: RadioOptionFilter.ConstructorProperties)
|
|
993
|
-
constructor(id: string
|
|
994
|
-
static new(id: string
|
|
1027
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1028
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RadioOptionFilter
|
|
995
1029
|
|
|
996
1030
|
// Overloads of new
|
|
997
1031
|
|
|
@@ -1055,8 +1089,8 @@ export class CheckOptionFilter extends OptionsFilter {
|
|
|
1055
1089
|
// Constructors of Unity-7.0.Unity.CheckOptionFilter
|
|
1056
1090
|
|
|
1057
1091
|
constructor(config?: CheckOptionFilter.ConstructorProperties)
|
|
1058
|
-
constructor(id: string
|
|
1059
|
-
static new(id: string
|
|
1092
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1093
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilter
|
|
1060
1094
|
|
|
1061
1095
|
// Overloads of new
|
|
1062
1096
|
|
|
@@ -1120,8 +1154,8 @@ export class CheckOptionFilterCompact extends OptionsFilter {
|
|
|
1120
1154
|
// Constructors of Unity-7.0.Unity.CheckOptionFilterCompact
|
|
1121
1155
|
|
|
1122
1156
|
constructor(config?: CheckOptionFilterCompact.ConstructorProperties)
|
|
1123
|
-
constructor(id: string
|
|
1124
|
-
static new(id: string
|
|
1157
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1158
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilterCompact
|
|
1125
1159
|
|
|
1126
1160
|
// Overloads of new
|
|
1127
1161
|
|
|
@@ -1194,8 +1228,8 @@ export class RatingsFilter extends Filter {
|
|
|
1194
1228
|
// Constructors of Unity-7.0.Unity.RatingsFilter
|
|
1195
1229
|
|
|
1196
1230
|
constructor(config?: RatingsFilter.ConstructorProperties)
|
|
1197
|
-
constructor(id: string
|
|
1198
|
-
static new(id: string
|
|
1231
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1232
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RatingsFilter
|
|
1199
1233
|
_init(config?: RatingsFilter.ConstructorProperties): void
|
|
1200
1234
|
}
|
|
1201
1235
|
|
|
@@ -1260,8 +1294,8 @@ export class MultiRangeFilter extends OptionsFilter {
|
|
|
1260
1294
|
// Constructors of Unity-7.0.Unity.MultiRangeFilter
|
|
1261
1295
|
|
|
1262
1296
|
constructor(config?: MultiRangeFilter.ConstructorProperties)
|
|
1263
|
-
constructor(id: string
|
|
1264
|
-
static new(id: string
|
|
1297
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1298
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): MultiRangeFilter
|
|
1265
1299
|
|
|
1266
1300
|
// Overloads of new
|
|
1267
1301
|
|
|
@@ -1282,6 +1316,11 @@ export module PreferencesManager {
|
|
|
1282
1316
|
home_lens_priority?: string[] | null
|
|
1283
1317
|
home_lens_default_view?: string[] | null
|
|
1284
1318
|
disabled_scopes?: string[] | null
|
|
1319
|
+
remoteContentSearch?: PreferencesManagerRemoteContent | null
|
|
1320
|
+
alwaysSearch?: string[] | null
|
|
1321
|
+
homeLensPriority?: string[] | null
|
|
1322
|
+
homeLensDefaultView?: string[] | null
|
|
1323
|
+
disabledScopes?: string[] | null
|
|
1285
1324
|
}
|
|
1286
1325
|
|
|
1287
1326
|
}
|
|
@@ -1291,10 +1330,15 @@ export interface PreferencesManager {
|
|
|
1291
1330
|
// Own properties of Unity-7.0.Unity.PreferencesManager
|
|
1292
1331
|
|
|
1293
1332
|
remote_content_search: PreferencesManagerRemoteContent
|
|
1333
|
+
remoteContentSearch: PreferencesManagerRemoteContent
|
|
1294
1334
|
always_search: string[]
|
|
1335
|
+
alwaysSearch: string[]
|
|
1295
1336
|
home_lens_priority: string[]
|
|
1337
|
+
homeLensPriority: string[]
|
|
1296
1338
|
home_lens_default_view: string[]
|
|
1339
|
+
homeLensDefaultView: string[]
|
|
1297
1340
|
disabled_scopes: string[]
|
|
1341
|
+
disabledScopes: string[]
|
|
1298
1342
|
|
|
1299
1343
|
// Owm methods of Unity-7.0.Unity.PreferencesManager
|
|
1300
1344
|
|
|
@@ -1368,6 +1412,8 @@ export module DeprecatedScopeSearch {
|
|
|
1368
1412
|
hints?: GLib.HashTable | null
|
|
1369
1413
|
results_model?: Dee.SerializableModel | null
|
|
1370
1414
|
owner?: DeprecatedScopeBase | null
|
|
1415
|
+
channelId?: string | null
|
|
1416
|
+
resultsModel?: Dee.SerializableModel | null
|
|
1371
1417
|
}
|
|
1372
1418
|
|
|
1373
1419
|
}
|
|
@@ -1377,19 +1423,23 @@ export interface DeprecatedScopeSearch {
|
|
|
1377
1423
|
// Own properties of Unity-7.0.Unity.DeprecatedScopeSearch
|
|
1378
1424
|
|
|
1379
1425
|
readonly channel_id: string | null
|
|
1426
|
+
readonly channelId: string | null
|
|
1380
1427
|
readonly search_string: string | null
|
|
1428
|
+
readonly searchString: string | null
|
|
1381
1429
|
readonly search_type: SearchType
|
|
1430
|
+
readonly searchType: SearchType
|
|
1382
1431
|
readonly hints: GLib.HashTable
|
|
1383
1432
|
readonly results_model: Dee.SerializableModel
|
|
1433
|
+
readonly resultsModel: Dee.SerializableModel
|
|
1384
1434
|
readonly owner: DeprecatedScopeBase
|
|
1385
1435
|
|
|
1386
1436
|
// Owm methods of Unity-7.0.Unity.DeprecatedScopeSearch
|
|
1387
1437
|
|
|
1388
|
-
set_reply_hint(key: string
|
|
1389
|
-
get_filter(filter_id: string
|
|
1438
|
+
set_reply_hint(key: string, variant: GLib.Variant): void
|
|
1439
|
+
get_filter(filter_id: string): Filter | null
|
|
1390
1440
|
equals(other: DeprecatedScopeSearch): boolean
|
|
1391
|
-
get_channel_id(): string
|
|
1392
|
-
get_search_string(): string
|
|
1441
|
+
get_channel_id(): string
|
|
1442
|
+
get_search_string(): string
|
|
1393
1443
|
get_search_type(): SearchType
|
|
1394
1444
|
get_hints(): GLib.HashTable
|
|
1395
1445
|
get_results_model(): Dee.SerializableModel
|
|
@@ -1448,7 +1498,7 @@ export module AggregatedScopeSearch {
|
|
|
1448
1498
|
* Signal callback interface for `transaction-complete`
|
|
1449
1499
|
*/
|
|
1450
1500
|
export interface TransactionCompleteSignalCallback {
|
|
1451
|
-
($obj: AggregatedScopeSearch, origin_scope_id: string
|
|
1501
|
+
($obj: AggregatedScopeSearch, origin_scope_id: string): void
|
|
1452
1502
|
}
|
|
1453
1503
|
|
|
1454
1504
|
/**
|
|
@@ -1470,9 +1520,9 @@ export interface AggregatedScopeSearch {
|
|
|
1470
1520
|
|
|
1471
1521
|
// Owm methods of Unity-7.0.Unity.AggregatedScopeSearch
|
|
1472
1522
|
|
|
1473
|
-
search_scope(scope_id: string
|
|
1523
|
+
search_scope(scope_id: string, search_string: string, search_type: SearchType, hints?: GLib.HashTable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
1474
1524
|
search_scope_finish(_res_: Gio.AsyncResult): GLib.HashTable
|
|
1475
|
-
push_results(scope_id: string
|
|
1525
|
+
push_results(scope_id: string, results_model: Dee.SerializableModel, category_ids: string[], _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
1476
1526
|
push_results_finish(_res_: Gio.AsyncResult): void
|
|
1477
1527
|
push_filter_settings(filters: FilterSet): void
|
|
1478
1528
|
|
|
@@ -1480,7 +1530,7 @@ export interface AggregatedScopeSearch {
|
|
|
1480
1530
|
|
|
1481
1531
|
connect(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
|
|
1482
1532
|
connect_after(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
|
|
1483
|
-
emit(sigName: "transaction-complete", origin_scope_id: string
|
|
1533
|
+
emit(sigName: "transaction-complete", origin_scope_id: string, ...args: any[]): void
|
|
1484
1534
|
connect(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
|
|
1485
1535
|
connect_after(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
|
|
1486
1536
|
emit(sigName: "category-order-changed", category_indices: number[], ...args: any[]): void
|
|
@@ -1521,8 +1571,8 @@ export class AggregatedScopeSearch extends DeprecatedScopeSearch {
|
|
|
1521
1571
|
// Constructors of Unity-7.0.Unity.AggregatedScopeSearch
|
|
1522
1572
|
|
|
1523
1573
|
constructor(config?: AggregatedScopeSearch.ConstructorProperties)
|
|
1524
|
-
constructor(owner: AggregatorScope, channel_id: string
|
|
1525
|
-
static new(owner: AggregatorScope, channel_id: string
|
|
1574
|
+
constructor(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel)
|
|
1575
|
+
static new(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel): AggregatedScopeSearch
|
|
1526
1576
|
_init(config?: AggregatedScopeSearch.ConstructorProperties): void
|
|
1527
1577
|
}
|
|
1528
1578
|
|
|
@@ -1539,6 +1589,8 @@ export module Preview {
|
|
|
1539
1589
|
description_markup?: string | null
|
|
1540
1590
|
image_source_uri?: string | null
|
|
1541
1591
|
image?: Gio.Icon | null
|
|
1592
|
+
descriptionMarkup?: string | null
|
|
1593
|
+
imageSourceUri?: string | null
|
|
1542
1594
|
}
|
|
1543
1595
|
|
|
1544
1596
|
}
|
|
@@ -1550,21 +1602,23 @@ export interface Preview extends Dee.Serializable {
|
|
|
1550
1602
|
title: string | null
|
|
1551
1603
|
subtitle: string | null
|
|
1552
1604
|
description_markup: string | null
|
|
1605
|
+
descriptionMarkup: string | null
|
|
1553
1606
|
image_source_uri: string | null
|
|
1607
|
+
imageSourceUri: string | null
|
|
1554
1608
|
image: Gio.Icon
|
|
1555
1609
|
|
|
1556
1610
|
// Owm methods of Unity-7.0.Unity.Preview
|
|
1557
1611
|
|
|
1558
1612
|
add_action(action: PreviewAction): void
|
|
1559
1613
|
add_info(info_hint: InfoHint): void
|
|
1560
|
-
get_title(): string
|
|
1561
|
-
set_title(value: string
|
|
1562
|
-
get_subtitle(): string
|
|
1563
|
-
set_subtitle(value: string
|
|
1564
|
-
get_description_markup(): string
|
|
1565
|
-
set_description_markup(value: string
|
|
1566
|
-
get_image_source_uri(): string
|
|
1567
|
-
set_image_source_uri(value: string
|
|
1614
|
+
get_title(): string
|
|
1615
|
+
set_title(value: string): void
|
|
1616
|
+
get_subtitle(): string
|
|
1617
|
+
set_subtitle(value: string): void
|
|
1618
|
+
get_description_markup(): string
|
|
1619
|
+
set_description_markup(value: string): void
|
|
1620
|
+
get_image_source_uri(): string
|
|
1621
|
+
set_image_source_uri(value: string): void
|
|
1568
1622
|
get_image(): Gio.Icon | null
|
|
1569
1623
|
set_image(value?: Gio.Icon | null): void
|
|
1570
1624
|
|
|
@@ -1612,7 +1666,7 @@ export module PreviewAction {
|
|
|
1612
1666
|
* Signal callback interface for `activated`
|
|
1613
1667
|
*/
|
|
1614
1668
|
export interface ActivatedSignalCallback {
|
|
1615
|
-
($obj: PreviewAction, uri: string
|
|
1669
|
+
($obj: PreviewAction, uri: string): ActivationResponse
|
|
1616
1670
|
}
|
|
1617
1671
|
|
|
1618
1672
|
|
|
@@ -1627,6 +1681,10 @@ export module PreviewAction {
|
|
|
1627
1681
|
extra_text?: string | null
|
|
1628
1682
|
icon_hint?: Gio.Icon | null
|
|
1629
1683
|
layout_hint?: LayoutHint | null
|
|
1684
|
+
displayName?: string | null
|
|
1685
|
+
extraText?: string | null
|
|
1686
|
+
iconHint?: Gio.Icon | null
|
|
1687
|
+
layoutHint?: LayoutHint | null
|
|
1630
1688
|
}
|
|
1631
1689
|
|
|
1632
1690
|
}
|
|
@@ -1637,17 +1695,21 @@ export interface PreviewAction extends Dee.Serializable {
|
|
|
1637
1695
|
|
|
1638
1696
|
readonly id: string | null
|
|
1639
1697
|
readonly display_name: string | null
|
|
1698
|
+
readonly displayName: string | null
|
|
1640
1699
|
extra_text: string | null
|
|
1700
|
+
extraText: string | null
|
|
1641
1701
|
readonly icon_hint: Gio.Icon
|
|
1702
|
+
readonly iconHint: Gio.Icon
|
|
1642
1703
|
readonly layout_hint: LayoutHint
|
|
1704
|
+
readonly layoutHint: LayoutHint
|
|
1643
1705
|
readonly hints: GLib.HashTable
|
|
1644
1706
|
|
|
1645
1707
|
// Owm methods of Unity-7.0.Unity.PreviewAction
|
|
1646
1708
|
|
|
1647
|
-
get_id(): string
|
|
1648
|
-
get_display_name(): string
|
|
1649
|
-
get_extra_text(): string
|
|
1650
|
-
set_extra_text(value: string
|
|
1709
|
+
get_id(): string
|
|
1710
|
+
get_display_name(): string
|
|
1711
|
+
get_extra_text(): string
|
|
1712
|
+
set_extra_text(value: string): void
|
|
1651
1713
|
get_icon_hint(): Gio.Icon | null
|
|
1652
1714
|
get_layout_hint(): LayoutHint
|
|
1653
1715
|
get_hints(): GLib.HashTable | null
|
|
@@ -1656,7 +1718,7 @@ export interface PreviewAction extends Dee.Serializable {
|
|
|
1656
1718
|
|
|
1657
1719
|
connect(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
|
|
1658
1720
|
connect_after(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
|
|
1659
|
-
emit(sigName: "activated", uri: string
|
|
1721
|
+
emit(sigName: "activated", uri: string, ...args: any[]): void
|
|
1660
1722
|
|
|
1661
1723
|
// Class property signals of Unity-7.0.Unity.PreviewAction
|
|
1662
1724
|
|
|
@@ -1694,10 +1756,10 @@ export class PreviewAction extends GObject.Object {
|
|
|
1694
1756
|
// Constructors of Unity-7.0.Unity.PreviewAction
|
|
1695
1757
|
|
|
1696
1758
|
constructor(config?: PreviewAction.ConstructorProperties)
|
|
1697
|
-
constructor(id: string
|
|
1698
|
-
static new(id: string
|
|
1699
|
-
static with_layout_hint(id: string
|
|
1700
|
-
static with_uri(uri: string
|
|
1759
|
+
constructor(id: string, display_name: string, icon_hint?: Gio.Icon | null)
|
|
1760
|
+
static new(id: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
|
|
1761
|
+
static with_layout_hint(id: string, display_name: string, icon_hint: Gio.Icon | null, layout: LayoutHint): PreviewAction
|
|
1762
|
+
static with_uri(uri: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
|
|
1701
1763
|
_init(config?: PreviewAction.ConstructorProperties): void
|
|
1702
1764
|
}
|
|
1703
1765
|
|
|
@@ -1713,6 +1775,8 @@ export module InfoHint {
|
|
|
1713
1775
|
display_name?: string | null
|
|
1714
1776
|
icon_hint?: Gio.Icon | null
|
|
1715
1777
|
data?: GLib.Variant | null
|
|
1778
|
+
displayName?: string | null
|
|
1779
|
+
iconHint?: Gio.Icon | null
|
|
1716
1780
|
}
|
|
1717
1781
|
|
|
1718
1782
|
}
|
|
@@ -1723,13 +1787,15 @@ export interface InfoHint {
|
|
|
1723
1787
|
|
|
1724
1788
|
readonly id: string | null
|
|
1725
1789
|
readonly display_name: string | null
|
|
1790
|
+
readonly displayName: string | null
|
|
1726
1791
|
readonly icon_hint: Gio.Icon
|
|
1792
|
+
readonly iconHint: Gio.Icon
|
|
1727
1793
|
readonly data: GLib.Variant
|
|
1728
1794
|
|
|
1729
1795
|
// Owm methods of Unity-7.0.Unity.InfoHint
|
|
1730
1796
|
|
|
1731
|
-
get_id(): string
|
|
1732
|
-
get_display_name(): string
|
|
1797
|
+
get_id(): string
|
|
1798
|
+
get_display_name(): string
|
|
1733
1799
|
get_icon_hint(): Gio.Icon | null
|
|
1734
1800
|
get_data(): GLib.Variant
|
|
1735
1801
|
|
|
@@ -1740,7 +1806,7 @@ export interface InfoHint {
|
|
|
1740
1806
|
* @param key name of the key for that association
|
|
1741
1807
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1742
1808
|
*/
|
|
1743
|
-
get_data(key: string
|
|
1809
|
+
get_data(key: string): any | null
|
|
1744
1810
|
|
|
1745
1811
|
// Class property signals of Unity-7.0.Unity.InfoHint
|
|
1746
1812
|
|
|
@@ -1772,9 +1838,9 @@ export class InfoHint extends GObject.InitiallyUnowned {
|
|
|
1772
1838
|
// Constructors of Unity-7.0.Unity.InfoHint
|
|
1773
1839
|
|
|
1774
1840
|
constructor(config?: InfoHint.ConstructorProperties)
|
|
1775
|
-
constructor(id: string
|
|
1776
|
-
static new(id: string
|
|
1777
|
-
static with_variant(id: string
|
|
1841
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string)
|
|
1842
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string): InfoHint
|
|
1843
|
+
static with_variant(id: string, display_name: string, icon_hint: Gio.Icon | null, data: GLib.Variant): InfoHint
|
|
1778
1844
|
_init(config?: InfoHint.ConstructorProperties): void
|
|
1779
1845
|
}
|
|
1780
1846
|
|
|
@@ -1822,8 +1888,8 @@ export class GenericPreview extends Preview {
|
|
|
1822
1888
|
// Constructors of Unity-7.0.Unity.GenericPreview
|
|
1823
1889
|
|
|
1824
1890
|
constructor(config?: GenericPreview.ConstructorProperties)
|
|
1825
|
-
constructor(title: string
|
|
1826
|
-
static new(title: string
|
|
1891
|
+
constructor(title: string, description: string, image?: Gio.Icon | null)
|
|
1892
|
+
static new(title: string, description: string, image?: Gio.Icon | null): GenericPreview
|
|
1827
1893
|
_init(config?: GenericPreview.ConstructorProperties): void
|
|
1828
1894
|
}
|
|
1829
1895
|
|
|
@@ -1839,6 +1905,8 @@ export module ApplicationPreview {
|
|
|
1839
1905
|
license?: string | null
|
|
1840
1906
|
copyright?: string | null
|
|
1841
1907
|
last_update?: string | null
|
|
1908
|
+
appIcon?: Gio.Icon | null
|
|
1909
|
+
lastUpdate?: string | null
|
|
1842
1910
|
}
|
|
1843
1911
|
|
|
1844
1912
|
}
|
|
@@ -1848,21 +1916,23 @@ export interface ApplicationPreview {
|
|
|
1848
1916
|
// Own properties of Unity-7.0.Unity.ApplicationPreview
|
|
1849
1917
|
|
|
1850
1918
|
app_icon: Gio.Icon
|
|
1919
|
+
appIcon: Gio.Icon
|
|
1851
1920
|
license: string | null
|
|
1852
1921
|
copyright: string | null
|
|
1853
1922
|
last_update: string | null
|
|
1923
|
+
lastUpdate: string | null
|
|
1854
1924
|
|
|
1855
1925
|
// Owm methods of Unity-7.0.Unity.ApplicationPreview
|
|
1856
1926
|
|
|
1857
1927
|
set_rating(rating: number, num_ratings: number): void
|
|
1858
1928
|
get_app_icon(): Gio.Icon
|
|
1859
1929
|
set_app_icon(value: Gio.Icon): void
|
|
1860
|
-
get_license(): string
|
|
1861
|
-
set_license(value: string
|
|
1862
|
-
get_copyright(): string
|
|
1863
|
-
set_copyright(value: string
|
|
1864
|
-
get_last_update(): string
|
|
1865
|
-
set_last_update(value: string
|
|
1930
|
+
get_license(): string
|
|
1931
|
+
set_license(value: string): void
|
|
1932
|
+
get_copyright(): string
|
|
1933
|
+
set_copyright(value: string): void
|
|
1934
|
+
get_last_update(): string
|
|
1935
|
+
set_last_update(value: string): void
|
|
1866
1936
|
|
|
1867
1937
|
// Class property signals of Unity-7.0.Unity.ApplicationPreview
|
|
1868
1938
|
|
|
@@ -1909,8 +1979,8 @@ export class ApplicationPreview extends Preview {
|
|
|
1909
1979
|
// Constructors of Unity-7.0.Unity.ApplicationPreview
|
|
1910
1980
|
|
|
1911
1981
|
constructor(config?: ApplicationPreview.ConstructorProperties)
|
|
1912
|
-
constructor(title: string
|
|
1913
|
-
static new(title: string
|
|
1982
|
+
constructor(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null)
|
|
1983
|
+
static new(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null): ApplicationPreview
|
|
1914
1984
|
_init(config?: ApplicationPreview.ConstructorProperties): void
|
|
1915
1985
|
}
|
|
1916
1986
|
|
|
@@ -1962,8 +2032,8 @@ export class MusicPreview extends Preview {
|
|
|
1962
2032
|
// Constructors of Unity-7.0.Unity.MusicPreview
|
|
1963
2033
|
|
|
1964
2034
|
constructor(config?: MusicPreview.ConstructorProperties)
|
|
1965
|
-
constructor(title: string
|
|
1966
|
-
static new(title: string
|
|
2035
|
+
constructor(title: string, subtitle: string, image?: Gio.Icon | null)
|
|
2036
|
+
static new(title: string, subtitle: string, image?: Gio.Icon | null): MusicPreview
|
|
1967
2037
|
_init(config?: MusicPreview.ConstructorProperties): void
|
|
1968
2038
|
}
|
|
1969
2039
|
|
|
@@ -1981,6 +2051,10 @@ export module PaymentPreview {
|
|
|
1981
2051
|
purchase_prize?: string | null
|
|
1982
2052
|
purchase_type?: string | null
|
|
1983
2053
|
preview_type?: PaymentPreviewType | null
|
|
2054
|
+
paymentMethod?: string | null
|
|
2055
|
+
purchasePrize?: string | null
|
|
2056
|
+
purchaseType?: string | null
|
|
2057
|
+
previewType?: PaymentPreviewType | null
|
|
1984
2058
|
}
|
|
1985
2059
|
|
|
1986
2060
|
}
|
|
@@ -1992,22 +2066,26 @@ export interface PaymentPreview {
|
|
|
1992
2066
|
header: string | null
|
|
1993
2067
|
email: string | null
|
|
1994
2068
|
payment_method: string | null
|
|
2069
|
+
paymentMethod: string | null
|
|
1995
2070
|
purchase_prize: string | null
|
|
2071
|
+
purchasePrize: string | null
|
|
1996
2072
|
purchase_type: string | null
|
|
2073
|
+
purchaseType: string | null
|
|
1997
2074
|
preview_type: PaymentPreviewType
|
|
2075
|
+
previewType: PaymentPreviewType
|
|
1998
2076
|
|
|
1999
2077
|
// Owm methods of Unity-7.0.Unity.PaymentPreview
|
|
2000
2078
|
|
|
2001
|
-
get_header(): string
|
|
2002
|
-
set_header(value: string
|
|
2003
|
-
get_email(): string
|
|
2004
|
-
set_email(value: string
|
|
2005
|
-
get_payment_method(): string
|
|
2006
|
-
set_payment_method(value: string
|
|
2007
|
-
get_purchase_prize(): string
|
|
2008
|
-
set_purchase_prize(value: string
|
|
2009
|
-
get_purchase_type(): string
|
|
2010
|
-
set_purchase_type(value: string
|
|
2079
|
+
get_header(): string
|
|
2080
|
+
set_header(value: string): void
|
|
2081
|
+
get_email(): string
|
|
2082
|
+
set_email(value: string): void
|
|
2083
|
+
get_payment_method(): string
|
|
2084
|
+
set_payment_method(value: string): void
|
|
2085
|
+
get_purchase_prize(): string
|
|
2086
|
+
set_purchase_prize(value: string): void
|
|
2087
|
+
get_purchase_type(): string
|
|
2088
|
+
set_purchase_type(value: string): void
|
|
2011
2089
|
get_preview_type(): PaymentPreviewType
|
|
2012
2090
|
set_preview_type(value: PaymentPreviewType): void
|
|
2013
2091
|
|
|
@@ -2062,12 +2140,12 @@ export class PaymentPreview extends Preview {
|
|
|
2062
2140
|
// Constructors of Unity-7.0.Unity.PaymentPreview
|
|
2063
2141
|
|
|
2064
2142
|
constructor(config?: PaymentPreview.ConstructorProperties)
|
|
2065
|
-
constructor(title: string
|
|
2066
|
-
static new(title: string
|
|
2067
|
-
static for_type(title: string
|
|
2068
|
-
static for_application(title: string
|
|
2069
|
-
static for_music(title: string
|
|
2070
|
-
static for_error(title: string
|
|
2143
|
+
constructor(title: string, subtitle: string, image?: Gio.Icon | null)
|
|
2144
|
+
static new(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2145
|
+
static for_type(title: string, subtitle: string, image: Gio.Icon | null, type: PaymentPreviewType): PaymentPreview
|
|
2146
|
+
static for_application(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2147
|
+
static for_music(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2148
|
+
static for_error(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2071
2149
|
_init(config?: PaymentPreview.ConstructorProperties): void
|
|
2072
2150
|
}
|
|
2073
2151
|
|
|
@@ -2093,8 +2171,8 @@ export interface MoviePreview {
|
|
|
2093
2171
|
// Owm methods of Unity-7.0.Unity.MoviePreview
|
|
2094
2172
|
|
|
2095
2173
|
set_rating(rating: number, num_ratings: number): void
|
|
2096
|
-
get_year(): string
|
|
2097
|
-
set_year(value: string
|
|
2174
|
+
get_year(): string
|
|
2175
|
+
set_year(value: string): void
|
|
2098
2176
|
|
|
2099
2177
|
// Class property signals of Unity-7.0.Unity.MoviePreview
|
|
2100
2178
|
|
|
@@ -2132,8 +2210,8 @@ export class MoviePreview extends Preview {
|
|
|
2132
2210
|
// Constructors of Unity-7.0.Unity.MoviePreview
|
|
2133
2211
|
|
|
2134
2212
|
constructor(config?: MoviePreview.ConstructorProperties)
|
|
2135
|
-
constructor(title: string
|
|
2136
|
-
static new(title: string
|
|
2213
|
+
constructor(title: string, subtitle: string, description: string, image?: Gio.Icon | null)
|
|
2214
|
+
static new(title: string, subtitle: string, description: string, image?: Gio.Icon | null): MoviePreview
|
|
2137
2215
|
_init(config?: MoviePreview.ConstructorProperties): void
|
|
2138
2216
|
}
|
|
2139
2217
|
|
|
@@ -2165,10 +2243,10 @@ export interface SocialPreview {
|
|
|
2165
2243
|
add_comment(comment: SocialPreviewComment): void
|
|
2166
2244
|
get_avatar(): Gio.Icon
|
|
2167
2245
|
set_avatar(value: Gio.Icon): void
|
|
2168
|
-
get_content(): string
|
|
2169
|
-
set_content(value: string
|
|
2170
|
-
get_sender(): string
|
|
2171
|
-
set_sender(value: string
|
|
2246
|
+
get_content(): string
|
|
2247
|
+
set_content(value: string): void
|
|
2248
|
+
get_sender(): string
|
|
2249
|
+
set_sender(value: string): void
|
|
2172
2250
|
|
|
2173
2251
|
// Class property signals of Unity-7.0.Unity.SocialPreview
|
|
2174
2252
|
|
|
@@ -2212,8 +2290,8 @@ export class SocialPreview extends Preview {
|
|
|
2212
2290
|
// Constructors of Unity-7.0.Unity.SocialPreview
|
|
2213
2291
|
|
|
2214
2292
|
constructor(config?: SocialPreview.ConstructorProperties)
|
|
2215
|
-
constructor(sender: string
|
|
2216
|
-
static new(sender: string
|
|
2293
|
+
constructor(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null)
|
|
2294
|
+
static new(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null): SocialPreview
|
|
2217
2295
|
_init(config?: SocialPreview.ConstructorProperties): void
|
|
2218
2296
|
}
|
|
2219
2297
|
|
|
@@ -2244,10 +2322,10 @@ export interface SocialPreviewComment {
|
|
|
2244
2322
|
|
|
2245
2323
|
// Owm methods of Unity-7.0.Unity.SocialPreviewComment
|
|
2246
2324
|
|
|
2247
|
-
get_id(): string
|
|
2248
|
-
get_name(): string
|
|
2249
|
-
get_text(): string
|
|
2250
|
-
get_time(): string
|
|
2325
|
+
get_id(): string
|
|
2326
|
+
get_name(): string
|
|
2327
|
+
get_text(): string
|
|
2328
|
+
get_time(): string
|
|
2251
2329
|
|
|
2252
2330
|
// Class property signals of Unity-7.0.Unity.SocialPreviewComment
|
|
2253
2331
|
|
|
@@ -2279,8 +2357,8 @@ export class SocialPreviewComment extends GObject.InitiallyUnowned {
|
|
|
2279
2357
|
// Constructors of Unity-7.0.Unity.SocialPreviewComment
|
|
2280
2358
|
|
|
2281
2359
|
constructor(config?: SocialPreviewComment.ConstructorProperties)
|
|
2282
|
-
constructor(id: string
|
|
2283
|
-
static new(id: string
|
|
2360
|
+
constructor(id: string, name: string, text: string, time: string)
|
|
2361
|
+
static new(id: string, name: string, text: string, time: string): SocialPreviewComment
|
|
2284
2362
|
_init(config?: SocialPreviewComment.ConstructorProperties): void
|
|
2285
2363
|
}
|
|
2286
2364
|
|
|
@@ -2294,6 +2372,7 @@ export module ActivationResponse {
|
|
|
2294
2372
|
|
|
2295
2373
|
handled?: HandledType | null
|
|
2296
2374
|
goto_uri?: string | null
|
|
2375
|
+
gotoUri?: string | null
|
|
2297
2376
|
}
|
|
2298
2377
|
|
|
2299
2378
|
}
|
|
@@ -2304,12 +2383,13 @@ export interface ActivationResponse {
|
|
|
2304
2383
|
|
|
2305
2384
|
readonly handled: HandledType
|
|
2306
2385
|
goto_uri: string | null
|
|
2386
|
+
gotoUri: string | null
|
|
2307
2387
|
|
|
2308
2388
|
// Owm methods of Unity-7.0.Unity.ActivationResponse
|
|
2309
2389
|
|
|
2310
2390
|
get_handled(): HandledType
|
|
2311
|
-
get_goto_uri(): string
|
|
2312
|
-
set_goto_uri(value: string
|
|
2391
|
+
get_goto_uri(): string
|
|
2392
|
+
set_goto_uri(value: string): void
|
|
2313
2393
|
|
|
2314
2394
|
// Class property signals of Unity-7.0.Unity.ActivationResponse
|
|
2315
2395
|
|
|
@@ -2335,9 +2415,9 @@ export class ActivationResponse extends GObject.Object {
|
|
|
2335
2415
|
// Constructors of Unity-7.0.Unity.ActivationResponse
|
|
2336
2416
|
|
|
2337
2417
|
constructor(config?: ActivationResponse.ConstructorProperties)
|
|
2338
|
-
constructor(handled: HandledType, goto_uri: string
|
|
2339
|
-
static new(handled: HandledType, goto_uri: string
|
|
2340
|
-
static with_search(search_string: string
|
|
2418
|
+
constructor(handled: HandledType, goto_uri: string)
|
|
2419
|
+
static new(handled: HandledType, goto_uri: string): ActivationResponse
|
|
2420
|
+
static with_search(search_string: string, filter_set?: FilterSet | null, search_metadata?: SearchMetadata | null): ActivationResponse
|
|
2341
2421
|
static with_preview(preview: Preview): ActivationResponse
|
|
2342
2422
|
_init(config?: ActivationResponse.ConstructorProperties): void
|
|
2343
2423
|
}
|
|
@@ -2355,6 +2435,10 @@ export module AggregatorActivation {
|
|
|
2355
2435
|
action_type?: number | null
|
|
2356
2436
|
scope_result?: ScopeResult | null
|
|
2357
2437
|
hints?: GLib.HashTable | null
|
|
2438
|
+
channelId?: string | null
|
|
2439
|
+
scopeId?: string | null
|
|
2440
|
+
actionType?: number | null
|
|
2441
|
+
scopeResult?: ScopeResult | null
|
|
2358
2442
|
}
|
|
2359
2443
|
|
|
2360
2444
|
}
|
|
@@ -2364,17 +2448,21 @@ export interface AggregatorActivation {
|
|
|
2364
2448
|
// Own properties of Unity-7.0.Unity.AggregatorActivation
|
|
2365
2449
|
|
|
2366
2450
|
channel_id: string | null
|
|
2451
|
+
channelId: string | null
|
|
2367
2452
|
scope_id: string | null
|
|
2453
|
+
scopeId: string | null
|
|
2368
2454
|
action_type: number
|
|
2455
|
+
actionType: number
|
|
2369
2456
|
scope_result: ScopeResult
|
|
2457
|
+
scopeResult: ScopeResult
|
|
2370
2458
|
hints: GLib.HashTable
|
|
2371
2459
|
|
|
2372
2460
|
// Owm methods of Unity-7.0.Unity.AggregatorActivation
|
|
2373
2461
|
|
|
2374
|
-
get_channel_id(): string
|
|
2375
|
-
set_channel_id(value: string
|
|
2376
|
-
get_scope_id(): string
|
|
2377
|
-
set_scope_id(value: string
|
|
2462
|
+
get_channel_id(): string
|
|
2463
|
+
set_channel_id(value: string): void
|
|
2464
|
+
get_scope_id(): string
|
|
2465
|
+
set_scope_id(value: string): void
|
|
2378
2466
|
get_action_type(): number
|
|
2379
2467
|
set_action_type(value: number): void
|
|
2380
2468
|
get_scope_result(): ScopeResult | null
|
|
@@ -2414,8 +2502,8 @@ export class AggregatorActivation extends GObject.Object {
|
|
|
2414
2502
|
// Constructors of Unity-7.0.Unity.AggregatorActivation
|
|
2415
2503
|
|
|
2416
2504
|
constructor(config?: AggregatorActivation.ConstructorProperties)
|
|
2417
|
-
constructor(channel_id: string
|
|
2418
|
-
static new(channel_id: string
|
|
2505
|
+
constructor(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null)
|
|
2506
|
+
static new(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null): AggregatorActivation
|
|
2419
2507
|
_init(config?: AggregatorActivation.ConstructorProperties): void
|
|
2420
2508
|
}
|
|
2421
2509
|
|
|
@@ -2433,13 +2521,13 @@ export interface FilterSet {
|
|
|
2433
2521
|
// Owm methods of Unity-7.0.Unity.FilterSet
|
|
2434
2522
|
|
|
2435
2523
|
add(filter: Filter): void
|
|
2436
|
-
get_filter_by_id(filter_id: string
|
|
2524
|
+
get_filter_by_id(filter_id: string): Filter | null
|
|
2437
2525
|
get_filters(): Filter[]
|
|
2438
2526
|
|
|
2439
2527
|
// Own virtual methods of Unity-7.0.Unity.FilterSet
|
|
2440
2528
|
|
|
2441
2529
|
vfunc_add(filter: Filter): void
|
|
2442
|
-
vfunc_get_filter_by_id(filter_id: string
|
|
2530
|
+
vfunc_get_filter_by_id(filter_id: string): Filter | null
|
|
2443
2531
|
vfunc_get_filters(): Filter[]
|
|
2444
2532
|
|
|
2445
2533
|
// Class property signals of Unity-7.0.Unity.FilterSet
|
|
@@ -2522,12 +2610,12 @@ export interface Schema {
|
|
|
2522
2610
|
|
|
2523
2611
|
// Owm methods of Unity-7.0.Unity.Schema
|
|
2524
2612
|
|
|
2525
|
-
add_field(name: string
|
|
2613
|
+
add_field(name: string, schema: string, type: SchemaFieldType): void
|
|
2526
2614
|
get_fields(): SchemaFieldInfo[]
|
|
2527
2615
|
|
|
2528
2616
|
// Own virtual methods of Unity-7.0.Unity.Schema
|
|
2529
2617
|
|
|
2530
|
-
vfunc_add_field(name: string
|
|
2618
|
+
vfunc_add_field(name: string, schema: string, type: SchemaFieldType): void
|
|
2531
2619
|
vfunc_get_fields(): SchemaFieldInfo[]
|
|
2532
2620
|
|
|
2533
2621
|
// Class property signals of Unity-7.0.Unity.Schema
|
|
@@ -2799,6 +2887,7 @@ export interface SearchMetadata {
|
|
|
2799
2887
|
|
|
2800
2888
|
readonly locale: string | null
|
|
2801
2889
|
readonly form_factor: string | null
|
|
2890
|
+
readonly formFactor: string | null
|
|
2802
2891
|
readonly location: GeoCoordinate
|
|
2803
2892
|
|
|
2804
2893
|
// Owm methods of Unity-7.0.Unity.SearchMetadata
|
|
@@ -2918,7 +3007,7 @@ export interface AbstractScope {
|
|
|
2918
3007
|
get_group_name(): string | null
|
|
2919
3008
|
get_unique_name(): string | null
|
|
2920
3009
|
activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
|
|
2921
|
-
normalize_search_query(search_query: string
|
|
3010
|
+
normalize_search_query(search_query: string): string | null
|
|
2922
3011
|
results_invalidated(search_type: SearchType): void
|
|
2923
3012
|
|
|
2924
3013
|
// Own virtual methods of Unity-7.0.Unity.AbstractScope
|
|
@@ -2932,7 +3021,7 @@ export interface AbstractScope {
|
|
|
2932
3021
|
vfunc_get_group_name(): string | null
|
|
2933
3022
|
vfunc_get_unique_name(): string | null
|
|
2934
3023
|
vfunc_activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
|
|
2935
|
-
vfunc_normalize_search_query(search_query: string
|
|
3024
|
+
vfunc_normalize_search_query(search_query: string): string | null
|
|
2936
3025
|
|
|
2937
3026
|
// Own signals of Unity-7.0.Unity.AbstractScope
|
|
2938
3027
|
|
|
@@ -3042,6 +3131,10 @@ export module DeprecatedScopeBase {
|
|
|
3042
3131
|
categories?: CategorySet | null
|
|
3043
3132
|
filters?: FilterSet | null
|
|
3044
3133
|
schema?: Schema | null
|
|
3134
|
+
dbusPath?: string | null
|
|
3135
|
+
searchInGlobal?: boolean | null
|
|
3136
|
+
isMaster?: boolean | null
|
|
3137
|
+
searchHint?: string | null
|
|
3045
3138
|
}
|
|
3046
3139
|
|
|
3047
3140
|
}
|
|
@@ -3052,10 +3145,14 @@ export interface DeprecatedScopeBase {
|
|
|
3052
3145
|
|
|
3053
3146
|
readonly id: string | null
|
|
3054
3147
|
readonly dbus_path: string | null
|
|
3148
|
+
readonly dbusPath: string | null
|
|
3055
3149
|
search_in_global: boolean
|
|
3150
|
+
searchInGlobal: boolean
|
|
3056
3151
|
visible: boolean
|
|
3057
3152
|
readonly is_master: boolean
|
|
3153
|
+
readonly isMaster: boolean
|
|
3058
3154
|
search_hint: string | null
|
|
3155
|
+
searchHint: string | null
|
|
3059
3156
|
sources: OptionsFilter
|
|
3060
3157
|
categories: CategorySet
|
|
3061
3158
|
filters: FilterSet
|
|
@@ -3065,15 +3162,15 @@ export interface DeprecatedScopeBase {
|
|
|
3065
3162
|
|
|
3066
3163
|
export(): void
|
|
3067
3164
|
unexport(): void
|
|
3068
|
-
get_id(): string
|
|
3069
|
-
get_dbus_path(): string
|
|
3165
|
+
get_id(): string
|
|
3166
|
+
get_dbus_path(): string
|
|
3070
3167
|
get_search_in_global(): boolean
|
|
3071
3168
|
set_search_in_global(value: boolean): void
|
|
3072
3169
|
get_visible(): boolean
|
|
3073
3170
|
set_visible(value: boolean): void
|
|
3074
3171
|
get_is_master(): boolean
|
|
3075
|
-
get_search_hint(): string
|
|
3076
|
-
set_search_hint(value: string
|
|
3172
|
+
get_search_hint(): string
|
|
3173
|
+
set_search_hint(value: string): void
|
|
3077
3174
|
get_sources(): OptionsFilter
|
|
3078
3175
|
get_categories(): CategorySet
|
|
3079
3176
|
set_categories(value: CategorySet): void
|
|
@@ -3147,14 +3244,14 @@ export module DeprecatedScope {
|
|
|
3147
3244
|
* Signal callback interface for `activate-uri`
|
|
3148
3245
|
*/
|
|
3149
3246
|
export interface ActivateUriSignalCallback {
|
|
3150
|
-
($obj: DeprecatedScope, uri: string
|
|
3247
|
+
($obj: DeprecatedScope, uri: string): ActivationResponse | null
|
|
3151
3248
|
}
|
|
3152
3249
|
|
|
3153
3250
|
/**
|
|
3154
3251
|
* Signal callback interface for `preview-uri`
|
|
3155
3252
|
*/
|
|
3156
3253
|
export interface PreviewUriSignalCallback {
|
|
3157
|
-
($obj: DeprecatedScope, uri: string
|
|
3254
|
+
($obj: DeprecatedScope, uri: string): Preview | null
|
|
3158
3255
|
}
|
|
3159
3256
|
|
|
3160
3257
|
/**
|
|
@@ -3200,10 +3297,10 @@ export interface DeprecatedScope {
|
|
|
3200
3297
|
|
|
3201
3298
|
connect(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
|
|
3202
3299
|
connect_after(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
|
|
3203
|
-
emit(sigName: "activate-uri", uri: string
|
|
3300
|
+
emit(sigName: "activate-uri", uri: string, ...args: any[]): void
|
|
3204
3301
|
connect(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
|
|
3205
3302
|
connect_after(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
|
|
3206
|
-
emit(sigName: "preview-uri", uri: string
|
|
3303
|
+
emit(sigName: "preview-uri", uri: string, ...args: any[]): void
|
|
3207
3304
|
connect(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
|
|
3208
3305
|
connect_after(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
|
|
3209
3306
|
emit(sigName: "generate-search-key", search: DeprecatedScopeSearch, ...args: any[]): void
|
|
@@ -3259,8 +3356,8 @@ export class DeprecatedScope extends DeprecatedScopeBase {
|
|
|
3259
3356
|
// Constructors of Unity-7.0.Unity.DeprecatedScope
|
|
3260
3357
|
|
|
3261
3358
|
constructor(config?: DeprecatedScope.ConstructorProperties)
|
|
3262
|
-
constructor(dbus_path_: string
|
|
3263
|
-
static new(dbus_path_: string
|
|
3359
|
+
constructor(dbus_path_: string, id_: string)
|
|
3360
|
+
static new(dbus_path_: string, id_: string): DeprecatedScope
|
|
3264
3361
|
_init(config?: DeprecatedScope.ConstructorProperties): void
|
|
3265
3362
|
}
|
|
3266
3363
|
|
|
@@ -3275,6 +3372,9 @@ export module AggregatorScope {
|
|
|
3275
3372
|
merge_mode?: AggregatorScopeMergeMode | null
|
|
3276
3373
|
proxy_filter_hints?: boolean | null
|
|
3277
3374
|
automatic_flushing?: boolean | null
|
|
3375
|
+
mergeMode?: AggregatorScopeMergeMode | null
|
|
3376
|
+
proxyFilterHints?: boolean | null
|
|
3377
|
+
automaticFlushing?: boolean | null
|
|
3278
3378
|
}
|
|
3279
3379
|
|
|
3280
3380
|
}
|
|
@@ -3284,14 +3384,17 @@ export interface AggregatorScope {
|
|
|
3284
3384
|
// Own properties of Unity-7.0.Unity.AggregatorScope
|
|
3285
3385
|
|
|
3286
3386
|
merge_mode: AggregatorScopeMergeMode
|
|
3387
|
+
mergeMode: AggregatorScopeMergeMode
|
|
3287
3388
|
proxy_filter_hints: boolean
|
|
3389
|
+
proxyFilterHints: boolean
|
|
3288
3390
|
automatic_flushing: boolean
|
|
3391
|
+
automaticFlushing: boolean
|
|
3289
3392
|
|
|
3290
3393
|
// Owm methods of Unity-7.0.Unity.AggregatorScope
|
|
3291
3394
|
|
|
3292
|
-
category_index_for_scope_id(scope_id: string
|
|
3293
|
-
add_sorter(category_index: number, field: string
|
|
3294
|
-
add_constraint(category_index: number, field: string
|
|
3395
|
+
category_index_for_scope_id(scope_id: string): number
|
|
3396
|
+
add_sorter(category_index: number, field: string, flags: AggregatorScopeSortFlags): void
|
|
3397
|
+
add_constraint(category_index: number, field: string): void
|
|
3295
3398
|
search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
3296
3399
|
search_finish(_res_: Gio.AsyncResult): void
|
|
3297
3400
|
activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -3305,7 +3408,7 @@ export interface AggregatorScope {
|
|
|
3305
3408
|
|
|
3306
3409
|
// Own virtual methods of Unity-7.0.Unity.AggregatorScope
|
|
3307
3410
|
|
|
3308
|
-
vfunc_category_index_for_scope_id(scope_id: string
|
|
3411
|
+
vfunc_category_index_for_scope_id(scope_id: string): number
|
|
3309
3412
|
vfunc_search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
3310
3413
|
vfunc_search_finish(_res_: Gio.AsyncResult): void
|
|
3311
3414
|
vfunc_activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -3380,6 +3483,7 @@ export module MasterScope {
|
|
|
3380
3483
|
// Own constructor properties of Unity-7.0.Unity.MasterScope
|
|
3381
3484
|
|
|
3382
3485
|
no_content_hint?: string | null
|
|
3486
|
+
noContentHint?: string | null
|
|
3383
3487
|
}
|
|
3384
3488
|
|
|
3385
3489
|
}
|
|
@@ -3389,11 +3493,12 @@ export interface MasterScope {
|
|
|
3389
3493
|
// Own properties of Unity-7.0.Unity.MasterScope
|
|
3390
3494
|
|
|
3391
3495
|
no_content_hint: string | null
|
|
3496
|
+
noContentHint: string | null
|
|
3392
3497
|
|
|
3393
3498
|
// Owm methods of Unity-7.0.Unity.MasterScope
|
|
3394
3499
|
|
|
3395
|
-
get_no_content_hint(): string
|
|
3396
|
-
set_no_content_hint(value: string
|
|
3500
|
+
get_no_content_hint(): string
|
|
3501
|
+
set_no_content_hint(value: string): void
|
|
3397
3502
|
|
|
3398
3503
|
// Class property signals of Unity-7.0.Unity.MasterScope
|
|
3399
3504
|
|
|
@@ -3455,8 +3560,8 @@ export class MasterScope extends AggregatorScope {
|
|
|
3455
3560
|
// Constructors of Unity-7.0.Unity.MasterScope
|
|
3456
3561
|
|
|
3457
3562
|
constructor(config?: MasterScope.ConstructorProperties)
|
|
3458
|
-
constructor(dbus_path_: string
|
|
3459
|
-
static new(dbus_path_: string
|
|
3563
|
+
constructor(dbus_path_: string, id_: string)
|
|
3564
|
+
static new(dbus_path_: string, id_: string): MasterScope
|
|
3460
3565
|
_init(config?: MasterScope.ConstructorProperties): void
|
|
3461
3566
|
}
|
|
3462
3567
|
|
|
@@ -3474,6 +3579,11 @@ export module SimpleScope {
|
|
|
3474
3579
|
search_hint?: string | null
|
|
3475
3580
|
group_name?: string | null
|
|
3476
3581
|
unique_name?: string | null
|
|
3582
|
+
filterSet?: FilterSet | null
|
|
3583
|
+
categorySet?: CategorySet | null
|
|
3584
|
+
searchHint?: string | null
|
|
3585
|
+
groupName?: string | null
|
|
3586
|
+
uniqueName?: string | null
|
|
3477
3587
|
}
|
|
3478
3588
|
|
|
3479
3589
|
}
|
|
@@ -3483,11 +3593,16 @@ export interface SimpleScope {
|
|
|
3483
3593
|
// Own properties of Unity-7.0.Unity.SimpleScope
|
|
3484
3594
|
|
|
3485
3595
|
filter_set: FilterSet
|
|
3596
|
+
filterSet: FilterSet
|
|
3486
3597
|
category_set: CategorySet
|
|
3598
|
+
categorySet: CategorySet
|
|
3487
3599
|
schema: Schema
|
|
3488
3600
|
search_hint: string | null
|
|
3601
|
+
searchHint: string | null
|
|
3489
3602
|
group_name: string | null
|
|
3603
|
+
groupName: string | null
|
|
3490
3604
|
unique_name: string | null
|
|
3605
|
+
uniqueName: string | null
|
|
3491
3606
|
|
|
3492
3607
|
// Owm methods of Unity-7.0.Unity.SimpleScope
|
|
3493
3608
|
|
|
@@ -3502,12 +3617,24 @@ export interface SimpleScope {
|
|
|
3502
3617
|
set_category_set(value: CategorySet): void
|
|
3503
3618
|
get_schema(): Schema
|
|
3504
3619
|
set_schema(value: Schema): void
|
|
3620
|
+
get_search_hint(): string
|
|
3621
|
+
|
|
3622
|
+
// Overloads of get_search_hint
|
|
3623
|
+
|
|
3505
3624
|
get_search_hint(): string | null
|
|
3506
|
-
set_search_hint(value: string
|
|
3625
|
+
set_search_hint(value: string): void
|
|
3626
|
+
get_group_name(): string
|
|
3627
|
+
|
|
3628
|
+
// Overloads of get_group_name
|
|
3629
|
+
|
|
3507
3630
|
get_group_name(): string | null
|
|
3508
|
-
set_group_name(value: string
|
|
3631
|
+
set_group_name(value: string): void
|
|
3632
|
+
get_unique_name(): string
|
|
3633
|
+
|
|
3634
|
+
// Overloads of get_unique_name
|
|
3635
|
+
|
|
3509
3636
|
get_unique_name(): string | null
|
|
3510
|
-
set_unique_name(value: string
|
|
3637
|
+
set_unique_name(value: string): void
|
|
3511
3638
|
|
|
3512
3639
|
// Class property signals of Unity-7.0.Unity.SimpleScope
|
|
3513
3640
|
|
|
@@ -3563,15 +3690,15 @@ export interface ScopeLoader {
|
|
|
3563
3690
|
|
|
3564
3691
|
// Owm methods of Unity-7.0.Unity.ScopeLoader
|
|
3565
3692
|
|
|
3566
|
-
get_scopes(module_name: string
|
|
3693
|
+
get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
|
|
3567
3694
|
export_scopes(scopes: AbstractScope[]): void
|
|
3568
|
-
load_group(group_name: string
|
|
3569
|
-
load_scope(scope_id: string
|
|
3570
|
-
load_module(module: string
|
|
3695
|
+
load_group(group_name: string): void
|
|
3696
|
+
load_scope(scope_id: string): void
|
|
3697
|
+
load_module(module: string, module_type?: string | null): void
|
|
3571
3698
|
|
|
3572
3699
|
// Own virtual methods of Unity-7.0.Unity.ScopeLoader
|
|
3573
3700
|
|
|
3574
|
-
vfunc_get_scopes(module_name: string
|
|
3701
|
+
vfunc_get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
|
|
3575
3702
|
vfunc_export_scopes(scopes: AbstractScope[]): void
|
|
3576
3703
|
|
|
3577
3704
|
// Class property signals of Unity-7.0.Unity.ScopeLoader
|
|
@@ -3613,6 +3740,9 @@ export module TrackMetadata {
|
|
|
3613
3740
|
length?: number | null
|
|
3614
3741
|
art_location?: Gio.File | null
|
|
3615
3742
|
art_icon?: Gio.Icon | null
|
|
3743
|
+
trackNo?: number | null
|
|
3744
|
+
artLocation?: Gio.File | null
|
|
3745
|
+
artIcon?: Gio.Icon | null
|
|
3616
3746
|
}
|
|
3617
3747
|
|
|
3618
3748
|
}
|
|
@@ -3623,25 +3753,28 @@ export interface TrackMetadata {
|
|
|
3623
3753
|
|
|
3624
3754
|
uri: string | null
|
|
3625
3755
|
track_no: number
|
|
3756
|
+
trackNo: number
|
|
3626
3757
|
artist: string | null
|
|
3627
3758
|
title: string | null
|
|
3628
3759
|
album: string | null
|
|
3629
3760
|
length: number
|
|
3630
3761
|
art_location: Gio.File
|
|
3762
|
+
artLocation: Gio.File
|
|
3631
3763
|
art_icon: Gio.Icon
|
|
3764
|
+
artIcon: Gio.Icon
|
|
3632
3765
|
|
|
3633
3766
|
// Owm methods of Unity-7.0.Unity.TrackMetadata
|
|
3634
3767
|
|
|
3635
|
-
get_uri(): string
|
|
3636
|
-
set_uri(value: string
|
|
3768
|
+
get_uri(): string
|
|
3769
|
+
set_uri(value: string): void
|
|
3637
3770
|
get_track_no(): number
|
|
3638
3771
|
set_track_no(value: number): void
|
|
3639
|
-
get_artist(): string
|
|
3640
|
-
set_artist(value: string
|
|
3641
|
-
get_title(): string
|
|
3642
|
-
set_title(value: string
|
|
3643
|
-
get_album(): string
|
|
3644
|
-
set_album(value: string
|
|
3772
|
+
get_artist(): string
|
|
3773
|
+
set_artist(value: string): void
|
|
3774
|
+
get_title(): string
|
|
3775
|
+
set_title(value: string): void
|
|
3776
|
+
get_album(): string
|
|
3777
|
+
set_album(value: string): void
|
|
3645
3778
|
get_length(): number
|
|
3646
3779
|
set_length(value: number): void
|
|
3647
3780
|
get_art_location(): Gio.File
|
|
@@ -3693,7 +3826,7 @@ export class TrackMetadata extends GObject.Object {
|
|
|
3693
3826
|
constructor(config?: TrackMetadata.ConstructorProperties)
|
|
3694
3827
|
constructor()
|
|
3695
3828
|
static new(): TrackMetadata
|
|
3696
|
-
static full(uri: string
|
|
3829
|
+
static full(uri: string, track_no: number, title: string, artist: string, album: string, length: number): TrackMetadata
|
|
3697
3830
|
_init(config?: TrackMetadata.ConstructorProperties): void
|
|
3698
3831
|
}
|
|
3699
3832
|
|
|
@@ -3711,6 +3844,9 @@ export module Playlist {
|
|
|
3711
3844
|
creation_date?: GLib.DateTime | null
|
|
3712
3845
|
modification_date?: GLib.DateTime | null
|
|
3713
3846
|
last_play_date?: GLib.DateTime | null
|
|
3847
|
+
creationDate?: GLib.DateTime | null
|
|
3848
|
+
modificationDate?: GLib.DateTime | null
|
|
3849
|
+
lastPlayDate?: GLib.DateTime | null
|
|
3714
3850
|
}
|
|
3715
3851
|
|
|
3716
3852
|
}
|
|
@@ -3723,14 +3859,17 @@ export interface Playlist {
|
|
|
3723
3859
|
name: string | null
|
|
3724
3860
|
icon: Gio.Icon
|
|
3725
3861
|
creation_date: GLib.DateTime
|
|
3862
|
+
creationDate: GLib.DateTime
|
|
3726
3863
|
modification_date: GLib.DateTime
|
|
3864
|
+
modificationDate: GLib.DateTime
|
|
3727
3865
|
last_play_date: GLib.DateTime
|
|
3866
|
+
lastPlayDate: GLib.DateTime
|
|
3728
3867
|
|
|
3729
3868
|
// Owm methods of Unity-7.0.Unity.Playlist
|
|
3730
3869
|
|
|
3731
|
-
get_id(): string
|
|
3732
|
-
get_name(): string
|
|
3733
|
-
set_name(value: string
|
|
3870
|
+
get_id(): string
|
|
3871
|
+
get_name(): string
|
|
3872
|
+
set_name(value: string): void
|
|
3734
3873
|
get_icon(): Gio.Icon
|
|
3735
3874
|
set_icon(value: Gio.Icon): void
|
|
3736
3875
|
get_creation_date(): GLib.DateTime
|
|
@@ -3776,8 +3915,8 @@ export class Playlist extends GObject.Object {
|
|
|
3776
3915
|
// Constructors of Unity-7.0.Unity.Playlist
|
|
3777
3916
|
|
|
3778
3917
|
constructor(config?: Playlist.ConstructorProperties)
|
|
3779
|
-
constructor(id: string
|
|
3780
|
-
static new(id: string
|
|
3918
|
+
constructor(id: string)
|
|
3919
|
+
static new(id: string): Playlist
|
|
3781
3920
|
_init(config?: Playlist.ConstructorProperties): void
|
|
3782
3921
|
}
|
|
3783
3922
|
|
|
@@ -3840,6 +3979,18 @@ export module MusicPlayer {
|
|
|
3840
3979
|
current_playlist?: Playlist | null
|
|
3841
3980
|
track_menu?: Dbusmenu.Menuitem | null
|
|
3842
3981
|
player_menu?: Dbusmenu.Menuitem | null
|
|
3982
|
+
appInfo?: Gio.AppInfo | null
|
|
3983
|
+
desktopFileName?: string | null
|
|
3984
|
+
isBlacklisted?: boolean | null
|
|
3985
|
+
canGoNext?: boolean | null
|
|
3986
|
+
canGoPrevious?: boolean | null
|
|
3987
|
+
canPlay?: boolean | null
|
|
3988
|
+
canPause?: boolean | null
|
|
3989
|
+
currentTrack?: TrackMetadata | null
|
|
3990
|
+
playbackState?: PlaybackState | null
|
|
3991
|
+
currentPlaylist?: Playlist | null
|
|
3992
|
+
trackMenu?: Dbusmenu.Menuitem | null
|
|
3993
|
+
playerMenu?: Dbusmenu.Menuitem | null
|
|
3843
3994
|
}
|
|
3844
3995
|
|
|
3845
3996
|
}
|
|
@@ -3849,18 +4000,30 @@ export interface MusicPlayer {
|
|
|
3849
4000
|
// Own properties of Unity-7.0.Unity.MusicPlayer
|
|
3850
4001
|
|
|
3851
4002
|
readonly app_info: Gio.AppInfo
|
|
4003
|
+
readonly appInfo: Gio.AppInfo
|
|
3852
4004
|
readonly desktop_file_name: string | null
|
|
4005
|
+
readonly desktopFileName: string | null
|
|
3853
4006
|
is_blacklisted: boolean
|
|
4007
|
+
isBlacklisted: boolean
|
|
3854
4008
|
title: string | null
|
|
3855
4009
|
can_go_next: boolean
|
|
4010
|
+
canGoNext: boolean
|
|
3856
4011
|
can_go_previous: boolean
|
|
4012
|
+
canGoPrevious: boolean
|
|
3857
4013
|
can_play: boolean
|
|
4014
|
+
canPlay: boolean
|
|
3858
4015
|
can_pause: boolean
|
|
4016
|
+
canPause: boolean
|
|
3859
4017
|
current_track: TrackMetadata
|
|
4018
|
+
currentTrack: TrackMetadata
|
|
3860
4019
|
playback_state: PlaybackState
|
|
4020
|
+
playbackState: PlaybackState
|
|
3861
4021
|
current_playlist: Playlist
|
|
4022
|
+
currentPlaylist: Playlist
|
|
3862
4023
|
track_menu: Dbusmenu.Menuitem
|
|
4024
|
+
trackMenu: Dbusmenu.Menuitem
|
|
3863
4025
|
player_menu: Dbusmenu.Menuitem
|
|
4026
|
+
playerMenu: Dbusmenu.Menuitem
|
|
3864
4027
|
|
|
3865
4028
|
// Owm methods of Unity-7.0.Unity.MusicPlayer
|
|
3866
4029
|
|
|
@@ -3869,13 +4032,13 @@ export interface MusicPlayer {
|
|
|
3869
4032
|
add_playlist(p: Playlist): boolean
|
|
3870
4033
|
remove_playlist(p: Playlist): boolean
|
|
3871
4034
|
get_playlists(): Playlist[]
|
|
3872
|
-
edit_playlist_name(id: string
|
|
4035
|
+
edit_playlist_name(id: string, name: string): void
|
|
3873
4036
|
get_app_info(): Gio.AppInfo
|
|
3874
|
-
get_desktop_file_name(): string
|
|
4037
|
+
get_desktop_file_name(): string
|
|
3875
4038
|
get_is_blacklisted(): boolean
|
|
3876
4039
|
set_is_blacklisted(value: boolean): void
|
|
3877
|
-
get_title(): string
|
|
3878
|
-
set_title(value: string
|
|
4040
|
+
get_title(): string
|
|
4041
|
+
set_title(value: string): void
|
|
3879
4042
|
get_can_go_next(): boolean
|
|
3880
4043
|
set_can_go_next(value: boolean): void
|
|
3881
4044
|
get_can_go_previous(): boolean
|
|
@@ -3970,8 +4133,8 @@ export class MusicPlayer extends GObject.Object {
|
|
|
3970
4133
|
// Constructors of Unity-7.0.Unity.MusicPlayer
|
|
3971
4134
|
|
|
3972
4135
|
constructor(config?: MusicPlayer.ConstructorProperties)
|
|
3973
|
-
constructor(desktop: string
|
|
3974
|
-
static new(desktop: string
|
|
4136
|
+
constructor(desktop: string)
|
|
4137
|
+
static new(desktop: string): MusicPlayer
|
|
3975
4138
|
_init(config?: MusicPlayer.ConstructorProperties): void
|
|
3976
4139
|
}
|
|
3977
4140
|
|
|
@@ -4613,7 +4776,7 @@ export interface FilterSetClass {
|
|
|
4613
4776
|
// Own fields of Unity-7.0.Unity.FilterSetClass
|
|
4614
4777
|
|
|
4615
4778
|
add: (self: FilterSet, filter: Filter) => void
|
|
4616
|
-
get_filter_by_id: (self: FilterSet, filter_id: string
|
|
4779
|
+
get_filter_by_id: (self: FilterSet, filter_id: string) => Filter | null
|
|
4617
4780
|
get_filters: (self: FilterSet) => Filter[]
|
|
4618
4781
|
}
|
|
4619
4782
|
|
|
@@ -4663,7 +4826,7 @@ export interface SchemaClass {
|
|
|
4663
4826
|
|
|
4664
4827
|
// Own fields of Unity-7.0.Unity.SchemaClass
|
|
4665
4828
|
|
|
4666
|
-
add_field: (self: Schema, name: string
|
|
4829
|
+
add_field: (self: Schema, name: string, schema: string, type: SchemaFieldType) => void
|
|
4667
4830
|
get_fields: (self: Schema) => SchemaFieldInfo[]
|
|
4668
4831
|
}
|
|
4669
4832
|
|
|
@@ -4880,7 +5043,7 @@ export interface AbstractScopeClass {
|
|
|
4880
5043
|
get_group_name: (self: AbstractScope) => string | null
|
|
4881
5044
|
get_unique_name: (self: AbstractScope) => string | null
|
|
4882
5045
|
activate: (self: AbstractScope, result: ScopeResult, metadata: SearchMetadata, action_id?: string | null) => ActivationResponse | null
|
|
4883
|
-
normalize_search_query: (self: AbstractScope, search_query: string
|
|
5046
|
+
normalize_search_query: (self: AbstractScope, search_query: string) => string | null
|
|
4884
5047
|
}
|
|
4885
5048
|
|
|
4886
5049
|
export abstract class AbstractScopeClass {
|
|
@@ -4975,7 +5138,7 @@ export interface AggregatorScopeClass {
|
|
|
4975
5138
|
|
|
4976
5139
|
// Own fields of Unity-7.0.Unity.AggregatorScopeClass
|
|
4977
5140
|
|
|
4978
|
-
category_index_for_scope_id: (self: AggregatorScope, scope_id: string
|
|
5141
|
+
category_index_for_scope_id: (self: AggregatorScope, scope_id: string) => number
|
|
4979
5142
|
search: (self: AggregatorScope, scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
4980
5143
|
search_finish: (self: AggregatorScope, _res_: Gio.AsyncResult) => void
|
|
4981
5144
|
activate: (self: AggregatorScope, activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
@@ -5043,7 +5206,7 @@ export interface ScopeLoaderClass {
|
|
|
5043
5206
|
|
|
5044
5207
|
// Own fields of Unity-7.0.Unity.ScopeLoaderClass
|
|
5045
5208
|
|
|
5046
|
-
get_scopes: (self: ScopeLoader, module_name: string
|
|
5209
|
+
get_scopes: (self: ScopeLoader, module_name: string, module_type?: string | null) => AbstractScope[]
|
|
5047
5210
|
export_scopes: (self: ScopeLoader, scopes: AbstractScope[]) => void
|
|
5048
5211
|
}
|
|
5049
5212
|
|
|
@@ -5147,7 +5310,7 @@ export class ScopeResult {
|
|
|
5147
5310
|
|
|
5148
5311
|
// Constructors of Unity-7.0.Unity.ScopeResult
|
|
5149
5312
|
|
|
5150
|
-
static create(uri: string
|
|
5313
|
+
static create(uri: string, icon_hint: string | null, category: number, result_type: ResultType, mimetype: string, title: string, comment: string, dnd_uri: string, metadata: GLib.HashTable): ScopeResult | null
|
|
5151
5314
|
static create_from_variant(variant: GLib.Variant): ScopeResult | null
|
|
5152
5315
|
}
|
|
5153
5316
|
|
|
@@ -5175,7 +5338,7 @@ export class SearchContext {
|
|
|
5175
5338
|
|
|
5176
5339
|
// Constructors of Unity-7.0.Unity.SearchContext
|
|
5177
5340
|
|
|
5178
|
-
static create(search_query: string
|
|
5341
|
+
static create(search_query: string, search_type: SearchType, filter_state: FilterSet | null, metadata: GLib.HashTable | null, result_set: ResultSet, cancellable?: Cancellable | null): SearchContext | null
|
|
5179
5342
|
}
|
|
5180
5343
|
|
|
5181
5344
|
export interface PlaylistDetails {
|