@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.ts
CHANGED
|
@@ -146,12 +146,12 @@ enum AggregatorScopeMergeMode {
|
|
|
146
146
|
OWNER_SCOPE,
|
|
147
147
|
}
|
|
148
148
|
const SCOPE_API_VERSION: number
|
|
149
|
-
function category_renderer_from_string(renderer_name: string
|
|
150
|
-
function category_renderer_to_string(val: CategoryRenderer): string
|
|
151
|
-
function category_content_type_from_string(content_type: string
|
|
152
|
-
function category_content_type_to_string(val: CategoryContentType): string
|
|
153
|
-
function filter_renderer_to_string(renderer: FilterRenderer): string
|
|
154
|
-
function filter_renderer_from_string(renderer_name: string
|
|
149
|
+
function category_renderer_from_string(renderer_name: string): CategoryRenderer
|
|
150
|
+
function category_renderer_to_string(val: CategoryRenderer): string
|
|
151
|
+
function category_content_type_from_string(content_type: string): CategoryContentType
|
|
152
|
+
function category_content_type_to_string(val: CategoryContentType): string
|
|
153
|
+
function filter_renderer_to_string(renderer: FilterRenderer): string
|
|
154
|
+
function filter_renderer_from_string(renderer_name: string): FilterRenderer
|
|
155
155
|
function scope_module_get_version(): number
|
|
156
156
|
function scope_module_load_scopes(): AbstractScope[]
|
|
157
157
|
function object_unref(object?: any | null): void
|
|
@@ -169,7 +169,7 @@ module AppInfoManager {
|
|
|
169
169
|
* Signal callback interface for `changed`
|
|
170
170
|
*/
|
|
171
171
|
interface ChangedSignalCallback {
|
|
172
|
-
($obj: AppInfoManager, id: string
|
|
172
|
+
($obj: AppInfoManager, id: string, new_appinfo?: Gio.AppInfo | null): void
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
|
|
@@ -184,11 +184,11 @@ interface AppInfoManager {
|
|
|
184
184
|
|
|
185
185
|
// Owm methods of Unity-7.0.Unity.AppInfoManager
|
|
186
186
|
|
|
187
|
-
lookup(id: string
|
|
188
|
-
get_categories(id: string
|
|
189
|
-
get_keywords(id: string
|
|
190
|
-
get_path(id: string
|
|
191
|
-
lookup_async(id: string
|
|
187
|
+
lookup(id: string): Gio.AppInfo | null
|
|
188
|
+
get_categories(id: string): string[] | null
|
|
189
|
+
get_keywords(id: string): string[] | null
|
|
190
|
+
get_path(id: string): string | null
|
|
191
|
+
lookup_async(id: string, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
192
192
|
|
|
193
193
|
// Overloads of lookup_async
|
|
194
194
|
|
|
@@ -200,7 +200,7 @@ interface AppInfoManager {
|
|
|
200
200
|
* @param _callback_
|
|
201
201
|
* @returns A Promise of the result of {@link lookup_async}
|
|
202
202
|
*/
|
|
203
|
-
lookup_async(id: string
|
|
203
|
+
lookup_async(id: string): globalThis.Promise<Gio.AppInfo | null>
|
|
204
204
|
lookup_finish(_res_: Gio.AsyncResult): Gio.AppInfo | null
|
|
205
205
|
clear(): void
|
|
206
206
|
|
|
@@ -208,7 +208,7 @@ interface AppInfoManager {
|
|
|
208
208
|
|
|
209
209
|
connect(sigName: "changed", callback: AppInfoManager.ChangedSignalCallback): number
|
|
210
210
|
connect_after(sigName: "changed", callback: AppInfoManager.ChangedSignalCallback): number
|
|
211
|
-
emit(sigName: "changed", id: string
|
|
211
|
+
emit(sigName: "changed", id: string, new_appinfo?: Gio.AppInfo | null, ...args: any[]): void
|
|
212
212
|
|
|
213
213
|
// Class property signals of Unity-7.0.Unity.AppInfoManager
|
|
214
214
|
|
|
@@ -245,6 +245,7 @@ module AnnotatedIcon {
|
|
|
245
245
|
ribbon?: string | null
|
|
246
246
|
category?: CategoryType | null
|
|
247
247
|
size_hint?: IconSizeHint | null
|
|
248
|
+
sizeHint?: IconSizeHint | null
|
|
248
249
|
}
|
|
249
250
|
|
|
250
251
|
}
|
|
@@ -257,6 +258,7 @@ interface AnnotatedIcon {
|
|
|
257
258
|
ribbon: string | null
|
|
258
259
|
category: CategoryType
|
|
259
260
|
size_hint: IconSizeHint
|
|
261
|
+
sizeHint: IconSizeHint
|
|
260
262
|
|
|
261
263
|
// Owm methods of Unity-7.0.Unity.AnnotatedIcon
|
|
262
264
|
|
|
@@ -264,8 +266,8 @@ interface AnnotatedIcon {
|
|
|
264
266
|
to_string(): string | null
|
|
265
267
|
get_icon(): Gio.Icon
|
|
266
268
|
set_icon(value: Gio.Icon): void
|
|
267
|
-
get_ribbon(): string
|
|
268
|
-
set_ribbon(value: string
|
|
269
|
+
get_ribbon(): string
|
|
270
|
+
set_ribbon(value: string): void
|
|
269
271
|
get_category(): CategoryType
|
|
270
272
|
set_category(value: CategoryType): void
|
|
271
273
|
get_size_hint(): IconSizeHint
|
|
@@ -320,7 +322,9 @@ interface Inspector {
|
|
|
320
322
|
// Own properties of Unity-7.0.Unity.Inspector
|
|
321
323
|
|
|
322
324
|
readonly unity_running: boolean
|
|
325
|
+
readonly unityRunning: boolean
|
|
323
326
|
readonly unity_bus_name: string | null
|
|
327
|
+
readonly unityBusName: string | null
|
|
324
328
|
|
|
325
329
|
// Owm methods of Unity-7.0.Unity.Inspector
|
|
326
330
|
|
|
@@ -370,6 +374,9 @@ module LauncherEntry {
|
|
|
370
374
|
progress_visible?: boolean | null
|
|
371
375
|
urgent?: boolean | null
|
|
372
376
|
quicklist?: Dbusmenu.Menuitem | null
|
|
377
|
+
appUri?: string | null
|
|
378
|
+
countVisible?: boolean | null
|
|
379
|
+
progressVisible?: boolean | null
|
|
373
380
|
}
|
|
374
381
|
|
|
375
382
|
}
|
|
@@ -379,17 +386,20 @@ interface LauncherEntry extends Dee.Serializable {
|
|
|
379
386
|
// Own properties of Unity-7.0.Unity.LauncherEntry
|
|
380
387
|
|
|
381
388
|
app_uri: string | null
|
|
389
|
+
appUri: string | null
|
|
382
390
|
count: number
|
|
383
391
|
count_visible: boolean
|
|
392
|
+
countVisible: boolean
|
|
384
393
|
progress: number
|
|
385
394
|
progress_visible: boolean
|
|
395
|
+
progressVisible: boolean
|
|
386
396
|
urgent: boolean
|
|
387
397
|
quicklist: Dbusmenu.Menuitem
|
|
388
398
|
|
|
389
399
|
// Owm methods of Unity-7.0.Unity.LauncherEntry
|
|
390
400
|
|
|
391
|
-
get_app_uri(): string
|
|
392
|
-
set_app_uri(value: string
|
|
401
|
+
get_app_uri(): string
|
|
402
|
+
set_app_uri(value: string): void
|
|
393
403
|
get_count(): number
|
|
394
404
|
set_count(value: number): void
|
|
395
405
|
get_count_visible(): boolean
|
|
@@ -443,9 +453,9 @@ class LauncherEntry extends GObject.Object {
|
|
|
443
453
|
|
|
444
454
|
constructor(config?: LauncherEntry.ConstructorProperties)
|
|
445
455
|
_init(config?: LauncherEntry.ConstructorProperties): void
|
|
446
|
-
static get_for_app_uri(app_uri: string
|
|
447
|
-
static get_for_desktop_id(desktop_id: string
|
|
448
|
-
static get_for_desktop_file(desktop_file: string
|
|
456
|
+
static get_for_app_uri(app_uri: string): LauncherEntry
|
|
457
|
+
static get_for_desktop_id(desktop_id: string): LauncherEntry
|
|
458
|
+
static get_for_desktop_file(desktop_file: string): LauncherEntry
|
|
449
459
|
}
|
|
450
460
|
|
|
451
461
|
module LauncherFavorites {
|
|
@@ -472,8 +482,8 @@ interface LauncherFavorites {
|
|
|
472
482
|
// Owm methods of Unity-7.0.Unity.LauncherFavorites
|
|
473
483
|
|
|
474
484
|
has_app_info(appinfo: Gio.AppInfo): boolean
|
|
475
|
-
has_app_id(app_id: string
|
|
476
|
-
lookup(app_id: string
|
|
485
|
+
has_app_id(app_id: string): boolean
|
|
486
|
+
lookup(app_id: string): Gio.AppInfo | null
|
|
477
487
|
enumerate_ids(): string[]
|
|
478
488
|
enumerate_app_infos(): Gio.AppInfo[]
|
|
479
489
|
|
|
@@ -547,6 +557,8 @@ module ProgressSourceProvider {
|
|
|
547
557
|
|
|
548
558
|
dbus_name?: string | null
|
|
549
559
|
dbus_path?: string | null
|
|
560
|
+
dbusName?: string | null
|
|
561
|
+
dbusPath?: string | null
|
|
550
562
|
}
|
|
551
563
|
|
|
552
564
|
}
|
|
@@ -556,12 +568,14 @@ interface ProgressSourceProvider {
|
|
|
556
568
|
// Own properties of Unity-7.0.Unity.ProgressSourceProvider
|
|
557
569
|
|
|
558
570
|
readonly dbus_name: string | null
|
|
571
|
+
readonly dbusName: string | null
|
|
559
572
|
readonly dbus_path: string | null
|
|
573
|
+
readonly dbusPath: string | null
|
|
560
574
|
|
|
561
575
|
// Owm methods of Unity-7.0.Unity.ProgressSourceProvider
|
|
562
576
|
|
|
563
|
-
get_dbus_name(): string
|
|
564
|
-
get_dbus_path(): string
|
|
577
|
+
get_dbus_name(): string
|
|
578
|
+
get_dbus_path(): string
|
|
565
579
|
|
|
566
580
|
// Class property signals of Unity-7.0.Unity.ProgressSourceProvider
|
|
567
581
|
|
|
@@ -587,8 +601,8 @@ class ProgressSourceProvider extends MetadataProvider {
|
|
|
587
601
|
// Constructors of Unity-7.0.Unity.ProgressSourceProvider
|
|
588
602
|
|
|
589
603
|
constructor(config?: ProgressSourceProvider.ConstructorProperties)
|
|
590
|
-
constructor(dbus_name: string
|
|
591
|
-
static new(dbus_name: string
|
|
604
|
+
constructor(dbus_name: string, dbus_path: string)
|
|
605
|
+
static new(dbus_name: string, dbus_path: string): ProgressSourceProvider
|
|
592
606
|
_init(config?: ProgressSourceProvider.ConstructorProperties): void
|
|
593
607
|
}
|
|
594
608
|
|
|
@@ -606,6 +620,10 @@ module Category {
|
|
|
606
620
|
default_renderer?: CategoryRenderer | null
|
|
607
621
|
content_type?: CategoryContentType | null
|
|
608
622
|
renderer_hint?: string | null
|
|
623
|
+
iconHint?: Gio.Icon | null
|
|
624
|
+
defaultRenderer?: CategoryRenderer | null
|
|
625
|
+
contentType?: CategoryContentType | null
|
|
626
|
+
rendererHint?: string | null
|
|
609
627
|
}
|
|
610
628
|
|
|
611
629
|
}
|
|
@@ -617,23 +635,27 @@ interface Category {
|
|
|
617
635
|
readonly id: string | null
|
|
618
636
|
readonly name: string | null
|
|
619
637
|
readonly icon_hint: Gio.Icon
|
|
638
|
+
readonly iconHint: Gio.Icon
|
|
620
639
|
readonly default_renderer: CategoryRenderer
|
|
640
|
+
readonly defaultRenderer: CategoryRenderer
|
|
621
641
|
content_type: CategoryContentType
|
|
642
|
+
contentType: CategoryContentType
|
|
622
643
|
renderer_hint: string | null
|
|
644
|
+
rendererHint: string | null
|
|
623
645
|
readonly renderer: string | null
|
|
624
646
|
|
|
625
647
|
// Owm methods of Unity-7.0.Unity.Category
|
|
626
648
|
|
|
627
649
|
add_metadata_provider(provider: MetadataProvider): void
|
|
628
|
-
get_id(): string
|
|
629
|
-
get_name(): string
|
|
650
|
+
get_id(): string
|
|
651
|
+
get_name(): string
|
|
630
652
|
get_icon_hint(): Gio.Icon | null
|
|
631
653
|
get_default_renderer(): CategoryRenderer
|
|
632
654
|
get_content_type(): CategoryContentType
|
|
633
655
|
set_content_type(value: CategoryContentType): void
|
|
634
|
-
get_renderer_hint(): string
|
|
635
|
-
set_renderer_hint(value: string
|
|
636
|
-
get_renderer(): string
|
|
656
|
+
get_renderer_hint(): string
|
|
657
|
+
set_renderer_hint(value: string): void
|
|
658
|
+
get_renderer(): string
|
|
637
659
|
|
|
638
660
|
// Class property signals of Unity-7.0.Unity.Category
|
|
639
661
|
|
|
@@ -674,8 +696,8 @@ class Category extends GObject.Object {
|
|
|
674
696
|
// Constructors of Unity-7.0.Unity.Category
|
|
675
697
|
|
|
676
698
|
constructor(config?: Category.ConstructorProperties)
|
|
677
|
-
constructor(id: string
|
|
678
|
-
static new(id: string
|
|
699
|
+
constructor(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer)
|
|
700
|
+
static new(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer): Category
|
|
679
701
|
_init(config?: Category.ConstructorProperties): void
|
|
680
702
|
}
|
|
681
703
|
|
|
@@ -704,6 +726,8 @@ module Filter {
|
|
|
704
726
|
visible?: boolean | null
|
|
705
727
|
collapsed?: boolean | null
|
|
706
728
|
filtering?: boolean | null
|
|
729
|
+
displayName?: string | null
|
|
730
|
+
iconHint?: Gio.Icon | null
|
|
707
731
|
}
|
|
708
732
|
|
|
709
733
|
}
|
|
@@ -714,7 +738,9 @@ interface Filter extends Dee.Serializable {
|
|
|
714
738
|
|
|
715
739
|
readonly id: string | null
|
|
716
740
|
display_name: string | null
|
|
741
|
+
displayName: string | null
|
|
717
742
|
readonly icon_hint: Gio.Icon
|
|
743
|
+
readonly iconHint: Gio.Icon
|
|
718
744
|
readonly renderer: FilterRenderer
|
|
719
745
|
visible: boolean
|
|
720
746
|
collapsed: boolean
|
|
@@ -722,8 +748,8 @@ interface Filter extends Dee.Serializable {
|
|
|
722
748
|
|
|
723
749
|
// Owm methods of Unity-7.0.Unity.Filter
|
|
724
750
|
|
|
725
|
-
get_id(): string
|
|
726
|
-
get_display_name(): string
|
|
751
|
+
get_id(): string
|
|
752
|
+
get_display_name(): string
|
|
727
753
|
get_icon_hint(): Gio.Icon | null
|
|
728
754
|
get_renderer(): FilterRenderer
|
|
729
755
|
get_visible(): boolean
|
|
@@ -791,6 +817,8 @@ module FilterOption {
|
|
|
791
817
|
display_name?: string | null
|
|
792
818
|
icon_hint?: Gio.Icon | null
|
|
793
819
|
active?: boolean | null
|
|
820
|
+
displayName?: string | null
|
|
821
|
+
iconHint?: Gio.Icon | null
|
|
794
822
|
}
|
|
795
823
|
|
|
796
824
|
}
|
|
@@ -801,13 +829,15 @@ interface FilterOption {
|
|
|
801
829
|
|
|
802
830
|
readonly id: string | null
|
|
803
831
|
readonly display_name: string | null
|
|
832
|
+
readonly displayName: string | null
|
|
804
833
|
readonly icon_hint: Gio.Icon
|
|
834
|
+
readonly iconHint: Gio.Icon
|
|
805
835
|
active: boolean
|
|
806
836
|
|
|
807
837
|
// Owm methods of Unity-7.0.Unity.FilterOption
|
|
808
838
|
|
|
809
|
-
get_id(): string
|
|
810
|
-
get_display_name(): string
|
|
839
|
+
get_id(): string
|
|
840
|
+
get_display_name(): string
|
|
811
841
|
get_icon_hint(): Gio.Icon
|
|
812
842
|
get_active(): boolean
|
|
813
843
|
set_active(value: boolean): void
|
|
@@ -842,8 +872,8 @@ class FilterOption extends GObject.Object {
|
|
|
842
872
|
// Constructors of Unity-7.0.Unity.FilterOption
|
|
843
873
|
|
|
844
874
|
constructor(config?: FilterOption.ConstructorProperties)
|
|
845
|
-
constructor(id: string
|
|
846
|
-
static new(id: string
|
|
875
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean)
|
|
876
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean): FilterOption
|
|
847
877
|
_init(config?: FilterOption.ConstructorProperties): void
|
|
848
878
|
}
|
|
849
879
|
|
|
@@ -857,6 +887,8 @@ module OptionsFilter {
|
|
|
857
887
|
|
|
858
888
|
sort_type?: OptionsFilterSortType | null
|
|
859
889
|
show_all_button?: boolean | null
|
|
890
|
+
sortType?: OptionsFilterSortType | null
|
|
891
|
+
showAllButton?: boolean | null
|
|
860
892
|
}
|
|
861
893
|
|
|
862
894
|
}
|
|
@@ -866,7 +898,9 @@ interface OptionsFilter {
|
|
|
866
898
|
// Own properties of Unity-7.0.Unity.OptionsFilter
|
|
867
899
|
|
|
868
900
|
sort_type: OptionsFilterSortType
|
|
901
|
+
sortType: OptionsFilterSortType
|
|
869
902
|
show_all_button: boolean
|
|
903
|
+
showAllButton: boolean
|
|
870
904
|
|
|
871
905
|
// Own fields of Unity-7.0.Unity.OptionsFilter
|
|
872
906
|
|
|
@@ -874,9 +908,9 @@ interface OptionsFilter {
|
|
|
874
908
|
|
|
875
909
|
// Owm methods of Unity-7.0.Unity.OptionsFilter
|
|
876
910
|
|
|
877
|
-
add_option(id: string
|
|
878
|
-
get_option(id: string
|
|
879
|
-
remove_option(id: string
|
|
911
|
+
add_option(id: string, display_name: string, icon_hint?: Gio.Icon | null): FilterOption
|
|
912
|
+
get_option(id: string): FilterOption | null
|
|
913
|
+
remove_option(id: string): boolean
|
|
880
914
|
get_sort_type(): OptionsFilterSortType
|
|
881
915
|
set_sort_type(value: OptionsFilterSortType): void
|
|
882
916
|
get_show_all_button(): boolean
|
|
@@ -992,8 +1026,8 @@ class RadioOptionFilter extends OptionsFilter {
|
|
|
992
1026
|
// Constructors of Unity-7.0.Unity.RadioOptionFilter
|
|
993
1027
|
|
|
994
1028
|
constructor(config?: RadioOptionFilter.ConstructorProperties)
|
|
995
|
-
constructor(id: string
|
|
996
|
-
static new(id: string
|
|
1029
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1030
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RadioOptionFilter
|
|
997
1031
|
|
|
998
1032
|
// Overloads of new
|
|
999
1033
|
|
|
@@ -1057,8 +1091,8 @@ class CheckOptionFilter extends OptionsFilter {
|
|
|
1057
1091
|
// Constructors of Unity-7.0.Unity.CheckOptionFilter
|
|
1058
1092
|
|
|
1059
1093
|
constructor(config?: CheckOptionFilter.ConstructorProperties)
|
|
1060
|
-
constructor(id: string
|
|
1061
|
-
static new(id: string
|
|
1094
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1095
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilter
|
|
1062
1096
|
|
|
1063
1097
|
// Overloads of new
|
|
1064
1098
|
|
|
@@ -1122,8 +1156,8 @@ class CheckOptionFilterCompact extends OptionsFilter {
|
|
|
1122
1156
|
// Constructors of Unity-7.0.Unity.CheckOptionFilterCompact
|
|
1123
1157
|
|
|
1124
1158
|
constructor(config?: CheckOptionFilterCompact.ConstructorProperties)
|
|
1125
|
-
constructor(id: string
|
|
1126
|
-
static new(id: string
|
|
1159
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1160
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilterCompact
|
|
1127
1161
|
|
|
1128
1162
|
// Overloads of new
|
|
1129
1163
|
|
|
@@ -1196,8 +1230,8 @@ class RatingsFilter extends Filter {
|
|
|
1196
1230
|
// Constructors of Unity-7.0.Unity.RatingsFilter
|
|
1197
1231
|
|
|
1198
1232
|
constructor(config?: RatingsFilter.ConstructorProperties)
|
|
1199
|
-
constructor(id: string
|
|
1200
|
-
static new(id: string
|
|
1233
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1234
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RatingsFilter
|
|
1201
1235
|
_init(config?: RatingsFilter.ConstructorProperties): void
|
|
1202
1236
|
}
|
|
1203
1237
|
|
|
@@ -1262,8 +1296,8 @@ class MultiRangeFilter extends OptionsFilter {
|
|
|
1262
1296
|
// Constructors of Unity-7.0.Unity.MultiRangeFilter
|
|
1263
1297
|
|
|
1264
1298
|
constructor(config?: MultiRangeFilter.ConstructorProperties)
|
|
1265
|
-
constructor(id: string
|
|
1266
|
-
static new(id: string
|
|
1299
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
|
|
1300
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): MultiRangeFilter
|
|
1267
1301
|
|
|
1268
1302
|
// Overloads of new
|
|
1269
1303
|
|
|
@@ -1284,6 +1318,11 @@ module PreferencesManager {
|
|
|
1284
1318
|
home_lens_priority?: string[] | null
|
|
1285
1319
|
home_lens_default_view?: string[] | null
|
|
1286
1320
|
disabled_scopes?: string[] | null
|
|
1321
|
+
remoteContentSearch?: PreferencesManagerRemoteContent | null
|
|
1322
|
+
alwaysSearch?: string[] | null
|
|
1323
|
+
homeLensPriority?: string[] | null
|
|
1324
|
+
homeLensDefaultView?: string[] | null
|
|
1325
|
+
disabledScopes?: string[] | null
|
|
1287
1326
|
}
|
|
1288
1327
|
|
|
1289
1328
|
}
|
|
@@ -1293,10 +1332,15 @@ interface PreferencesManager {
|
|
|
1293
1332
|
// Own properties of Unity-7.0.Unity.PreferencesManager
|
|
1294
1333
|
|
|
1295
1334
|
remote_content_search: PreferencesManagerRemoteContent
|
|
1335
|
+
remoteContentSearch: PreferencesManagerRemoteContent
|
|
1296
1336
|
always_search: string[]
|
|
1337
|
+
alwaysSearch: string[]
|
|
1297
1338
|
home_lens_priority: string[]
|
|
1339
|
+
homeLensPriority: string[]
|
|
1298
1340
|
home_lens_default_view: string[]
|
|
1341
|
+
homeLensDefaultView: string[]
|
|
1299
1342
|
disabled_scopes: string[]
|
|
1343
|
+
disabledScopes: string[]
|
|
1300
1344
|
|
|
1301
1345
|
// Owm methods of Unity-7.0.Unity.PreferencesManager
|
|
1302
1346
|
|
|
@@ -1370,6 +1414,8 @@ module DeprecatedScopeSearch {
|
|
|
1370
1414
|
hints?: GLib.HashTable | null
|
|
1371
1415
|
results_model?: Dee.SerializableModel | null
|
|
1372
1416
|
owner?: DeprecatedScopeBase | null
|
|
1417
|
+
channelId?: string | null
|
|
1418
|
+
resultsModel?: Dee.SerializableModel | null
|
|
1373
1419
|
}
|
|
1374
1420
|
|
|
1375
1421
|
}
|
|
@@ -1379,19 +1425,23 @@ interface DeprecatedScopeSearch {
|
|
|
1379
1425
|
// Own properties of Unity-7.0.Unity.DeprecatedScopeSearch
|
|
1380
1426
|
|
|
1381
1427
|
readonly channel_id: string | null
|
|
1428
|
+
readonly channelId: string | null
|
|
1382
1429
|
readonly search_string: string | null
|
|
1430
|
+
readonly searchString: string | null
|
|
1383
1431
|
readonly search_type: SearchType
|
|
1432
|
+
readonly searchType: SearchType
|
|
1384
1433
|
readonly hints: GLib.HashTable
|
|
1385
1434
|
readonly results_model: Dee.SerializableModel
|
|
1435
|
+
readonly resultsModel: Dee.SerializableModel
|
|
1386
1436
|
readonly owner: DeprecatedScopeBase
|
|
1387
1437
|
|
|
1388
1438
|
// Owm methods of Unity-7.0.Unity.DeprecatedScopeSearch
|
|
1389
1439
|
|
|
1390
|
-
set_reply_hint(key: string
|
|
1391
|
-
get_filter(filter_id: string
|
|
1440
|
+
set_reply_hint(key: string, variant: GLib.Variant): void
|
|
1441
|
+
get_filter(filter_id: string): Filter | null
|
|
1392
1442
|
equals(other: DeprecatedScopeSearch): boolean
|
|
1393
|
-
get_channel_id(): string
|
|
1394
|
-
get_search_string(): string
|
|
1443
|
+
get_channel_id(): string
|
|
1444
|
+
get_search_string(): string
|
|
1395
1445
|
get_search_type(): SearchType
|
|
1396
1446
|
get_hints(): GLib.HashTable
|
|
1397
1447
|
get_results_model(): Dee.SerializableModel
|
|
@@ -1450,7 +1500,7 @@ module AggregatedScopeSearch {
|
|
|
1450
1500
|
* Signal callback interface for `transaction-complete`
|
|
1451
1501
|
*/
|
|
1452
1502
|
interface TransactionCompleteSignalCallback {
|
|
1453
|
-
($obj: AggregatedScopeSearch, origin_scope_id: string
|
|
1503
|
+
($obj: AggregatedScopeSearch, origin_scope_id: string): void
|
|
1454
1504
|
}
|
|
1455
1505
|
|
|
1456
1506
|
/**
|
|
@@ -1472,9 +1522,9 @@ interface AggregatedScopeSearch {
|
|
|
1472
1522
|
|
|
1473
1523
|
// Owm methods of Unity-7.0.Unity.AggregatedScopeSearch
|
|
1474
1524
|
|
|
1475
|
-
search_scope(scope_id: string
|
|
1525
|
+
search_scope(scope_id: string, search_string: string, search_type: SearchType, hints?: GLib.HashTable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
1476
1526
|
search_scope_finish(_res_: Gio.AsyncResult): GLib.HashTable
|
|
1477
|
-
push_results(scope_id: string
|
|
1527
|
+
push_results(scope_id: string, results_model: Dee.SerializableModel, category_ids: string[], _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
1478
1528
|
push_results_finish(_res_: Gio.AsyncResult): void
|
|
1479
1529
|
push_filter_settings(filters: FilterSet): void
|
|
1480
1530
|
|
|
@@ -1482,7 +1532,7 @@ interface AggregatedScopeSearch {
|
|
|
1482
1532
|
|
|
1483
1533
|
connect(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
|
|
1484
1534
|
connect_after(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
|
|
1485
|
-
emit(sigName: "transaction-complete", origin_scope_id: string
|
|
1535
|
+
emit(sigName: "transaction-complete", origin_scope_id: string, ...args: any[]): void
|
|
1486
1536
|
connect(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
|
|
1487
1537
|
connect_after(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
|
|
1488
1538
|
emit(sigName: "category-order-changed", category_indices: number[], ...args: any[]): void
|
|
@@ -1523,8 +1573,8 @@ class AggregatedScopeSearch extends DeprecatedScopeSearch {
|
|
|
1523
1573
|
// Constructors of Unity-7.0.Unity.AggregatedScopeSearch
|
|
1524
1574
|
|
|
1525
1575
|
constructor(config?: AggregatedScopeSearch.ConstructorProperties)
|
|
1526
|
-
constructor(owner: AggregatorScope, channel_id: string
|
|
1527
|
-
static new(owner: AggregatorScope, channel_id: string
|
|
1576
|
+
constructor(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel)
|
|
1577
|
+
static new(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel): AggregatedScopeSearch
|
|
1528
1578
|
_init(config?: AggregatedScopeSearch.ConstructorProperties): void
|
|
1529
1579
|
}
|
|
1530
1580
|
|
|
@@ -1541,6 +1591,8 @@ module Preview {
|
|
|
1541
1591
|
description_markup?: string | null
|
|
1542
1592
|
image_source_uri?: string | null
|
|
1543
1593
|
image?: Gio.Icon | null
|
|
1594
|
+
descriptionMarkup?: string | null
|
|
1595
|
+
imageSourceUri?: string | null
|
|
1544
1596
|
}
|
|
1545
1597
|
|
|
1546
1598
|
}
|
|
@@ -1552,21 +1604,23 @@ interface Preview extends Dee.Serializable {
|
|
|
1552
1604
|
title: string | null
|
|
1553
1605
|
subtitle: string | null
|
|
1554
1606
|
description_markup: string | null
|
|
1607
|
+
descriptionMarkup: string | null
|
|
1555
1608
|
image_source_uri: string | null
|
|
1609
|
+
imageSourceUri: string | null
|
|
1556
1610
|
image: Gio.Icon
|
|
1557
1611
|
|
|
1558
1612
|
// Owm methods of Unity-7.0.Unity.Preview
|
|
1559
1613
|
|
|
1560
1614
|
add_action(action: PreviewAction): void
|
|
1561
1615
|
add_info(info_hint: InfoHint): void
|
|
1562
|
-
get_title(): string
|
|
1563
|
-
set_title(value: string
|
|
1564
|
-
get_subtitle(): string
|
|
1565
|
-
set_subtitle(value: string
|
|
1566
|
-
get_description_markup(): string
|
|
1567
|
-
set_description_markup(value: string
|
|
1568
|
-
get_image_source_uri(): string
|
|
1569
|
-
set_image_source_uri(value: string
|
|
1616
|
+
get_title(): string
|
|
1617
|
+
set_title(value: string): void
|
|
1618
|
+
get_subtitle(): string
|
|
1619
|
+
set_subtitle(value: string): void
|
|
1620
|
+
get_description_markup(): string
|
|
1621
|
+
set_description_markup(value: string): void
|
|
1622
|
+
get_image_source_uri(): string
|
|
1623
|
+
set_image_source_uri(value: string): void
|
|
1570
1624
|
get_image(): Gio.Icon | null
|
|
1571
1625
|
set_image(value?: Gio.Icon | null): void
|
|
1572
1626
|
|
|
@@ -1614,7 +1668,7 @@ module PreviewAction {
|
|
|
1614
1668
|
* Signal callback interface for `activated`
|
|
1615
1669
|
*/
|
|
1616
1670
|
interface ActivatedSignalCallback {
|
|
1617
|
-
($obj: PreviewAction, uri: string
|
|
1671
|
+
($obj: PreviewAction, uri: string): ActivationResponse
|
|
1618
1672
|
}
|
|
1619
1673
|
|
|
1620
1674
|
|
|
@@ -1629,6 +1683,10 @@ module PreviewAction {
|
|
|
1629
1683
|
extra_text?: string | null
|
|
1630
1684
|
icon_hint?: Gio.Icon | null
|
|
1631
1685
|
layout_hint?: LayoutHint | null
|
|
1686
|
+
displayName?: string | null
|
|
1687
|
+
extraText?: string | null
|
|
1688
|
+
iconHint?: Gio.Icon | null
|
|
1689
|
+
layoutHint?: LayoutHint | null
|
|
1632
1690
|
}
|
|
1633
1691
|
|
|
1634
1692
|
}
|
|
@@ -1639,17 +1697,21 @@ interface PreviewAction extends Dee.Serializable {
|
|
|
1639
1697
|
|
|
1640
1698
|
readonly id: string | null
|
|
1641
1699
|
readonly display_name: string | null
|
|
1700
|
+
readonly displayName: string | null
|
|
1642
1701
|
extra_text: string | null
|
|
1702
|
+
extraText: string | null
|
|
1643
1703
|
readonly icon_hint: Gio.Icon
|
|
1704
|
+
readonly iconHint: Gio.Icon
|
|
1644
1705
|
readonly layout_hint: LayoutHint
|
|
1706
|
+
readonly layoutHint: LayoutHint
|
|
1645
1707
|
readonly hints: GLib.HashTable
|
|
1646
1708
|
|
|
1647
1709
|
// Owm methods of Unity-7.0.Unity.PreviewAction
|
|
1648
1710
|
|
|
1649
|
-
get_id(): string
|
|
1650
|
-
get_display_name(): string
|
|
1651
|
-
get_extra_text(): string
|
|
1652
|
-
set_extra_text(value: string
|
|
1711
|
+
get_id(): string
|
|
1712
|
+
get_display_name(): string
|
|
1713
|
+
get_extra_text(): string
|
|
1714
|
+
set_extra_text(value: string): void
|
|
1653
1715
|
get_icon_hint(): Gio.Icon | null
|
|
1654
1716
|
get_layout_hint(): LayoutHint
|
|
1655
1717
|
get_hints(): GLib.HashTable | null
|
|
@@ -1658,7 +1720,7 @@ interface PreviewAction extends Dee.Serializable {
|
|
|
1658
1720
|
|
|
1659
1721
|
connect(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
|
|
1660
1722
|
connect_after(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
|
|
1661
|
-
emit(sigName: "activated", uri: string
|
|
1723
|
+
emit(sigName: "activated", uri: string, ...args: any[]): void
|
|
1662
1724
|
|
|
1663
1725
|
// Class property signals of Unity-7.0.Unity.PreviewAction
|
|
1664
1726
|
|
|
@@ -1696,10 +1758,10 @@ class PreviewAction extends GObject.Object {
|
|
|
1696
1758
|
// Constructors of Unity-7.0.Unity.PreviewAction
|
|
1697
1759
|
|
|
1698
1760
|
constructor(config?: PreviewAction.ConstructorProperties)
|
|
1699
|
-
constructor(id: string
|
|
1700
|
-
static new(id: string
|
|
1701
|
-
static with_layout_hint(id: string
|
|
1702
|
-
static with_uri(uri: string
|
|
1761
|
+
constructor(id: string, display_name: string, icon_hint?: Gio.Icon | null)
|
|
1762
|
+
static new(id: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
|
|
1763
|
+
static with_layout_hint(id: string, display_name: string, icon_hint: Gio.Icon | null, layout: LayoutHint): PreviewAction
|
|
1764
|
+
static with_uri(uri: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
|
|
1703
1765
|
_init(config?: PreviewAction.ConstructorProperties): void
|
|
1704
1766
|
}
|
|
1705
1767
|
|
|
@@ -1715,6 +1777,8 @@ module InfoHint {
|
|
|
1715
1777
|
display_name?: string | null
|
|
1716
1778
|
icon_hint?: Gio.Icon | null
|
|
1717
1779
|
data?: GLib.Variant | null
|
|
1780
|
+
displayName?: string | null
|
|
1781
|
+
iconHint?: Gio.Icon | null
|
|
1718
1782
|
}
|
|
1719
1783
|
|
|
1720
1784
|
}
|
|
@@ -1725,13 +1789,15 @@ interface InfoHint {
|
|
|
1725
1789
|
|
|
1726
1790
|
readonly id: string | null
|
|
1727
1791
|
readonly display_name: string | null
|
|
1792
|
+
readonly displayName: string | null
|
|
1728
1793
|
readonly icon_hint: Gio.Icon
|
|
1794
|
+
readonly iconHint: Gio.Icon
|
|
1729
1795
|
readonly data: GLib.Variant
|
|
1730
1796
|
|
|
1731
1797
|
// Owm methods of Unity-7.0.Unity.InfoHint
|
|
1732
1798
|
|
|
1733
|
-
get_id(): string
|
|
1734
|
-
get_display_name(): string
|
|
1799
|
+
get_id(): string
|
|
1800
|
+
get_display_name(): string
|
|
1735
1801
|
get_icon_hint(): Gio.Icon | null
|
|
1736
1802
|
get_data(): GLib.Variant
|
|
1737
1803
|
|
|
@@ -1742,7 +1808,7 @@ interface InfoHint {
|
|
|
1742
1808
|
* @param key name of the key for that association
|
|
1743
1809
|
* @returns the data if found, or %NULL if no such data exists.
|
|
1744
1810
|
*/
|
|
1745
|
-
get_data(key: string
|
|
1811
|
+
get_data(key: string): any | null
|
|
1746
1812
|
|
|
1747
1813
|
// Class property signals of Unity-7.0.Unity.InfoHint
|
|
1748
1814
|
|
|
@@ -1774,9 +1840,9 @@ class InfoHint extends GObject.InitiallyUnowned {
|
|
|
1774
1840
|
// Constructors of Unity-7.0.Unity.InfoHint
|
|
1775
1841
|
|
|
1776
1842
|
constructor(config?: InfoHint.ConstructorProperties)
|
|
1777
|
-
constructor(id: string
|
|
1778
|
-
static new(id: string
|
|
1779
|
-
static with_variant(id: string
|
|
1843
|
+
constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string)
|
|
1844
|
+
static new(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string): InfoHint
|
|
1845
|
+
static with_variant(id: string, display_name: string, icon_hint: Gio.Icon | null, data: GLib.Variant): InfoHint
|
|
1780
1846
|
_init(config?: InfoHint.ConstructorProperties): void
|
|
1781
1847
|
}
|
|
1782
1848
|
|
|
@@ -1824,8 +1890,8 @@ class GenericPreview extends Preview {
|
|
|
1824
1890
|
// Constructors of Unity-7.0.Unity.GenericPreview
|
|
1825
1891
|
|
|
1826
1892
|
constructor(config?: GenericPreview.ConstructorProperties)
|
|
1827
|
-
constructor(title: string
|
|
1828
|
-
static new(title: string
|
|
1893
|
+
constructor(title: string, description: string, image?: Gio.Icon | null)
|
|
1894
|
+
static new(title: string, description: string, image?: Gio.Icon | null): GenericPreview
|
|
1829
1895
|
_init(config?: GenericPreview.ConstructorProperties): void
|
|
1830
1896
|
}
|
|
1831
1897
|
|
|
@@ -1841,6 +1907,8 @@ module ApplicationPreview {
|
|
|
1841
1907
|
license?: string | null
|
|
1842
1908
|
copyright?: string | null
|
|
1843
1909
|
last_update?: string | null
|
|
1910
|
+
appIcon?: Gio.Icon | null
|
|
1911
|
+
lastUpdate?: string | null
|
|
1844
1912
|
}
|
|
1845
1913
|
|
|
1846
1914
|
}
|
|
@@ -1850,21 +1918,23 @@ interface ApplicationPreview {
|
|
|
1850
1918
|
// Own properties of Unity-7.0.Unity.ApplicationPreview
|
|
1851
1919
|
|
|
1852
1920
|
app_icon: Gio.Icon
|
|
1921
|
+
appIcon: Gio.Icon
|
|
1853
1922
|
license: string | null
|
|
1854
1923
|
copyright: string | null
|
|
1855
1924
|
last_update: string | null
|
|
1925
|
+
lastUpdate: string | null
|
|
1856
1926
|
|
|
1857
1927
|
// Owm methods of Unity-7.0.Unity.ApplicationPreview
|
|
1858
1928
|
|
|
1859
1929
|
set_rating(rating: number, num_ratings: number): void
|
|
1860
1930
|
get_app_icon(): Gio.Icon
|
|
1861
1931
|
set_app_icon(value: Gio.Icon): void
|
|
1862
|
-
get_license(): string
|
|
1863
|
-
set_license(value: string
|
|
1864
|
-
get_copyright(): string
|
|
1865
|
-
set_copyright(value: string
|
|
1866
|
-
get_last_update(): string
|
|
1867
|
-
set_last_update(value: string
|
|
1932
|
+
get_license(): string
|
|
1933
|
+
set_license(value: string): void
|
|
1934
|
+
get_copyright(): string
|
|
1935
|
+
set_copyright(value: string): void
|
|
1936
|
+
get_last_update(): string
|
|
1937
|
+
set_last_update(value: string): void
|
|
1868
1938
|
|
|
1869
1939
|
// Class property signals of Unity-7.0.Unity.ApplicationPreview
|
|
1870
1940
|
|
|
@@ -1911,8 +1981,8 @@ class ApplicationPreview extends Preview {
|
|
|
1911
1981
|
// Constructors of Unity-7.0.Unity.ApplicationPreview
|
|
1912
1982
|
|
|
1913
1983
|
constructor(config?: ApplicationPreview.ConstructorProperties)
|
|
1914
|
-
constructor(title: string
|
|
1915
|
-
static new(title: string
|
|
1984
|
+
constructor(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null)
|
|
1985
|
+
static new(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null): ApplicationPreview
|
|
1916
1986
|
_init(config?: ApplicationPreview.ConstructorProperties): void
|
|
1917
1987
|
}
|
|
1918
1988
|
|
|
@@ -1964,8 +2034,8 @@ class MusicPreview extends Preview {
|
|
|
1964
2034
|
// Constructors of Unity-7.0.Unity.MusicPreview
|
|
1965
2035
|
|
|
1966
2036
|
constructor(config?: MusicPreview.ConstructorProperties)
|
|
1967
|
-
constructor(title: string
|
|
1968
|
-
static new(title: string
|
|
2037
|
+
constructor(title: string, subtitle: string, image?: Gio.Icon | null)
|
|
2038
|
+
static new(title: string, subtitle: string, image?: Gio.Icon | null): MusicPreview
|
|
1969
2039
|
_init(config?: MusicPreview.ConstructorProperties): void
|
|
1970
2040
|
}
|
|
1971
2041
|
|
|
@@ -1983,6 +2053,10 @@ module PaymentPreview {
|
|
|
1983
2053
|
purchase_prize?: string | null
|
|
1984
2054
|
purchase_type?: string | null
|
|
1985
2055
|
preview_type?: PaymentPreviewType | null
|
|
2056
|
+
paymentMethod?: string | null
|
|
2057
|
+
purchasePrize?: string | null
|
|
2058
|
+
purchaseType?: string | null
|
|
2059
|
+
previewType?: PaymentPreviewType | null
|
|
1986
2060
|
}
|
|
1987
2061
|
|
|
1988
2062
|
}
|
|
@@ -1994,22 +2068,26 @@ interface PaymentPreview {
|
|
|
1994
2068
|
header: string | null
|
|
1995
2069
|
email: string | null
|
|
1996
2070
|
payment_method: string | null
|
|
2071
|
+
paymentMethod: string | null
|
|
1997
2072
|
purchase_prize: string | null
|
|
2073
|
+
purchasePrize: string | null
|
|
1998
2074
|
purchase_type: string | null
|
|
2075
|
+
purchaseType: string | null
|
|
1999
2076
|
preview_type: PaymentPreviewType
|
|
2077
|
+
previewType: PaymentPreviewType
|
|
2000
2078
|
|
|
2001
2079
|
// Owm methods of Unity-7.0.Unity.PaymentPreview
|
|
2002
2080
|
|
|
2003
|
-
get_header(): string
|
|
2004
|
-
set_header(value: string
|
|
2005
|
-
get_email(): string
|
|
2006
|
-
set_email(value: string
|
|
2007
|
-
get_payment_method(): string
|
|
2008
|
-
set_payment_method(value: string
|
|
2009
|
-
get_purchase_prize(): string
|
|
2010
|
-
set_purchase_prize(value: string
|
|
2011
|
-
get_purchase_type(): string
|
|
2012
|
-
set_purchase_type(value: string
|
|
2081
|
+
get_header(): string
|
|
2082
|
+
set_header(value: string): void
|
|
2083
|
+
get_email(): string
|
|
2084
|
+
set_email(value: string): void
|
|
2085
|
+
get_payment_method(): string
|
|
2086
|
+
set_payment_method(value: string): void
|
|
2087
|
+
get_purchase_prize(): string
|
|
2088
|
+
set_purchase_prize(value: string): void
|
|
2089
|
+
get_purchase_type(): string
|
|
2090
|
+
set_purchase_type(value: string): void
|
|
2013
2091
|
get_preview_type(): PaymentPreviewType
|
|
2014
2092
|
set_preview_type(value: PaymentPreviewType): void
|
|
2015
2093
|
|
|
@@ -2064,12 +2142,12 @@ class PaymentPreview extends Preview {
|
|
|
2064
2142
|
// Constructors of Unity-7.0.Unity.PaymentPreview
|
|
2065
2143
|
|
|
2066
2144
|
constructor(config?: PaymentPreview.ConstructorProperties)
|
|
2067
|
-
constructor(title: string
|
|
2068
|
-
static new(title: string
|
|
2069
|
-
static for_type(title: string
|
|
2070
|
-
static for_application(title: string
|
|
2071
|
-
static for_music(title: string
|
|
2072
|
-
static for_error(title: string
|
|
2145
|
+
constructor(title: string, subtitle: string, image?: Gio.Icon | null)
|
|
2146
|
+
static new(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2147
|
+
static for_type(title: string, subtitle: string, image: Gio.Icon | null, type: PaymentPreviewType): PaymentPreview
|
|
2148
|
+
static for_application(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2149
|
+
static for_music(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2150
|
+
static for_error(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
|
|
2073
2151
|
_init(config?: PaymentPreview.ConstructorProperties): void
|
|
2074
2152
|
}
|
|
2075
2153
|
|
|
@@ -2095,8 +2173,8 @@ interface MoviePreview {
|
|
|
2095
2173
|
// Owm methods of Unity-7.0.Unity.MoviePreview
|
|
2096
2174
|
|
|
2097
2175
|
set_rating(rating: number, num_ratings: number): void
|
|
2098
|
-
get_year(): string
|
|
2099
|
-
set_year(value: string
|
|
2176
|
+
get_year(): string
|
|
2177
|
+
set_year(value: string): void
|
|
2100
2178
|
|
|
2101
2179
|
// Class property signals of Unity-7.0.Unity.MoviePreview
|
|
2102
2180
|
|
|
@@ -2134,8 +2212,8 @@ class MoviePreview extends Preview {
|
|
|
2134
2212
|
// Constructors of Unity-7.0.Unity.MoviePreview
|
|
2135
2213
|
|
|
2136
2214
|
constructor(config?: MoviePreview.ConstructorProperties)
|
|
2137
|
-
constructor(title: string
|
|
2138
|
-
static new(title: string
|
|
2215
|
+
constructor(title: string, subtitle: string, description: string, image?: Gio.Icon | null)
|
|
2216
|
+
static new(title: string, subtitle: string, description: string, image?: Gio.Icon | null): MoviePreview
|
|
2139
2217
|
_init(config?: MoviePreview.ConstructorProperties): void
|
|
2140
2218
|
}
|
|
2141
2219
|
|
|
@@ -2167,10 +2245,10 @@ interface SocialPreview {
|
|
|
2167
2245
|
add_comment(comment: SocialPreviewComment): void
|
|
2168
2246
|
get_avatar(): Gio.Icon
|
|
2169
2247
|
set_avatar(value: Gio.Icon): void
|
|
2170
|
-
get_content(): string
|
|
2171
|
-
set_content(value: string
|
|
2172
|
-
get_sender(): string
|
|
2173
|
-
set_sender(value: string
|
|
2248
|
+
get_content(): string
|
|
2249
|
+
set_content(value: string): void
|
|
2250
|
+
get_sender(): string
|
|
2251
|
+
set_sender(value: string): void
|
|
2174
2252
|
|
|
2175
2253
|
// Class property signals of Unity-7.0.Unity.SocialPreview
|
|
2176
2254
|
|
|
@@ -2214,8 +2292,8 @@ class SocialPreview extends Preview {
|
|
|
2214
2292
|
// Constructors of Unity-7.0.Unity.SocialPreview
|
|
2215
2293
|
|
|
2216
2294
|
constructor(config?: SocialPreview.ConstructorProperties)
|
|
2217
|
-
constructor(sender: string
|
|
2218
|
-
static new(sender: string
|
|
2295
|
+
constructor(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null)
|
|
2296
|
+
static new(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null): SocialPreview
|
|
2219
2297
|
_init(config?: SocialPreview.ConstructorProperties): void
|
|
2220
2298
|
}
|
|
2221
2299
|
|
|
@@ -2246,10 +2324,10 @@ interface SocialPreviewComment {
|
|
|
2246
2324
|
|
|
2247
2325
|
// Owm methods of Unity-7.0.Unity.SocialPreviewComment
|
|
2248
2326
|
|
|
2249
|
-
get_id(): string
|
|
2250
|
-
get_name(): string
|
|
2251
|
-
get_text(): string
|
|
2252
|
-
get_time(): string
|
|
2327
|
+
get_id(): string
|
|
2328
|
+
get_name(): string
|
|
2329
|
+
get_text(): string
|
|
2330
|
+
get_time(): string
|
|
2253
2331
|
|
|
2254
2332
|
// Class property signals of Unity-7.0.Unity.SocialPreviewComment
|
|
2255
2333
|
|
|
@@ -2281,8 +2359,8 @@ class SocialPreviewComment extends GObject.InitiallyUnowned {
|
|
|
2281
2359
|
// Constructors of Unity-7.0.Unity.SocialPreviewComment
|
|
2282
2360
|
|
|
2283
2361
|
constructor(config?: SocialPreviewComment.ConstructorProperties)
|
|
2284
|
-
constructor(id: string
|
|
2285
|
-
static new(id: string
|
|
2362
|
+
constructor(id: string, name: string, text: string, time: string)
|
|
2363
|
+
static new(id: string, name: string, text: string, time: string): SocialPreviewComment
|
|
2286
2364
|
_init(config?: SocialPreviewComment.ConstructorProperties): void
|
|
2287
2365
|
}
|
|
2288
2366
|
|
|
@@ -2296,6 +2374,7 @@ module ActivationResponse {
|
|
|
2296
2374
|
|
|
2297
2375
|
handled?: HandledType | null
|
|
2298
2376
|
goto_uri?: string | null
|
|
2377
|
+
gotoUri?: string | null
|
|
2299
2378
|
}
|
|
2300
2379
|
|
|
2301
2380
|
}
|
|
@@ -2306,12 +2385,13 @@ interface ActivationResponse {
|
|
|
2306
2385
|
|
|
2307
2386
|
readonly handled: HandledType
|
|
2308
2387
|
goto_uri: string | null
|
|
2388
|
+
gotoUri: string | null
|
|
2309
2389
|
|
|
2310
2390
|
// Owm methods of Unity-7.0.Unity.ActivationResponse
|
|
2311
2391
|
|
|
2312
2392
|
get_handled(): HandledType
|
|
2313
|
-
get_goto_uri(): string
|
|
2314
|
-
set_goto_uri(value: string
|
|
2393
|
+
get_goto_uri(): string
|
|
2394
|
+
set_goto_uri(value: string): void
|
|
2315
2395
|
|
|
2316
2396
|
// Class property signals of Unity-7.0.Unity.ActivationResponse
|
|
2317
2397
|
|
|
@@ -2337,9 +2417,9 @@ class ActivationResponse extends GObject.Object {
|
|
|
2337
2417
|
// Constructors of Unity-7.0.Unity.ActivationResponse
|
|
2338
2418
|
|
|
2339
2419
|
constructor(config?: ActivationResponse.ConstructorProperties)
|
|
2340
|
-
constructor(handled: HandledType, goto_uri: string
|
|
2341
|
-
static new(handled: HandledType, goto_uri: string
|
|
2342
|
-
static with_search(search_string: string
|
|
2420
|
+
constructor(handled: HandledType, goto_uri: string)
|
|
2421
|
+
static new(handled: HandledType, goto_uri: string): ActivationResponse
|
|
2422
|
+
static with_search(search_string: string, filter_set?: FilterSet | null, search_metadata?: SearchMetadata | null): ActivationResponse
|
|
2343
2423
|
static with_preview(preview: Preview): ActivationResponse
|
|
2344
2424
|
_init(config?: ActivationResponse.ConstructorProperties): void
|
|
2345
2425
|
}
|
|
@@ -2357,6 +2437,10 @@ module AggregatorActivation {
|
|
|
2357
2437
|
action_type?: number | null
|
|
2358
2438
|
scope_result?: ScopeResult | null
|
|
2359
2439
|
hints?: GLib.HashTable | null
|
|
2440
|
+
channelId?: string | null
|
|
2441
|
+
scopeId?: string | null
|
|
2442
|
+
actionType?: number | null
|
|
2443
|
+
scopeResult?: ScopeResult | null
|
|
2360
2444
|
}
|
|
2361
2445
|
|
|
2362
2446
|
}
|
|
@@ -2366,17 +2450,21 @@ interface AggregatorActivation {
|
|
|
2366
2450
|
// Own properties of Unity-7.0.Unity.AggregatorActivation
|
|
2367
2451
|
|
|
2368
2452
|
channel_id: string | null
|
|
2453
|
+
channelId: string | null
|
|
2369
2454
|
scope_id: string | null
|
|
2455
|
+
scopeId: string | null
|
|
2370
2456
|
action_type: number
|
|
2457
|
+
actionType: number
|
|
2371
2458
|
scope_result: ScopeResult
|
|
2459
|
+
scopeResult: ScopeResult
|
|
2372
2460
|
hints: GLib.HashTable
|
|
2373
2461
|
|
|
2374
2462
|
// Owm methods of Unity-7.0.Unity.AggregatorActivation
|
|
2375
2463
|
|
|
2376
|
-
get_channel_id(): string
|
|
2377
|
-
set_channel_id(value: string
|
|
2378
|
-
get_scope_id(): string
|
|
2379
|
-
set_scope_id(value: string
|
|
2464
|
+
get_channel_id(): string
|
|
2465
|
+
set_channel_id(value: string): void
|
|
2466
|
+
get_scope_id(): string
|
|
2467
|
+
set_scope_id(value: string): void
|
|
2380
2468
|
get_action_type(): number
|
|
2381
2469
|
set_action_type(value: number): void
|
|
2382
2470
|
get_scope_result(): ScopeResult | null
|
|
@@ -2416,8 +2504,8 @@ class AggregatorActivation extends GObject.Object {
|
|
|
2416
2504
|
// Constructors of Unity-7.0.Unity.AggregatorActivation
|
|
2417
2505
|
|
|
2418
2506
|
constructor(config?: AggregatorActivation.ConstructorProperties)
|
|
2419
|
-
constructor(channel_id: string
|
|
2420
|
-
static new(channel_id: string
|
|
2507
|
+
constructor(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null)
|
|
2508
|
+
static new(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null): AggregatorActivation
|
|
2421
2509
|
_init(config?: AggregatorActivation.ConstructorProperties): void
|
|
2422
2510
|
}
|
|
2423
2511
|
|
|
@@ -2435,13 +2523,13 @@ interface FilterSet {
|
|
|
2435
2523
|
// Owm methods of Unity-7.0.Unity.FilterSet
|
|
2436
2524
|
|
|
2437
2525
|
add(filter: Filter): void
|
|
2438
|
-
get_filter_by_id(filter_id: string
|
|
2526
|
+
get_filter_by_id(filter_id: string): Filter | null
|
|
2439
2527
|
get_filters(): Filter[]
|
|
2440
2528
|
|
|
2441
2529
|
// Own virtual methods of Unity-7.0.Unity.FilterSet
|
|
2442
2530
|
|
|
2443
2531
|
vfunc_add(filter: Filter): void
|
|
2444
|
-
vfunc_get_filter_by_id(filter_id: string
|
|
2532
|
+
vfunc_get_filter_by_id(filter_id: string): Filter | null
|
|
2445
2533
|
vfunc_get_filters(): Filter[]
|
|
2446
2534
|
|
|
2447
2535
|
// Class property signals of Unity-7.0.Unity.FilterSet
|
|
@@ -2524,12 +2612,12 @@ interface Schema {
|
|
|
2524
2612
|
|
|
2525
2613
|
// Owm methods of Unity-7.0.Unity.Schema
|
|
2526
2614
|
|
|
2527
|
-
add_field(name: string
|
|
2615
|
+
add_field(name: string, schema: string, type: SchemaFieldType): void
|
|
2528
2616
|
get_fields(): SchemaFieldInfo[]
|
|
2529
2617
|
|
|
2530
2618
|
// Own virtual methods of Unity-7.0.Unity.Schema
|
|
2531
2619
|
|
|
2532
|
-
vfunc_add_field(name: string
|
|
2620
|
+
vfunc_add_field(name: string, schema: string, type: SchemaFieldType): void
|
|
2533
2621
|
vfunc_get_fields(): SchemaFieldInfo[]
|
|
2534
2622
|
|
|
2535
2623
|
// Class property signals of Unity-7.0.Unity.Schema
|
|
@@ -2801,6 +2889,7 @@ interface SearchMetadata {
|
|
|
2801
2889
|
|
|
2802
2890
|
readonly locale: string | null
|
|
2803
2891
|
readonly form_factor: string | null
|
|
2892
|
+
readonly formFactor: string | null
|
|
2804
2893
|
readonly location: GeoCoordinate
|
|
2805
2894
|
|
|
2806
2895
|
// Owm methods of Unity-7.0.Unity.SearchMetadata
|
|
@@ -2920,7 +3009,7 @@ interface AbstractScope {
|
|
|
2920
3009
|
get_group_name(): string | null
|
|
2921
3010
|
get_unique_name(): string | null
|
|
2922
3011
|
activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
|
|
2923
|
-
normalize_search_query(search_query: string
|
|
3012
|
+
normalize_search_query(search_query: string): string | null
|
|
2924
3013
|
results_invalidated(search_type: SearchType): void
|
|
2925
3014
|
|
|
2926
3015
|
// Own virtual methods of Unity-7.0.Unity.AbstractScope
|
|
@@ -2934,7 +3023,7 @@ interface AbstractScope {
|
|
|
2934
3023
|
vfunc_get_group_name(): string | null
|
|
2935
3024
|
vfunc_get_unique_name(): string | null
|
|
2936
3025
|
vfunc_activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
|
|
2937
|
-
vfunc_normalize_search_query(search_query: string
|
|
3026
|
+
vfunc_normalize_search_query(search_query: string): string | null
|
|
2938
3027
|
|
|
2939
3028
|
// Own signals of Unity-7.0.Unity.AbstractScope
|
|
2940
3029
|
|
|
@@ -3044,6 +3133,10 @@ module DeprecatedScopeBase {
|
|
|
3044
3133
|
categories?: CategorySet | null
|
|
3045
3134
|
filters?: FilterSet | null
|
|
3046
3135
|
schema?: Schema | null
|
|
3136
|
+
dbusPath?: string | null
|
|
3137
|
+
searchInGlobal?: boolean | null
|
|
3138
|
+
isMaster?: boolean | null
|
|
3139
|
+
searchHint?: string | null
|
|
3047
3140
|
}
|
|
3048
3141
|
|
|
3049
3142
|
}
|
|
@@ -3054,10 +3147,14 @@ interface DeprecatedScopeBase {
|
|
|
3054
3147
|
|
|
3055
3148
|
readonly id: string | null
|
|
3056
3149
|
readonly dbus_path: string | null
|
|
3150
|
+
readonly dbusPath: string | null
|
|
3057
3151
|
search_in_global: boolean
|
|
3152
|
+
searchInGlobal: boolean
|
|
3058
3153
|
visible: boolean
|
|
3059
3154
|
readonly is_master: boolean
|
|
3155
|
+
readonly isMaster: boolean
|
|
3060
3156
|
search_hint: string | null
|
|
3157
|
+
searchHint: string | null
|
|
3061
3158
|
sources: OptionsFilter
|
|
3062
3159
|
categories: CategorySet
|
|
3063
3160
|
filters: FilterSet
|
|
@@ -3067,15 +3164,15 @@ interface DeprecatedScopeBase {
|
|
|
3067
3164
|
|
|
3068
3165
|
export(): void
|
|
3069
3166
|
unexport(): void
|
|
3070
|
-
get_id(): string
|
|
3071
|
-
get_dbus_path(): string
|
|
3167
|
+
get_id(): string
|
|
3168
|
+
get_dbus_path(): string
|
|
3072
3169
|
get_search_in_global(): boolean
|
|
3073
3170
|
set_search_in_global(value: boolean): void
|
|
3074
3171
|
get_visible(): boolean
|
|
3075
3172
|
set_visible(value: boolean): void
|
|
3076
3173
|
get_is_master(): boolean
|
|
3077
|
-
get_search_hint(): string
|
|
3078
|
-
set_search_hint(value: string
|
|
3174
|
+
get_search_hint(): string
|
|
3175
|
+
set_search_hint(value: string): void
|
|
3079
3176
|
get_sources(): OptionsFilter
|
|
3080
3177
|
get_categories(): CategorySet
|
|
3081
3178
|
set_categories(value: CategorySet): void
|
|
@@ -3149,14 +3246,14 @@ module DeprecatedScope {
|
|
|
3149
3246
|
* Signal callback interface for `activate-uri`
|
|
3150
3247
|
*/
|
|
3151
3248
|
interface ActivateUriSignalCallback {
|
|
3152
|
-
($obj: DeprecatedScope, uri: string
|
|
3249
|
+
($obj: DeprecatedScope, uri: string): ActivationResponse | null
|
|
3153
3250
|
}
|
|
3154
3251
|
|
|
3155
3252
|
/**
|
|
3156
3253
|
* Signal callback interface for `preview-uri`
|
|
3157
3254
|
*/
|
|
3158
3255
|
interface PreviewUriSignalCallback {
|
|
3159
|
-
($obj: DeprecatedScope, uri: string
|
|
3256
|
+
($obj: DeprecatedScope, uri: string): Preview | null
|
|
3160
3257
|
}
|
|
3161
3258
|
|
|
3162
3259
|
/**
|
|
@@ -3202,10 +3299,10 @@ interface DeprecatedScope {
|
|
|
3202
3299
|
|
|
3203
3300
|
connect(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
|
|
3204
3301
|
connect_after(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
|
|
3205
|
-
emit(sigName: "activate-uri", uri: string
|
|
3302
|
+
emit(sigName: "activate-uri", uri: string, ...args: any[]): void
|
|
3206
3303
|
connect(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
|
|
3207
3304
|
connect_after(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
|
|
3208
|
-
emit(sigName: "preview-uri", uri: string
|
|
3305
|
+
emit(sigName: "preview-uri", uri: string, ...args: any[]): void
|
|
3209
3306
|
connect(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
|
|
3210
3307
|
connect_after(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
|
|
3211
3308
|
emit(sigName: "generate-search-key", search: DeprecatedScopeSearch, ...args: any[]): void
|
|
@@ -3261,8 +3358,8 @@ class DeprecatedScope extends DeprecatedScopeBase {
|
|
|
3261
3358
|
// Constructors of Unity-7.0.Unity.DeprecatedScope
|
|
3262
3359
|
|
|
3263
3360
|
constructor(config?: DeprecatedScope.ConstructorProperties)
|
|
3264
|
-
constructor(dbus_path_: string
|
|
3265
|
-
static new(dbus_path_: string
|
|
3361
|
+
constructor(dbus_path_: string, id_: string)
|
|
3362
|
+
static new(dbus_path_: string, id_: string): DeprecatedScope
|
|
3266
3363
|
_init(config?: DeprecatedScope.ConstructorProperties): void
|
|
3267
3364
|
}
|
|
3268
3365
|
|
|
@@ -3277,6 +3374,9 @@ module AggregatorScope {
|
|
|
3277
3374
|
merge_mode?: AggregatorScopeMergeMode | null
|
|
3278
3375
|
proxy_filter_hints?: boolean | null
|
|
3279
3376
|
automatic_flushing?: boolean | null
|
|
3377
|
+
mergeMode?: AggregatorScopeMergeMode | null
|
|
3378
|
+
proxyFilterHints?: boolean | null
|
|
3379
|
+
automaticFlushing?: boolean | null
|
|
3280
3380
|
}
|
|
3281
3381
|
|
|
3282
3382
|
}
|
|
@@ -3286,14 +3386,17 @@ interface AggregatorScope {
|
|
|
3286
3386
|
// Own properties of Unity-7.0.Unity.AggregatorScope
|
|
3287
3387
|
|
|
3288
3388
|
merge_mode: AggregatorScopeMergeMode
|
|
3389
|
+
mergeMode: AggregatorScopeMergeMode
|
|
3289
3390
|
proxy_filter_hints: boolean
|
|
3391
|
+
proxyFilterHints: boolean
|
|
3290
3392
|
automatic_flushing: boolean
|
|
3393
|
+
automaticFlushing: boolean
|
|
3291
3394
|
|
|
3292
3395
|
// Owm methods of Unity-7.0.Unity.AggregatorScope
|
|
3293
3396
|
|
|
3294
|
-
category_index_for_scope_id(scope_id: string
|
|
3295
|
-
add_sorter(category_index: number, field: string
|
|
3296
|
-
add_constraint(category_index: number, field: string
|
|
3397
|
+
category_index_for_scope_id(scope_id: string): number
|
|
3398
|
+
add_sorter(category_index: number, field: string, flags: AggregatorScopeSortFlags): void
|
|
3399
|
+
add_constraint(category_index: number, field: string): void
|
|
3297
3400
|
search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
3298
3401
|
search_finish(_res_: Gio.AsyncResult): void
|
|
3299
3402
|
activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -3307,7 +3410,7 @@ interface AggregatorScope {
|
|
|
3307
3410
|
|
|
3308
3411
|
// Own virtual methods of Unity-7.0.Unity.AggregatorScope
|
|
3309
3412
|
|
|
3310
|
-
vfunc_category_index_for_scope_id(scope_id: string
|
|
3413
|
+
vfunc_category_index_for_scope_id(scope_id: string): number
|
|
3311
3414
|
vfunc_search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
3312
3415
|
vfunc_search_finish(_res_: Gio.AsyncResult): void
|
|
3313
3416
|
vfunc_activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
|
|
@@ -3382,6 +3485,7 @@ module MasterScope {
|
|
|
3382
3485
|
// Own constructor properties of Unity-7.0.Unity.MasterScope
|
|
3383
3486
|
|
|
3384
3487
|
no_content_hint?: string | null
|
|
3488
|
+
noContentHint?: string | null
|
|
3385
3489
|
}
|
|
3386
3490
|
|
|
3387
3491
|
}
|
|
@@ -3391,11 +3495,12 @@ interface MasterScope {
|
|
|
3391
3495
|
// Own properties of Unity-7.0.Unity.MasterScope
|
|
3392
3496
|
|
|
3393
3497
|
no_content_hint: string | null
|
|
3498
|
+
noContentHint: string | null
|
|
3394
3499
|
|
|
3395
3500
|
// Owm methods of Unity-7.0.Unity.MasterScope
|
|
3396
3501
|
|
|
3397
|
-
get_no_content_hint(): string
|
|
3398
|
-
set_no_content_hint(value: string
|
|
3502
|
+
get_no_content_hint(): string
|
|
3503
|
+
set_no_content_hint(value: string): void
|
|
3399
3504
|
|
|
3400
3505
|
// Class property signals of Unity-7.0.Unity.MasterScope
|
|
3401
3506
|
|
|
@@ -3457,8 +3562,8 @@ class MasterScope extends AggregatorScope {
|
|
|
3457
3562
|
// Constructors of Unity-7.0.Unity.MasterScope
|
|
3458
3563
|
|
|
3459
3564
|
constructor(config?: MasterScope.ConstructorProperties)
|
|
3460
|
-
constructor(dbus_path_: string
|
|
3461
|
-
static new(dbus_path_: string
|
|
3565
|
+
constructor(dbus_path_: string, id_: string)
|
|
3566
|
+
static new(dbus_path_: string, id_: string): MasterScope
|
|
3462
3567
|
_init(config?: MasterScope.ConstructorProperties): void
|
|
3463
3568
|
}
|
|
3464
3569
|
|
|
@@ -3476,6 +3581,11 @@ module SimpleScope {
|
|
|
3476
3581
|
search_hint?: string | null
|
|
3477
3582
|
group_name?: string | null
|
|
3478
3583
|
unique_name?: string | null
|
|
3584
|
+
filterSet?: FilterSet | null
|
|
3585
|
+
categorySet?: CategorySet | null
|
|
3586
|
+
searchHint?: string | null
|
|
3587
|
+
groupName?: string | null
|
|
3588
|
+
uniqueName?: string | null
|
|
3479
3589
|
}
|
|
3480
3590
|
|
|
3481
3591
|
}
|
|
@@ -3485,11 +3595,16 @@ interface SimpleScope {
|
|
|
3485
3595
|
// Own properties of Unity-7.0.Unity.SimpleScope
|
|
3486
3596
|
|
|
3487
3597
|
filter_set: FilterSet
|
|
3598
|
+
filterSet: FilterSet
|
|
3488
3599
|
category_set: CategorySet
|
|
3600
|
+
categorySet: CategorySet
|
|
3489
3601
|
schema: Schema
|
|
3490
3602
|
search_hint: string | null
|
|
3603
|
+
searchHint: string | null
|
|
3491
3604
|
group_name: string | null
|
|
3605
|
+
groupName: string | null
|
|
3492
3606
|
unique_name: string | null
|
|
3607
|
+
uniqueName: string | null
|
|
3493
3608
|
|
|
3494
3609
|
// Owm methods of Unity-7.0.Unity.SimpleScope
|
|
3495
3610
|
|
|
@@ -3504,12 +3619,24 @@ interface SimpleScope {
|
|
|
3504
3619
|
set_category_set(value: CategorySet): void
|
|
3505
3620
|
get_schema(): Schema
|
|
3506
3621
|
set_schema(value: Schema): void
|
|
3622
|
+
get_search_hint(): string
|
|
3623
|
+
|
|
3624
|
+
// Overloads of get_search_hint
|
|
3625
|
+
|
|
3507
3626
|
get_search_hint(): string | null
|
|
3508
|
-
set_search_hint(value: string
|
|
3627
|
+
set_search_hint(value: string): void
|
|
3628
|
+
get_group_name(): string
|
|
3629
|
+
|
|
3630
|
+
// Overloads of get_group_name
|
|
3631
|
+
|
|
3509
3632
|
get_group_name(): string | null
|
|
3510
|
-
set_group_name(value: string
|
|
3633
|
+
set_group_name(value: string): void
|
|
3634
|
+
get_unique_name(): string
|
|
3635
|
+
|
|
3636
|
+
// Overloads of get_unique_name
|
|
3637
|
+
|
|
3511
3638
|
get_unique_name(): string | null
|
|
3512
|
-
set_unique_name(value: string
|
|
3639
|
+
set_unique_name(value: string): void
|
|
3513
3640
|
|
|
3514
3641
|
// Class property signals of Unity-7.0.Unity.SimpleScope
|
|
3515
3642
|
|
|
@@ -3565,15 +3692,15 @@ interface ScopeLoader {
|
|
|
3565
3692
|
|
|
3566
3693
|
// Owm methods of Unity-7.0.Unity.ScopeLoader
|
|
3567
3694
|
|
|
3568
|
-
get_scopes(module_name: string
|
|
3695
|
+
get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
|
|
3569
3696
|
export_scopes(scopes: AbstractScope[]): void
|
|
3570
|
-
load_group(group_name: string
|
|
3571
|
-
load_scope(scope_id: string
|
|
3572
|
-
load_module(module: string
|
|
3697
|
+
load_group(group_name: string): void
|
|
3698
|
+
load_scope(scope_id: string): void
|
|
3699
|
+
load_module(module: string, module_type?: string | null): void
|
|
3573
3700
|
|
|
3574
3701
|
// Own virtual methods of Unity-7.0.Unity.ScopeLoader
|
|
3575
3702
|
|
|
3576
|
-
vfunc_get_scopes(module_name: string
|
|
3703
|
+
vfunc_get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
|
|
3577
3704
|
vfunc_export_scopes(scopes: AbstractScope[]): void
|
|
3578
3705
|
|
|
3579
3706
|
// Class property signals of Unity-7.0.Unity.ScopeLoader
|
|
@@ -3615,6 +3742,9 @@ module TrackMetadata {
|
|
|
3615
3742
|
length?: number | null
|
|
3616
3743
|
art_location?: Gio.File | null
|
|
3617
3744
|
art_icon?: Gio.Icon | null
|
|
3745
|
+
trackNo?: number | null
|
|
3746
|
+
artLocation?: Gio.File | null
|
|
3747
|
+
artIcon?: Gio.Icon | null
|
|
3618
3748
|
}
|
|
3619
3749
|
|
|
3620
3750
|
}
|
|
@@ -3625,25 +3755,28 @@ interface TrackMetadata {
|
|
|
3625
3755
|
|
|
3626
3756
|
uri: string | null
|
|
3627
3757
|
track_no: number
|
|
3758
|
+
trackNo: number
|
|
3628
3759
|
artist: string | null
|
|
3629
3760
|
title: string | null
|
|
3630
3761
|
album: string | null
|
|
3631
3762
|
length: number
|
|
3632
3763
|
art_location: Gio.File
|
|
3764
|
+
artLocation: Gio.File
|
|
3633
3765
|
art_icon: Gio.Icon
|
|
3766
|
+
artIcon: Gio.Icon
|
|
3634
3767
|
|
|
3635
3768
|
// Owm methods of Unity-7.0.Unity.TrackMetadata
|
|
3636
3769
|
|
|
3637
|
-
get_uri(): string
|
|
3638
|
-
set_uri(value: string
|
|
3770
|
+
get_uri(): string
|
|
3771
|
+
set_uri(value: string): void
|
|
3639
3772
|
get_track_no(): number
|
|
3640
3773
|
set_track_no(value: number): void
|
|
3641
|
-
get_artist(): string
|
|
3642
|
-
set_artist(value: string
|
|
3643
|
-
get_title(): string
|
|
3644
|
-
set_title(value: string
|
|
3645
|
-
get_album(): string
|
|
3646
|
-
set_album(value: string
|
|
3774
|
+
get_artist(): string
|
|
3775
|
+
set_artist(value: string): void
|
|
3776
|
+
get_title(): string
|
|
3777
|
+
set_title(value: string): void
|
|
3778
|
+
get_album(): string
|
|
3779
|
+
set_album(value: string): void
|
|
3647
3780
|
get_length(): number
|
|
3648
3781
|
set_length(value: number): void
|
|
3649
3782
|
get_art_location(): Gio.File
|
|
@@ -3695,7 +3828,7 @@ class TrackMetadata extends GObject.Object {
|
|
|
3695
3828
|
constructor(config?: TrackMetadata.ConstructorProperties)
|
|
3696
3829
|
constructor()
|
|
3697
3830
|
static new(): TrackMetadata
|
|
3698
|
-
static full(uri: string
|
|
3831
|
+
static full(uri: string, track_no: number, title: string, artist: string, album: string, length: number): TrackMetadata
|
|
3699
3832
|
_init(config?: TrackMetadata.ConstructorProperties): void
|
|
3700
3833
|
}
|
|
3701
3834
|
|
|
@@ -3713,6 +3846,9 @@ module Playlist {
|
|
|
3713
3846
|
creation_date?: GLib.DateTime | null
|
|
3714
3847
|
modification_date?: GLib.DateTime | null
|
|
3715
3848
|
last_play_date?: GLib.DateTime | null
|
|
3849
|
+
creationDate?: GLib.DateTime | null
|
|
3850
|
+
modificationDate?: GLib.DateTime | null
|
|
3851
|
+
lastPlayDate?: GLib.DateTime | null
|
|
3716
3852
|
}
|
|
3717
3853
|
|
|
3718
3854
|
}
|
|
@@ -3725,14 +3861,17 @@ interface Playlist {
|
|
|
3725
3861
|
name: string | null
|
|
3726
3862
|
icon: Gio.Icon
|
|
3727
3863
|
creation_date: GLib.DateTime
|
|
3864
|
+
creationDate: GLib.DateTime
|
|
3728
3865
|
modification_date: GLib.DateTime
|
|
3866
|
+
modificationDate: GLib.DateTime
|
|
3729
3867
|
last_play_date: GLib.DateTime
|
|
3868
|
+
lastPlayDate: GLib.DateTime
|
|
3730
3869
|
|
|
3731
3870
|
// Owm methods of Unity-7.0.Unity.Playlist
|
|
3732
3871
|
|
|
3733
|
-
get_id(): string
|
|
3734
|
-
get_name(): string
|
|
3735
|
-
set_name(value: string
|
|
3872
|
+
get_id(): string
|
|
3873
|
+
get_name(): string
|
|
3874
|
+
set_name(value: string): void
|
|
3736
3875
|
get_icon(): Gio.Icon
|
|
3737
3876
|
set_icon(value: Gio.Icon): void
|
|
3738
3877
|
get_creation_date(): GLib.DateTime
|
|
@@ -3778,8 +3917,8 @@ class Playlist extends GObject.Object {
|
|
|
3778
3917
|
// Constructors of Unity-7.0.Unity.Playlist
|
|
3779
3918
|
|
|
3780
3919
|
constructor(config?: Playlist.ConstructorProperties)
|
|
3781
|
-
constructor(id: string
|
|
3782
|
-
static new(id: string
|
|
3920
|
+
constructor(id: string)
|
|
3921
|
+
static new(id: string): Playlist
|
|
3783
3922
|
_init(config?: Playlist.ConstructorProperties): void
|
|
3784
3923
|
}
|
|
3785
3924
|
|
|
@@ -3842,6 +3981,18 @@ module MusicPlayer {
|
|
|
3842
3981
|
current_playlist?: Playlist | null
|
|
3843
3982
|
track_menu?: Dbusmenu.Menuitem | null
|
|
3844
3983
|
player_menu?: Dbusmenu.Menuitem | null
|
|
3984
|
+
appInfo?: Gio.AppInfo | null
|
|
3985
|
+
desktopFileName?: string | null
|
|
3986
|
+
isBlacklisted?: boolean | null
|
|
3987
|
+
canGoNext?: boolean | null
|
|
3988
|
+
canGoPrevious?: boolean | null
|
|
3989
|
+
canPlay?: boolean | null
|
|
3990
|
+
canPause?: boolean | null
|
|
3991
|
+
currentTrack?: TrackMetadata | null
|
|
3992
|
+
playbackState?: PlaybackState | null
|
|
3993
|
+
currentPlaylist?: Playlist | null
|
|
3994
|
+
trackMenu?: Dbusmenu.Menuitem | null
|
|
3995
|
+
playerMenu?: Dbusmenu.Menuitem | null
|
|
3845
3996
|
}
|
|
3846
3997
|
|
|
3847
3998
|
}
|
|
@@ -3851,18 +4002,30 @@ interface MusicPlayer {
|
|
|
3851
4002
|
// Own properties of Unity-7.0.Unity.MusicPlayer
|
|
3852
4003
|
|
|
3853
4004
|
readonly app_info: Gio.AppInfo
|
|
4005
|
+
readonly appInfo: Gio.AppInfo
|
|
3854
4006
|
readonly desktop_file_name: string | null
|
|
4007
|
+
readonly desktopFileName: string | null
|
|
3855
4008
|
is_blacklisted: boolean
|
|
4009
|
+
isBlacklisted: boolean
|
|
3856
4010
|
title: string | null
|
|
3857
4011
|
can_go_next: boolean
|
|
4012
|
+
canGoNext: boolean
|
|
3858
4013
|
can_go_previous: boolean
|
|
4014
|
+
canGoPrevious: boolean
|
|
3859
4015
|
can_play: boolean
|
|
4016
|
+
canPlay: boolean
|
|
3860
4017
|
can_pause: boolean
|
|
4018
|
+
canPause: boolean
|
|
3861
4019
|
current_track: TrackMetadata
|
|
4020
|
+
currentTrack: TrackMetadata
|
|
3862
4021
|
playback_state: PlaybackState
|
|
4022
|
+
playbackState: PlaybackState
|
|
3863
4023
|
current_playlist: Playlist
|
|
4024
|
+
currentPlaylist: Playlist
|
|
3864
4025
|
track_menu: Dbusmenu.Menuitem
|
|
4026
|
+
trackMenu: Dbusmenu.Menuitem
|
|
3865
4027
|
player_menu: Dbusmenu.Menuitem
|
|
4028
|
+
playerMenu: Dbusmenu.Menuitem
|
|
3866
4029
|
|
|
3867
4030
|
// Owm methods of Unity-7.0.Unity.MusicPlayer
|
|
3868
4031
|
|
|
@@ -3871,13 +4034,13 @@ interface MusicPlayer {
|
|
|
3871
4034
|
add_playlist(p: Playlist): boolean
|
|
3872
4035
|
remove_playlist(p: Playlist): boolean
|
|
3873
4036
|
get_playlists(): Playlist[]
|
|
3874
|
-
edit_playlist_name(id: string
|
|
4037
|
+
edit_playlist_name(id: string, name: string): void
|
|
3875
4038
|
get_app_info(): Gio.AppInfo
|
|
3876
|
-
get_desktop_file_name(): string
|
|
4039
|
+
get_desktop_file_name(): string
|
|
3877
4040
|
get_is_blacklisted(): boolean
|
|
3878
4041
|
set_is_blacklisted(value: boolean): void
|
|
3879
|
-
get_title(): string
|
|
3880
|
-
set_title(value: string
|
|
4042
|
+
get_title(): string
|
|
4043
|
+
set_title(value: string): void
|
|
3881
4044
|
get_can_go_next(): boolean
|
|
3882
4045
|
set_can_go_next(value: boolean): void
|
|
3883
4046
|
get_can_go_previous(): boolean
|
|
@@ -3972,8 +4135,8 @@ class MusicPlayer extends GObject.Object {
|
|
|
3972
4135
|
// Constructors of Unity-7.0.Unity.MusicPlayer
|
|
3973
4136
|
|
|
3974
4137
|
constructor(config?: MusicPlayer.ConstructorProperties)
|
|
3975
|
-
constructor(desktop: string
|
|
3976
|
-
static new(desktop: string
|
|
4138
|
+
constructor(desktop: string)
|
|
4139
|
+
static new(desktop: string): MusicPlayer
|
|
3977
4140
|
_init(config?: MusicPlayer.ConstructorProperties): void
|
|
3978
4141
|
}
|
|
3979
4142
|
|
|
@@ -4615,7 +4778,7 @@ interface FilterSetClass {
|
|
|
4615
4778
|
// Own fields of Unity-7.0.Unity.FilterSetClass
|
|
4616
4779
|
|
|
4617
4780
|
add: (self: FilterSet, filter: Filter) => void
|
|
4618
|
-
get_filter_by_id: (self: FilterSet, filter_id: string
|
|
4781
|
+
get_filter_by_id: (self: FilterSet, filter_id: string) => Filter | null
|
|
4619
4782
|
get_filters: (self: FilterSet) => Filter[]
|
|
4620
4783
|
}
|
|
4621
4784
|
|
|
@@ -4665,7 +4828,7 @@ interface SchemaClass {
|
|
|
4665
4828
|
|
|
4666
4829
|
// Own fields of Unity-7.0.Unity.SchemaClass
|
|
4667
4830
|
|
|
4668
|
-
add_field: (self: Schema, name: string
|
|
4831
|
+
add_field: (self: Schema, name: string, schema: string, type: SchemaFieldType) => void
|
|
4669
4832
|
get_fields: (self: Schema) => SchemaFieldInfo[]
|
|
4670
4833
|
}
|
|
4671
4834
|
|
|
@@ -4882,7 +5045,7 @@ interface AbstractScopeClass {
|
|
|
4882
5045
|
get_group_name: (self: AbstractScope) => string | null
|
|
4883
5046
|
get_unique_name: (self: AbstractScope) => string | null
|
|
4884
5047
|
activate: (self: AbstractScope, result: ScopeResult, metadata: SearchMetadata, action_id?: string | null) => ActivationResponse | null
|
|
4885
|
-
normalize_search_query: (self: AbstractScope, search_query: string
|
|
5048
|
+
normalize_search_query: (self: AbstractScope, search_query: string) => string | null
|
|
4886
5049
|
}
|
|
4887
5050
|
|
|
4888
5051
|
abstract class AbstractScopeClass {
|
|
@@ -4977,7 +5140,7 @@ interface AggregatorScopeClass {
|
|
|
4977
5140
|
|
|
4978
5141
|
// Own fields of Unity-7.0.Unity.AggregatorScopeClass
|
|
4979
5142
|
|
|
4980
|
-
category_index_for_scope_id: (self: AggregatorScope, scope_id: string
|
|
5143
|
+
category_index_for_scope_id: (self: AggregatorScope, scope_id: string) => number
|
|
4981
5144
|
search: (self: AggregatorScope, scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
4982
5145
|
search_finish: (self: AggregatorScope, _res_: Gio.AsyncResult) => void
|
|
4983
5146
|
activate: (self: AggregatorScope, activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback | null) => void
|
|
@@ -5045,7 +5208,7 @@ interface ScopeLoaderClass {
|
|
|
5045
5208
|
|
|
5046
5209
|
// Own fields of Unity-7.0.Unity.ScopeLoaderClass
|
|
5047
5210
|
|
|
5048
|
-
get_scopes: (self: ScopeLoader, module_name: string
|
|
5211
|
+
get_scopes: (self: ScopeLoader, module_name: string, module_type?: string | null) => AbstractScope[]
|
|
5049
5212
|
export_scopes: (self: ScopeLoader, scopes: AbstractScope[]) => void
|
|
5050
5213
|
}
|
|
5051
5214
|
|
|
@@ -5149,7 +5312,7 @@ class ScopeResult {
|
|
|
5149
5312
|
|
|
5150
5313
|
// Constructors of Unity-7.0.Unity.ScopeResult
|
|
5151
5314
|
|
|
5152
|
-
static create(uri: string
|
|
5315
|
+
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
|
|
5153
5316
|
static create_from_variant(variant: GLib.Variant): ScopeResult | null
|
|
5154
5317
|
}
|
|
5155
5318
|
|
|
@@ -5177,7 +5340,7 @@ class SearchContext {
|
|
|
5177
5340
|
|
|
5178
5341
|
// Constructors of Unity-7.0.Unity.SearchContext
|
|
5179
5342
|
|
|
5180
|
-
static create(search_query: string
|
|
5343
|
+
static create(search_query: string, search_type: SearchType, filter_state: FilterSet | null, metadata: GLib.HashTable | null, result_set: ResultSet, cancellable?: Cancellable | null): SearchContext | null
|
|
5181
5344
|
}
|
|
5182
5345
|
|
|
5183
5346
|
interface PlaylistDetails {
|