@girs/unity-7.0 7.0.0-3.2.6 → 7.0.0-3.2.8

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/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 | null): CategoryRenderer
148
- export function category_renderer_to_string(val: CategoryRenderer): string | null
149
- export function category_content_type_from_string(content_type: string | null): CategoryContentType
150
- export function category_content_type_to_string(val: CategoryContentType): string | null
151
- export function filter_renderer_to_string(renderer: FilterRenderer): string | null
152
- export function filter_renderer_from_string(renderer_name: string | null): FilterRenderer
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 | null, new_appinfo?: Gio.AppInfo | null): void
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 | null): Gio.AppInfo | null
186
- get_categories(id: string | null): string[] | null
187
- get_keywords(id: string | null): string[] | null
188
- get_path(id: string | null): string | null
189
- lookup_async(id: string | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
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 | null): globalThis.Promise<Gio.AppInfo | null>
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 | null, new_appinfo?: Gio.AppInfo | null, ...args: any[]): void
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
 
@@ -242,7 +242,6 @@ export module AnnotatedIcon {
242
242
  icon?: Gio.Icon | null
243
243
  ribbon?: string | null
244
244
  category?: CategoryType | null
245
- size_hint?: IconSizeHint | null
246
245
  sizeHint?: IconSizeHint | null
247
246
  }
248
247
 
@@ -255,7 +254,6 @@ export interface AnnotatedIcon {
255
254
  icon: Gio.Icon
256
255
  ribbon: string | null
257
256
  category: CategoryType
258
- size_hint: IconSizeHint
259
257
  sizeHint: IconSizeHint
260
258
 
261
259
  // Owm methods of Unity-7.0.Unity.AnnotatedIcon
@@ -264,8 +262,8 @@ export interface AnnotatedIcon {
264
262
  to_string(): string | null
265
263
  get_icon(): Gio.Icon
266
264
  set_icon(value: Gio.Icon): void
267
- get_ribbon(): string | null
268
- set_ribbon(value: string | null): void
265
+ get_ribbon(): string
266
+ set_ribbon(value: string): void
269
267
  get_category(): CategoryType
270
268
  set_category(value: CategoryType): void
271
269
  get_size_hint(): IconSizeHint
@@ -319,9 +317,7 @@ export interface Inspector {
319
317
 
320
318
  // Own properties of Unity-7.0.Unity.Inspector
321
319
 
322
- readonly unity_running: boolean
323
320
  readonly unityRunning: boolean
324
- readonly unity_bus_name: string | null
325
321
  readonly unityBusName: string | null
326
322
 
327
323
  // Owm methods of Unity-7.0.Unity.Inspector
@@ -365,16 +361,13 @@ export module LauncherEntry {
365
361
 
366
362
  // Own constructor properties of Unity-7.0.Unity.LauncherEntry
367
363
 
368
- app_uri?: string | null
364
+ appUri?: string | null
369
365
  count?: number | null
370
- count_visible?: boolean | null
366
+ countVisible?: boolean | null
371
367
  progress?: number | null
372
- progress_visible?: boolean | null
368
+ progressVisible?: boolean | null
373
369
  urgent?: boolean | null
374
370
  quicklist?: Dbusmenu.Menuitem | null
375
- appUri?: string | null
376
- countVisible?: boolean | null
377
- progressVisible?: boolean | null
378
371
  }
379
372
 
380
373
  }
@@ -383,21 +376,18 @@ export interface LauncherEntry extends Dee.Serializable {
383
376
 
384
377
  // Own properties of Unity-7.0.Unity.LauncherEntry
385
378
 
386
- app_uri: string | null
387
379
  appUri: string | null
388
380
  count: number
389
- count_visible: boolean
390
381
  countVisible: boolean
391
382
  progress: number
392
- progress_visible: boolean
393
383
  progressVisible: boolean
394
384
  urgent: boolean
395
385
  quicklist: Dbusmenu.Menuitem
396
386
 
397
387
  // Owm methods of Unity-7.0.Unity.LauncherEntry
398
388
 
399
- get_app_uri(): string | null
400
- set_app_uri(value: string | null): void
389
+ get_app_uri(): string
390
+ set_app_uri(value: string): void
401
391
  get_count(): number
402
392
  set_count(value: number): void
403
393
  get_count_visible(): boolean
@@ -451,9 +441,9 @@ export class LauncherEntry extends GObject.Object {
451
441
 
452
442
  constructor(config?: LauncherEntry.ConstructorProperties)
453
443
  _init(config?: LauncherEntry.ConstructorProperties): void
454
- static get_for_app_uri(app_uri: string | null): LauncherEntry
455
- static get_for_desktop_id(desktop_id: string | null): LauncherEntry
456
- static get_for_desktop_file(desktop_file: string | null): LauncherEntry
444
+ static get_for_app_uri(app_uri: string): LauncherEntry
445
+ static get_for_desktop_id(desktop_id: string): LauncherEntry
446
+ static get_for_desktop_file(desktop_file: string): LauncherEntry
457
447
  }
458
448
 
459
449
  export module LauncherFavorites {
@@ -480,8 +470,8 @@ export interface LauncherFavorites {
480
470
  // Owm methods of Unity-7.0.Unity.LauncherFavorites
481
471
 
482
472
  has_app_info(appinfo: Gio.AppInfo): boolean
483
- has_app_id(app_id: string | null): boolean
484
- lookup(app_id: string | null): Gio.AppInfo | null
473
+ has_app_id(app_id: string): boolean
474
+ lookup(app_id: string): Gio.AppInfo | null
485
475
  enumerate_ids(): string[]
486
476
  enumerate_app_infos(): Gio.AppInfo[]
487
477
 
@@ -553,8 +543,6 @@ export module ProgressSourceProvider {
553
543
 
554
544
  // Own constructor properties of Unity-7.0.Unity.ProgressSourceProvider
555
545
 
556
- dbus_name?: string | null
557
- dbus_path?: string | null
558
546
  dbusName?: string | null
559
547
  dbusPath?: string | null
560
548
  }
@@ -565,15 +553,13 @@ export interface ProgressSourceProvider {
565
553
 
566
554
  // Own properties of Unity-7.0.Unity.ProgressSourceProvider
567
555
 
568
- readonly dbus_name: string | null
569
556
  readonly dbusName: string | null
570
- readonly dbus_path: string | null
571
557
  readonly dbusPath: string | null
572
558
 
573
559
  // Owm methods of Unity-7.0.Unity.ProgressSourceProvider
574
560
 
575
- get_dbus_name(): string | null
576
- get_dbus_path(): string | null
561
+ get_dbus_name(): string
562
+ get_dbus_path(): string
577
563
 
578
564
  // Class property signals of Unity-7.0.Unity.ProgressSourceProvider
579
565
 
@@ -599,8 +585,8 @@ export class ProgressSourceProvider extends MetadataProvider {
599
585
  // Constructors of Unity-7.0.Unity.ProgressSourceProvider
600
586
 
601
587
  constructor(config?: ProgressSourceProvider.ConstructorProperties)
602
- constructor(dbus_name: string | null, dbus_path: string | null)
603
- static new(dbus_name: string | null, dbus_path: string | null): ProgressSourceProvider
588
+ constructor(dbus_name: string, dbus_path: string)
589
+ static new(dbus_name: string, dbus_path: string): ProgressSourceProvider
604
590
  _init(config?: ProgressSourceProvider.ConstructorProperties): void
605
591
  }
606
592
 
@@ -614,10 +600,6 @@ export module Category {
614
600
 
615
601
  id?: string | null
616
602
  name?: string | null
617
- icon_hint?: Gio.Icon | null
618
- default_renderer?: CategoryRenderer | null
619
- content_type?: CategoryContentType | null
620
- renderer_hint?: string | null
621
603
  iconHint?: Gio.Icon | null
622
604
  defaultRenderer?: CategoryRenderer | null
623
605
  contentType?: CategoryContentType | null
@@ -632,28 +614,24 @@ export interface Category {
632
614
 
633
615
  readonly id: string | null
634
616
  readonly name: string | null
635
- readonly icon_hint: Gio.Icon
636
617
  readonly iconHint: Gio.Icon
637
- readonly default_renderer: CategoryRenderer
638
618
  readonly defaultRenderer: CategoryRenderer
639
- content_type: CategoryContentType
640
619
  contentType: CategoryContentType
641
- renderer_hint: string | null
642
620
  rendererHint: string | null
643
621
  readonly renderer: string | null
644
622
 
645
623
  // Owm methods of Unity-7.0.Unity.Category
646
624
 
647
625
  add_metadata_provider(provider: MetadataProvider): void
648
- get_id(): string | null
649
- get_name(): string | null
626
+ get_id(): string
627
+ get_name(): string
650
628
  get_icon_hint(): Gio.Icon | null
651
629
  get_default_renderer(): CategoryRenderer
652
630
  get_content_type(): CategoryContentType
653
631
  set_content_type(value: CategoryContentType): void
654
- get_renderer_hint(): string | null
655
- set_renderer_hint(value: string | null): void
656
- get_renderer(): string | null
632
+ get_renderer_hint(): string
633
+ set_renderer_hint(value: string): void
634
+ get_renderer(): string
657
635
 
658
636
  // Class property signals of Unity-7.0.Unity.Category
659
637
 
@@ -694,8 +672,8 @@ export class Category extends GObject.Object {
694
672
  // Constructors of Unity-7.0.Unity.Category
695
673
 
696
674
  constructor(config?: Category.ConstructorProperties)
697
- constructor(id: string | null, name: string | null, icon_hint: Gio.Icon, renderer: CategoryRenderer)
698
- static new(id: string | null, name: string | null, icon_hint: Gio.Icon, renderer: CategoryRenderer): Category
675
+ constructor(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer)
676
+ static new(id: string, name: string, icon_hint: Gio.Icon, renderer: CategoryRenderer): Category
699
677
  _init(config?: Category.ConstructorProperties): void
700
678
  }
701
679
 
@@ -718,14 +696,12 @@ export module Filter {
718
696
  // Own constructor properties of Unity-7.0.Unity.Filter
719
697
 
720
698
  id?: string | null
721
- display_name?: string | null
722
- icon_hint?: Gio.Icon | null
699
+ displayName?: string | null
700
+ iconHint?: Gio.Icon | null
723
701
  renderer?: FilterRenderer | null
724
702
  visible?: boolean | null
725
703
  collapsed?: boolean | null
726
704
  filtering?: boolean | null
727
- displayName?: string | null
728
- iconHint?: Gio.Icon | null
729
705
  }
730
706
 
731
707
  }
@@ -735,9 +711,7 @@ export interface Filter extends Dee.Serializable {
735
711
  // Own properties of Unity-7.0.Unity.Filter
736
712
 
737
713
  readonly id: string | null
738
- display_name: string | null
739
714
  displayName: string | null
740
- readonly icon_hint: Gio.Icon
741
715
  readonly iconHint: Gio.Icon
742
716
  readonly renderer: FilterRenderer
743
717
  visible: boolean
@@ -746,8 +720,8 @@ export interface Filter extends Dee.Serializable {
746
720
 
747
721
  // Owm methods of Unity-7.0.Unity.Filter
748
722
 
749
- get_id(): string | null
750
- get_display_name(): string | null
723
+ get_id(): string
724
+ get_display_name(): string
751
725
  get_icon_hint(): Gio.Icon | null
752
726
  get_renderer(): FilterRenderer
753
727
  get_visible(): boolean
@@ -812,11 +786,9 @@ export module FilterOption {
812
786
  // Own constructor properties of Unity-7.0.Unity.FilterOption
813
787
 
814
788
  id?: string | null
815
- display_name?: string | null
816
- icon_hint?: Gio.Icon | null
817
- active?: boolean | null
818
789
  displayName?: string | null
819
790
  iconHint?: Gio.Icon | null
791
+ active?: boolean | null
820
792
  }
821
793
 
822
794
  }
@@ -826,16 +798,14 @@ export interface FilterOption {
826
798
  // Own properties of Unity-7.0.Unity.FilterOption
827
799
 
828
800
  readonly id: string | null
829
- readonly display_name: string | null
830
801
  readonly displayName: string | null
831
- readonly icon_hint: Gio.Icon
832
802
  readonly iconHint: Gio.Icon
833
803
  active: boolean
834
804
 
835
805
  // Owm methods of Unity-7.0.Unity.FilterOption
836
806
 
837
- get_id(): string | null
838
- get_display_name(): string | null
807
+ get_id(): string
808
+ get_display_name(): string
839
809
  get_icon_hint(): Gio.Icon
840
810
  get_active(): boolean
841
811
  set_active(value: boolean): void
@@ -870,8 +840,8 @@ export class FilterOption extends GObject.Object {
870
840
  // Constructors of Unity-7.0.Unity.FilterOption
871
841
 
872
842
  constructor(config?: FilterOption.ConstructorProperties)
873
- constructor(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, active: boolean)
874
- static new(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, active: boolean): FilterOption
843
+ constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean)
844
+ static new(id: string, display_name: string, icon_hint: Gio.Icon | null, active: boolean): FilterOption
875
845
  _init(config?: FilterOption.ConstructorProperties): void
876
846
  }
877
847
 
@@ -883,8 +853,6 @@ export module OptionsFilter {
883
853
 
884
854
  // Own constructor properties of Unity-7.0.Unity.OptionsFilter
885
855
 
886
- sort_type?: OptionsFilterSortType | null
887
- show_all_button?: boolean | null
888
856
  sortType?: OptionsFilterSortType | null
889
857
  showAllButton?: boolean | null
890
858
  }
@@ -895,9 +863,7 @@ export interface OptionsFilter {
895
863
 
896
864
  // Own properties of Unity-7.0.Unity.OptionsFilter
897
865
 
898
- sort_type: OptionsFilterSortType
899
866
  sortType: OptionsFilterSortType
900
- show_all_button: boolean
901
867
  showAllButton: boolean
902
868
 
903
869
  // Own fields of Unity-7.0.Unity.OptionsFilter
@@ -906,9 +872,9 @@ export interface OptionsFilter {
906
872
 
907
873
  // Owm methods of Unity-7.0.Unity.OptionsFilter
908
874
 
909
- add_option(id: string | null, display_name: string | null, icon_hint?: Gio.Icon | null): FilterOption
910
- get_option(id: string | null): FilterOption | null
911
- remove_option(id: string | null): boolean
875
+ add_option(id: string, display_name: string, icon_hint?: Gio.Icon | null): FilterOption
876
+ get_option(id: string): FilterOption | null
877
+ remove_option(id: string): boolean
912
878
  get_sort_type(): OptionsFilterSortType
913
879
  set_sort_type(value: OptionsFilterSortType): void
914
880
  get_show_all_button(): boolean
@@ -1024,8 +990,8 @@ export class RadioOptionFilter extends OptionsFilter {
1024
990
  // Constructors of Unity-7.0.Unity.RadioOptionFilter
1025
991
 
1026
992
  constructor(config?: RadioOptionFilter.ConstructorProperties)
1027
- constructor(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean)
1028
- static new(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean): RadioOptionFilter
993
+ constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
994
+ static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RadioOptionFilter
1029
995
 
1030
996
  // Overloads of new
1031
997
 
@@ -1089,8 +1055,8 @@ export class CheckOptionFilter extends OptionsFilter {
1089
1055
  // Constructors of Unity-7.0.Unity.CheckOptionFilter
1090
1056
 
1091
1057
  constructor(config?: CheckOptionFilter.ConstructorProperties)
1092
- constructor(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean)
1093
- static new(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilter
1058
+ constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
1059
+ static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilter
1094
1060
 
1095
1061
  // Overloads of new
1096
1062
 
@@ -1154,8 +1120,8 @@ export class CheckOptionFilterCompact extends OptionsFilter {
1154
1120
  // Constructors of Unity-7.0.Unity.CheckOptionFilterCompact
1155
1121
 
1156
1122
  constructor(config?: CheckOptionFilterCompact.ConstructorProperties)
1157
- constructor(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean)
1158
- static new(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilterCompact
1123
+ constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
1124
+ static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): CheckOptionFilterCompact
1159
1125
 
1160
1126
  // Overloads of new
1161
1127
 
@@ -1228,8 +1194,8 @@ export class RatingsFilter extends Filter {
1228
1194
  // Constructors of Unity-7.0.Unity.RatingsFilter
1229
1195
 
1230
1196
  constructor(config?: RatingsFilter.ConstructorProperties)
1231
- constructor(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean)
1232
- static new(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean): RatingsFilter
1197
+ constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
1198
+ static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): RatingsFilter
1233
1199
  _init(config?: RatingsFilter.ConstructorProperties): void
1234
1200
  }
1235
1201
 
@@ -1294,8 +1260,8 @@ export class MultiRangeFilter extends OptionsFilter {
1294
1260
  // Constructors of Unity-7.0.Unity.MultiRangeFilter
1295
1261
 
1296
1262
  constructor(config?: MultiRangeFilter.ConstructorProperties)
1297
- constructor(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean)
1298
- static new(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, collapsed: boolean): MultiRangeFilter
1263
+ constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean)
1264
+ static new(id: string, display_name: string, icon_hint: Gio.Icon | null, collapsed: boolean): MultiRangeFilter
1299
1265
 
1300
1266
  // Overloads of new
1301
1267
 
@@ -1311,11 +1277,6 @@ export module PreferencesManager {
1311
1277
 
1312
1278
  // Own constructor properties of Unity-7.0.Unity.PreferencesManager
1313
1279
 
1314
- remote_content_search?: PreferencesManagerRemoteContent | null
1315
- always_search?: string[] | null
1316
- home_lens_priority?: string[] | null
1317
- home_lens_default_view?: string[] | null
1318
- disabled_scopes?: string[] | null
1319
1280
  remoteContentSearch?: PreferencesManagerRemoteContent | null
1320
1281
  alwaysSearch?: string[] | null
1321
1282
  homeLensPriority?: string[] | null
@@ -1329,15 +1290,10 @@ export interface PreferencesManager {
1329
1290
 
1330
1291
  // Own properties of Unity-7.0.Unity.PreferencesManager
1331
1292
 
1332
- remote_content_search: PreferencesManagerRemoteContent
1333
1293
  remoteContentSearch: PreferencesManagerRemoteContent
1334
- always_search: string[]
1335
1294
  alwaysSearch: string[]
1336
- home_lens_priority: string[]
1337
1295
  homeLensPriority: string[]
1338
- home_lens_default_view: string[]
1339
1296
  homeLensDefaultView: string[]
1340
- disabled_scopes: string[]
1341
1297
  disabledScopes: string[]
1342
1298
 
1343
1299
  // Owm methods of Unity-7.0.Unity.PreferencesManager
@@ -1408,12 +1364,10 @@ export module DeprecatedScopeSearch {
1408
1364
 
1409
1365
  // Own constructor properties of Unity-7.0.Unity.DeprecatedScopeSearch
1410
1366
 
1411
- channel_id?: string | null
1412
- hints?: GLib.HashTable | null
1413
- results_model?: Dee.SerializableModel | null
1414
- owner?: DeprecatedScopeBase | null
1415
1367
  channelId?: string | null
1368
+ hints?: GLib.HashTable | null
1416
1369
  resultsModel?: Dee.SerializableModel | null
1370
+ owner?: DeprecatedScopeBase | null
1417
1371
  }
1418
1372
 
1419
1373
  }
@@ -1422,24 +1376,20 @@ export interface DeprecatedScopeSearch {
1422
1376
 
1423
1377
  // Own properties of Unity-7.0.Unity.DeprecatedScopeSearch
1424
1378
 
1425
- readonly channel_id: string | null
1426
1379
  readonly channelId: string | null
1427
- readonly search_string: string | null
1428
1380
  readonly searchString: string | null
1429
- readonly search_type: SearchType
1430
1381
  readonly searchType: SearchType
1431
1382
  readonly hints: GLib.HashTable
1432
- readonly results_model: Dee.SerializableModel
1433
1383
  readonly resultsModel: Dee.SerializableModel
1434
1384
  readonly owner: DeprecatedScopeBase
1435
1385
 
1436
1386
  // Owm methods of Unity-7.0.Unity.DeprecatedScopeSearch
1437
1387
 
1438
- set_reply_hint(key: string | null, variant: GLib.Variant): void
1439
- get_filter(filter_id: string | null): Filter | null
1388
+ set_reply_hint(key: string, variant: GLib.Variant): void
1389
+ get_filter(filter_id: string): Filter | null
1440
1390
  equals(other: DeprecatedScopeSearch): boolean
1441
- get_channel_id(): string | null
1442
- get_search_string(): string | null
1391
+ get_channel_id(): string
1392
+ get_search_string(): string
1443
1393
  get_search_type(): SearchType
1444
1394
  get_hints(): GLib.HashTable
1445
1395
  get_results_model(): Dee.SerializableModel
@@ -1498,7 +1448,7 @@ export module AggregatedScopeSearch {
1498
1448
  * Signal callback interface for `transaction-complete`
1499
1449
  */
1500
1450
  export interface TransactionCompleteSignalCallback {
1501
- ($obj: AggregatedScopeSearch, origin_scope_id: string | null): void
1451
+ ($obj: AggregatedScopeSearch, origin_scope_id: string): void
1502
1452
  }
1503
1453
 
1504
1454
  /**
@@ -1520,9 +1470,9 @@ export interface AggregatedScopeSearch {
1520
1470
 
1521
1471
  // Owm methods of Unity-7.0.Unity.AggregatedScopeSearch
1522
1472
 
1523
- search_scope(scope_id: string | null, search_string: string | null, search_type: SearchType, hints?: GLib.HashTable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
1473
+ search_scope(scope_id: string, search_string: string, search_type: SearchType, hints?: GLib.HashTable | null, _callback_?: Gio.AsyncReadyCallback<this> | null): void
1524
1474
  search_scope_finish(_res_: Gio.AsyncResult): GLib.HashTable
1525
- push_results(scope_id: string | null, results_model: Dee.SerializableModel, category_ids: string[], _callback_?: Gio.AsyncReadyCallback<this> | null): void
1475
+ push_results(scope_id: string, results_model: Dee.SerializableModel, category_ids: string[], _callback_?: Gio.AsyncReadyCallback<this> | null): void
1526
1476
  push_results_finish(_res_: Gio.AsyncResult): void
1527
1477
  push_filter_settings(filters: FilterSet): void
1528
1478
 
@@ -1530,7 +1480,7 @@ export interface AggregatedScopeSearch {
1530
1480
 
1531
1481
  connect(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
1532
1482
  connect_after(sigName: "transaction-complete", callback: AggregatedScopeSearch.TransactionCompleteSignalCallback): number
1533
- emit(sigName: "transaction-complete", origin_scope_id: string | null, ...args: any[]): void
1483
+ emit(sigName: "transaction-complete", origin_scope_id: string, ...args: any[]): void
1534
1484
  connect(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
1535
1485
  connect_after(sigName: "category-order-changed", callback: AggregatedScopeSearch.CategoryOrderChangedSignalCallback): number
1536
1486
  emit(sigName: "category-order-changed", category_indices: number[], ...args: any[]): void
@@ -1571,8 +1521,8 @@ export class AggregatedScopeSearch extends DeprecatedScopeSearch {
1571
1521
  // Constructors of Unity-7.0.Unity.AggregatedScopeSearch
1572
1522
 
1573
1523
  constructor(config?: AggregatedScopeSearch.ConstructorProperties)
1574
- constructor(owner: AggregatorScope, channel_id: string | null, hints: GLib.HashTable, results_model: Dee.SerializableModel)
1575
- static new(owner: AggregatorScope, channel_id: string | null, hints: GLib.HashTable, results_model: Dee.SerializableModel): AggregatedScopeSearch
1524
+ constructor(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel)
1525
+ static new(owner: AggregatorScope, channel_id: string, hints: GLib.HashTable, results_model: Dee.SerializableModel): AggregatedScopeSearch
1576
1526
  _init(config?: AggregatedScopeSearch.ConstructorProperties): void
1577
1527
  }
1578
1528
 
@@ -1586,11 +1536,9 @@ export module Preview {
1586
1536
 
1587
1537
  title?: string | null
1588
1538
  subtitle?: string | null
1589
- description_markup?: string | null
1590
- image_source_uri?: string | null
1591
- image?: Gio.Icon | null
1592
1539
  descriptionMarkup?: string | null
1593
1540
  imageSourceUri?: string | null
1541
+ image?: Gio.Icon | null
1594
1542
  }
1595
1543
 
1596
1544
  }
@@ -1601,9 +1549,7 @@ export interface Preview extends Dee.Serializable {
1601
1549
 
1602
1550
  title: string | null
1603
1551
  subtitle: string | null
1604
- description_markup: string | null
1605
1552
  descriptionMarkup: string | null
1606
- image_source_uri: string | null
1607
1553
  imageSourceUri: string | null
1608
1554
  image: Gio.Icon
1609
1555
 
@@ -1611,14 +1557,14 @@ export interface Preview extends Dee.Serializable {
1611
1557
 
1612
1558
  add_action(action: PreviewAction): void
1613
1559
  add_info(info_hint: InfoHint): void
1614
- get_title(): string | null
1615
- set_title(value: string | null): void
1616
- get_subtitle(): string | null
1617
- set_subtitle(value: string | null): void
1618
- get_description_markup(): string | null
1619
- set_description_markup(value: string | null): void
1620
- get_image_source_uri(): string | null
1621
- set_image_source_uri(value: string | null): void
1560
+ get_title(): string
1561
+ set_title(value: string): void
1562
+ get_subtitle(): string
1563
+ set_subtitle(value: string): void
1564
+ get_description_markup(): string
1565
+ set_description_markup(value: string): void
1566
+ get_image_source_uri(): string
1567
+ set_image_source_uri(value: string): void
1622
1568
  get_image(): Gio.Icon | null
1623
1569
  set_image(value?: Gio.Icon | null): void
1624
1570
 
@@ -1666,7 +1612,7 @@ export module PreviewAction {
1666
1612
  * Signal callback interface for `activated`
1667
1613
  */
1668
1614
  export interface ActivatedSignalCallback {
1669
- ($obj: PreviewAction, uri: string | null): ActivationResponse
1615
+ ($obj: PreviewAction, uri: string): ActivationResponse
1670
1616
  }
1671
1617
 
1672
1618
 
@@ -1677,10 +1623,6 @@ export module PreviewAction {
1677
1623
  // Own constructor properties of Unity-7.0.Unity.PreviewAction
1678
1624
 
1679
1625
  id?: string | null
1680
- display_name?: string | null
1681
- extra_text?: string | null
1682
- icon_hint?: Gio.Icon | null
1683
- layout_hint?: LayoutHint | null
1684
1626
  displayName?: string | null
1685
1627
  extraText?: string | null
1686
1628
  iconHint?: Gio.Icon | null
@@ -1694,22 +1636,18 @@ export interface PreviewAction extends Dee.Serializable {
1694
1636
  // Own properties of Unity-7.0.Unity.PreviewAction
1695
1637
 
1696
1638
  readonly id: string | null
1697
- readonly display_name: string | null
1698
1639
  readonly displayName: string | null
1699
- extra_text: string | null
1700
1640
  extraText: string | null
1701
- readonly icon_hint: Gio.Icon
1702
1641
  readonly iconHint: Gio.Icon
1703
- readonly layout_hint: LayoutHint
1704
1642
  readonly layoutHint: LayoutHint
1705
1643
  readonly hints: GLib.HashTable
1706
1644
 
1707
1645
  // Owm methods of Unity-7.0.Unity.PreviewAction
1708
1646
 
1709
- get_id(): string | null
1710
- get_display_name(): string | null
1711
- get_extra_text(): string | null
1712
- set_extra_text(value: string | null): void
1647
+ get_id(): string
1648
+ get_display_name(): string
1649
+ get_extra_text(): string
1650
+ set_extra_text(value: string): void
1713
1651
  get_icon_hint(): Gio.Icon | null
1714
1652
  get_layout_hint(): LayoutHint
1715
1653
  get_hints(): GLib.HashTable | null
@@ -1718,7 +1656,7 @@ export interface PreviewAction extends Dee.Serializable {
1718
1656
 
1719
1657
  connect(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
1720
1658
  connect_after(sigName: "activated", callback: PreviewAction.ActivatedSignalCallback): number
1721
- emit(sigName: "activated", uri: string | null, ...args: any[]): void
1659
+ emit(sigName: "activated", uri: string, ...args: any[]): void
1722
1660
 
1723
1661
  // Class property signals of Unity-7.0.Unity.PreviewAction
1724
1662
 
@@ -1756,10 +1694,10 @@ export class PreviewAction extends GObject.Object {
1756
1694
  // Constructors of Unity-7.0.Unity.PreviewAction
1757
1695
 
1758
1696
  constructor(config?: PreviewAction.ConstructorProperties)
1759
- constructor(id: string | null, display_name: string | null, icon_hint?: Gio.Icon | null)
1760
- static new(id: string | null, display_name: string | null, icon_hint?: Gio.Icon | null): PreviewAction
1761
- static with_layout_hint(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, layout: LayoutHint): PreviewAction
1762
- static with_uri(uri: string | null, display_name: string | null, icon_hint?: Gio.Icon | null): PreviewAction
1697
+ constructor(id: string, display_name: string, icon_hint?: Gio.Icon | null)
1698
+ static new(id: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
1699
+ static with_layout_hint(id: string, display_name: string, icon_hint: Gio.Icon | null, layout: LayoutHint): PreviewAction
1700
+ static with_uri(uri: string, display_name: string, icon_hint?: Gio.Icon | null): PreviewAction
1763
1701
  _init(config?: PreviewAction.ConstructorProperties): void
1764
1702
  }
1765
1703
 
@@ -1772,11 +1710,9 @@ export module InfoHint {
1772
1710
  // Own constructor properties of Unity-7.0.Unity.InfoHint
1773
1711
 
1774
1712
  id?: string | null
1775
- display_name?: string | null
1776
- icon_hint?: Gio.Icon | null
1777
- data?: GLib.Variant | null
1778
1713
  displayName?: string | null
1779
1714
  iconHint?: Gio.Icon | null
1715
+ data?: GLib.Variant | null
1780
1716
  }
1781
1717
 
1782
1718
  }
@@ -1786,16 +1722,14 @@ export interface InfoHint {
1786
1722
  // Own properties of Unity-7.0.Unity.InfoHint
1787
1723
 
1788
1724
  readonly id: string | null
1789
- readonly display_name: string | null
1790
1725
  readonly displayName: string | null
1791
- readonly icon_hint: Gio.Icon
1792
1726
  readonly iconHint: Gio.Icon
1793
1727
  readonly data: GLib.Variant
1794
1728
 
1795
1729
  // Owm methods of Unity-7.0.Unity.InfoHint
1796
1730
 
1797
- get_id(): string | null
1798
- get_display_name(): string | null
1731
+ get_id(): string
1732
+ get_display_name(): string
1799
1733
  get_icon_hint(): Gio.Icon | null
1800
1734
  get_data(): GLib.Variant
1801
1735
 
@@ -1806,7 +1740,7 @@ export interface InfoHint {
1806
1740
  * @param key name of the key for that association
1807
1741
  * @returns the data if found, or %NULL if no such data exists.
1808
1742
  */
1809
- get_data(key: string | null): any | null
1743
+ get_data(key: string): any | null
1810
1744
 
1811
1745
  // Class property signals of Unity-7.0.Unity.InfoHint
1812
1746
 
@@ -1838,9 +1772,9 @@ export class InfoHint extends GObject.InitiallyUnowned {
1838
1772
  // Constructors of Unity-7.0.Unity.InfoHint
1839
1773
 
1840
1774
  constructor(config?: InfoHint.ConstructorProperties)
1841
- constructor(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, data: string | null)
1842
- static new(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, data: string | null): InfoHint
1843
- static with_variant(id: string | null, display_name: string | null, icon_hint: Gio.Icon | null, data: GLib.Variant): InfoHint
1775
+ constructor(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string)
1776
+ static new(id: string, display_name: string, icon_hint: Gio.Icon | null, data: string): InfoHint
1777
+ static with_variant(id: string, display_name: string, icon_hint: Gio.Icon | null, data: GLib.Variant): InfoHint
1844
1778
  _init(config?: InfoHint.ConstructorProperties): void
1845
1779
  }
1846
1780
 
@@ -1888,8 +1822,8 @@ export class GenericPreview extends Preview {
1888
1822
  // Constructors of Unity-7.0.Unity.GenericPreview
1889
1823
 
1890
1824
  constructor(config?: GenericPreview.ConstructorProperties)
1891
- constructor(title: string | null, description: string | null, image?: Gio.Icon | null)
1892
- static new(title: string | null, description: string | null, image?: Gio.Icon | null): GenericPreview
1825
+ constructor(title: string, description: string, image?: Gio.Icon | null)
1826
+ static new(title: string, description: string, image?: Gio.Icon | null): GenericPreview
1893
1827
  _init(config?: GenericPreview.ConstructorProperties): void
1894
1828
  }
1895
1829
 
@@ -1901,11 +1835,9 @@ export module ApplicationPreview {
1901
1835
 
1902
1836
  // Own constructor properties of Unity-7.0.Unity.ApplicationPreview
1903
1837
 
1904
- app_icon?: Gio.Icon | null
1838
+ appIcon?: Gio.Icon | null
1905
1839
  license?: string | null
1906
1840
  copyright?: string | null
1907
- last_update?: string | null
1908
- appIcon?: Gio.Icon | null
1909
1841
  lastUpdate?: string | null
1910
1842
  }
1911
1843
 
@@ -1915,11 +1847,9 @@ export interface ApplicationPreview {
1915
1847
 
1916
1848
  // Own properties of Unity-7.0.Unity.ApplicationPreview
1917
1849
 
1918
- app_icon: Gio.Icon
1919
1850
  appIcon: Gio.Icon
1920
1851
  license: string | null
1921
1852
  copyright: string | null
1922
- last_update: string | null
1923
1853
  lastUpdate: string | null
1924
1854
 
1925
1855
  // Owm methods of Unity-7.0.Unity.ApplicationPreview
@@ -1927,12 +1857,12 @@ export interface ApplicationPreview {
1927
1857
  set_rating(rating: number, num_ratings: number): void
1928
1858
  get_app_icon(): Gio.Icon
1929
1859
  set_app_icon(value: Gio.Icon): void
1930
- get_license(): string | null
1931
- set_license(value: string | null): void
1932
- get_copyright(): string | null
1933
- set_copyright(value: string | null): void
1934
- get_last_update(): string | null
1935
- set_last_update(value: string | null): void
1860
+ get_license(): string
1861
+ set_license(value: string): void
1862
+ get_copyright(): string
1863
+ set_copyright(value: string): void
1864
+ get_last_update(): string
1865
+ set_last_update(value: string): void
1936
1866
 
1937
1867
  // Class property signals of Unity-7.0.Unity.ApplicationPreview
1938
1868
 
@@ -1979,8 +1909,8 @@ export class ApplicationPreview extends Preview {
1979
1909
  // Constructors of Unity-7.0.Unity.ApplicationPreview
1980
1910
 
1981
1911
  constructor(config?: ApplicationPreview.ConstructorProperties)
1982
- constructor(title: string | null, subtitle: string | null, description: string | null, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null)
1983
- static new(title: string | null, subtitle: string | null, description: string | null, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null): ApplicationPreview
1912
+ constructor(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null)
1913
+ static new(title: string, subtitle: string, description: string, icon?: Gio.Icon | null, screenshot?: Gio.Icon | null): ApplicationPreview
1984
1914
  _init(config?: ApplicationPreview.ConstructorProperties): void
1985
1915
  }
1986
1916
 
@@ -2032,8 +1962,8 @@ export class MusicPreview extends Preview {
2032
1962
  // Constructors of Unity-7.0.Unity.MusicPreview
2033
1963
 
2034
1964
  constructor(config?: MusicPreview.ConstructorProperties)
2035
- constructor(title: string | null, subtitle: string | null, image?: Gio.Icon | null)
2036
- static new(title: string | null, subtitle: string | null, image?: Gio.Icon | null): MusicPreview
1965
+ constructor(title: string, subtitle: string, image?: Gio.Icon | null)
1966
+ static new(title: string, subtitle: string, image?: Gio.Icon | null): MusicPreview
2037
1967
  _init(config?: MusicPreview.ConstructorProperties): void
2038
1968
  }
2039
1969
 
@@ -2047,10 +1977,6 @@ export module PaymentPreview {
2047
1977
 
2048
1978
  header?: string | null
2049
1979
  email?: string | null
2050
- payment_method?: string | null
2051
- purchase_prize?: string | null
2052
- purchase_type?: string | null
2053
- preview_type?: PaymentPreviewType | null
2054
1980
  paymentMethod?: string | null
2055
1981
  purchasePrize?: string | null
2056
1982
  purchaseType?: string | null
@@ -2065,27 +1991,23 @@ export interface PaymentPreview {
2065
1991
 
2066
1992
  header: string | null
2067
1993
  email: string | null
2068
- payment_method: string | null
2069
1994
  paymentMethod: string | null
2070
- purchase_prize: string | null
2071
1995
  purchasePrize: string | null
2072
- purchase_type: string | null
2073
1996
  purchaseType: string | null
2074
- preview_type: PaymentPreviewType
2075
1997
  previewType: PaymentPreviewType
2076
1998
 
2077
1999
  // Owm methods of Unity-7.0.Unity.PaymentPreview
2078
2000
 
2079
- get_header(): string | null
2080
- set_header(value: string | null): void
2081
- get_email(): string | null
2082
- set_email(value: string | null): void
2083
- get_payment_method(): string | null
2084
- set_payment_method(value: string | null): void
2085
- get_purchase_prize(): string | null
2086
- set_purchase_prize(value: string | null): void
2087
- get_purchase_type(): string | null
2088
- set_purchase_type(value: string | null): void
2001
+ get_header(): string
2002
+ set_header(value: string): void
2003
+ get_email(): string
2004
+ set_email(value: string): void
2005
+ get_payment_method(): string
2006
+ set_payment_method(value: string): void
2007
+ get_purchase_prize(): string
2008
+ set_purchase_prize(value: string): void
2009
+ get_purchase_type(): string
2010
+ set_purchase_type(value: string): void
2089
2011
  get_preview_type(): PaymentPreviewType
2090
2012
  set_preview_type(value: PaymentPreviewType): void
2091
2013
 
@@ -2140,12 +2062,12 @@ export class PaymentPreview extends Preview {
2140
2062
  // Constructors of Unity-7.0.Unity.PaymentPreview
2141
2063
 
2142
2064
  constructor(config?: PaymentPreview.ConstructorProperties)
2143
- constructor(title: string | null, subtitle: string | null, image?: Gio.Icon | null)
2144
- static new(title: string | null, subtitle: string | null, image?: Gio.Icon | null): PaymentPreview
2145
- static for_type(title: string | null, subtitle: string | null, image: Gio.Icon | null, type: PaymentPreviewType): PaymentPreview
2146
- static for_application(title: string | null, subtitle: string | null, image?: Gio.Icon | null): PaymentPreview
2147
- static for_music(title: string | null, subtitle: string | null, image?: Gio.Icon | null): PaymentPreview
2148
- static for_error(title: string | null, subtitle: string | null, image?: Gio.Icon | null): PaymentPreview
2065
+ constructor(title: string, subtitle: string, image?: Gio.Icon | null)
2066
+ static new(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
2067
+ static for_type(title: string, subtitle: string, image: Gio.Icon | null, type: PaymentPreviewType): PaymentPreview
2068
+ static for_application(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
2069
+ static for_music(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
2070
+ static for_error(title: string, subtitle: string, image?: Gio.Icon | null): PaymentPreview
2149
2071
  _init(config?: PaymentPreview.ConstructorProperties): void
2150
2072
  }
2151
2073
 
@@ -2171,8 +2093,8 @@ export interface MoviePreview {
2171
2093
  // Owm methods of Unity-7.0.Unity.MoviePreview
2172
2094
 
2173
2095
  set_rating(rating: number, num_ratings: number): void
2174
- get_year(): string | null
2175
- set_year(value: string | null): void
2096
+ get_year(): string
2097
+ set_year(value: string): void
2176
2098
 
2177
2099
  // Class property signals of Unity-7.0.Unity.MoviePreview
2178
2100
 
@@ -2210,8 +2132,8 @@ export class MoviePreview extends Preview {
2210
2132
  // Constructors of Unity-7.0.Unity.MoviePreview
2211
2133
 
2212
2134
  constructor(config?: MoviePreview.ConstructorProperties)
2213
- constructor(title: string | null, subtitle: string | null, description: string | null, image?: Gio.Icon | null)
2214
- static new(title: string | null, subtitle: string | null, description: string | null, image?: Gio.Icon | null): MoviePreview
2135
+ constructor(title: string, subtitle: string, description: string, image?: Gio.Icon | null)
2136
+ static new(title: string, subtitle: string, description: string, image?: Gio.Icon | null): MoviePreview
2215
2137
  _init(config?: MoviePreview.ConstructorProperties): void
2216
2138
  }
2217
2139
 
@@ -2243,10 +2165,10 @@ export interface SocialPreview {
2243
2165
  add_comment(comment: SocialPreviewComment): void
2244
2166
  get_avatar(): Gio.Icon
2245
2167
  set_avatar(value: Gio.Icon): void
2246
- get_content(): string | null
2247
- set_content(value: string | null): void
2248
- get_sender(): string | null
2249
- set_sender(value: string | null): void
2168
+ get_content(): string
2169
+ set_content(value: string): void
2170
+ get_sender(): string
2171
+ set_sender(value: string): void
2250
2172
 
2251
2173
  // Class property signals of Unity-7.0.Unity.SocialPreview
2252
2174
 
@@ -2290,8 +2212,8 @@ export class SocialPreview extends Preview {
2290
2212
  // Constructors of Unity-7.0.Unity.SocialPreview
2291
2213
 
2292
2214
  constructor(config?: SocialPreview.ConstructorProperties)
2293
- constructor(sender: string | null, subtitle: string | null, content: string | null, avatar?: Gio.Icon | null)
2294
- static new(sender: string | null, subtitle: string | null, content: string | null, avatar?: Gio.Icon | null): SocialPreview
2215
+ constructor(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null)
2216
+ static new(sender: string, subtitle: string, content: string, avatar?: Gio.Icon | null): SocialPreview
2295
2217
  _init(config?: SocialPreview.ConstructorProperties): void
2296
2218
  }
2297
2219
 
@@ -2322,10 +2244,10 @@ export interface SocialPreviewComment {
2322
2244
 
2323
2245
  // Owm methods of Unity-7.0.Unity.SocialPreviewComment
2324
2246
 
2325
- get_id(): string | null
2326
- get_name(): string | null
2327
- get_text(): string | null
2328
- get_time(): string | null
2247
+ get_id(): string
2248
+ get_name(): string
2249
+ get_text(): string
2250
+ get_time(): string
2329
2251
 
2330
2252
  // Class property signals of Unity-7.0.Unity.SocialPreviewComment
2331
2253
 
@@ -2357,8 +2279,8 @@ export class SocialPreviewComment extends GObject.InitiallyUnowned {
2357
2279
  // Constructors of Unity-7.0.Unity.SocialPreviewComment
2358
2280
 
2359
2281
  constructor(config?: SocialPreviewComment.ConstructorProperties)
2360
- constructor(id: string | null, name: string | null, text: string | null, time: string | null)
2361
- static new(id: string | null, name: string | null, text: string | null, time: string | null): SocialPreviewComment
2282
+ constructor(id: string, name: string, text: string, time: string)
2283
+ static new(id: string, name: string, text: string, time: string): SocialPreviewComment
2362
2284
  _init(config?: SocialPreviewComment.ConstructorProperties): void
2363
2285
  }
2364
2286
 
@@ -2371,7 +2293,6 @@ export module ActivationResponse {
2371
2293
  // Own constructor properties of Unity-7.0.Unity.ActivationResponse
2372
2294
 
2373
2295
  handled?: HandledType | null
2374
- goto_uri?: string | null
2375
2296
  gotoUri?: string | null
2376
2297
  }
2377
2298
 
@@ -2382,14 +2303,13 @@ export interface ActivationResponse {
2382
2303
  // Own properties of Unity-7.0.Unity.ActivationResponse
2383
2304
 
2384
2305
  readonly handled: HandledType
2385
- goto_uri: string | null
2386
2306
  gotoUri: string | null
2387
2307
 
2388
2308
  // Owm methods of Unity-7.0.Unity.ActivationResponse
2389
2309
 
2390
2310
  get_handled(): HandledType
2391
- get_goto_uri(): string | null
2392
- set_goto_uri(value: string | null): void
2311
+ get_goto_uri(): string
2312
+ set_goto_uri(value: string): void
2393
2313
 
2394
2314
  // Class property signals of Unity-7.0.Unity.ActivationResponse
2395
2315
 
@@ -2415,9 +2335,9 @@ export class ActivationResponse extends GObject.Object {
2415
2335
  // Constructors of Unity-7.0.Unity.ActivationResponse
2416
2336
 
2417
2337
  constructor(config?: ActivationResponse.ConstructorProperties)
2418
- constructor(handled: HandledType, goto_uri: string | null)
2419
- static new(handled: HandledType, goto_uri: string | null): ActivationResponse
2420
- static with_search(search_string: string | null, filter_set?: FilterSet | null, search_metadata?: SearchMetadata | null): ActivationResponse
2338
+ constructor(handled: HandledType, goto_uri: string)
2339
+ static new(handled: HandledType, goto_uri: string): ActivationResponse
2340
+ static with_search(search_string: string, filter_set?: FilterSet | null, search_metadata?: SearchMetadata | null): ActivationResponse
2421
2341
  static with_preview(preview: Preview): ActivationResponse
2422
2342
  _init(config?: ActivationResponse.ConstructorProperties): void
2423
2343
  }
@@ -2430,15 +2350,11 @@ export module AggregatorActivation {
2430
2350
 
2431
2351
  // Own constructor properties of Unity-7.0.Unity.AggregatorActivation
2432
2352
 
2433
- channel_id?: string | null
2434
- scope_id?: string | null
2435
- action_type?: number | null
2436
- scope_result?: ScopeResult | null
2437
- hints?: GLib.HashTable | null
2438
2353
  channelId?: string | null
2439
2354
  scopeId?: string | null
2440
2355
  actionType?: number | null
2441
2356
  scopeResult?: ScopeResult | null
2357
+ hints?: GLib.HashTable | null
2442
2358
  }
2443
2359
 
2444
2360
  }
@@ -2447,22 +2363,18 @@ export interface AggregatorActivation {
2447
2363
 
2448
2364
  // Own properties of Unity-7.0.Unity.AggregatorActivation
2449
2365
 
2450
- channel_id: string | null
2451
2366
  channelId: string | null
2452
- scope_id: string | null
2453
2367
  scopeId: string | null
2454
- action_type: number
2455
2368
  actionType: number
2456
- scope_result: ScopeResult
2457
2369
  scopeResult: ScopeResult
2458
2370
  hints: GLib.HashTable
2459
2371
 
2460
2372
  // Owm methods of Unity-7.0.Unity.AggregatorActivation
2461
2373
 
2462
- get_channel_id(): string | null
2463
- set_channel_id(value: string | null): void
2464
- get_scope_id(): string | null
2465
- set_scope_id(value: string | null): void
2374
+ get_channel_id(): string
2375
+ set_channel_id(value: string): void
2376
+ get_scope_id(): string
2377
+ set_scope_id(value: string): void
2466
2378
  get_action_type(): number
2467
2379
  set_action_type(value: number): void
2468
2380
  get_scope_result(): ScopeResult | null
@@ -2502,8 +2414,8 @@ export class AggregatorActivation extends GObject.Object {
2502
2414
  // Constructors of Unity-7.0.Unity.AggregatorActivation
2503
2415
 
2504
2416
  constructor(config?: AggregatorActivation.ConstructorProperties)
2505
- constructor(channel_id: string | null, scope_id: string | null, action_type: number, result?: ScopeResult | null)
2506
- static new(channel_id: string | null, scope_id: string | null, action_type: number, result?: ScopeResult | null): AggregatorActivation
2417
+ constructor(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null)
2418
+ static new(channel_id: string, scope_id: string, action_type: number, result?: ScopeResult | null): AggregatorActivation
2507
2419
  _init(config?: AggregatorActivation.ConstructorProperties): void
2508
2420
  }
2509
2421
 
@@ -2521,13 +2433,13 @@ export interface FilterSet {
2521
2433
  // Owm methods of Unity-7.0.Unity.FilterSet
2522
2434
 
2523
2435
  add(filter: Filter): void
2524
- get_filter_by_id(filter_id: string | null): Filter | null
2436
+ get_filter_by_id(filter_id: string): Filter | null
2525
2437
  get_filters(): Filter[]
2526
2438
 
2527
2439
  // Own virtual methods of Unity-7.0.Unity.FilterSet
2528
2440
 
2529
2441
  vfunc_add(filter: Filter): void
2530
- vfunc_get_filter_by_id(filter_id: string | null): Filter | null
2442
+ vfunc_get_filter_by_id(filter_id: string): Filter | null
2531
2443
  vfunc_get_filters(): Filter[]
2532
2444
 
2533
2445
  // Class property signals of Unity-7.0.Unity.FilterSet
@@ -2610,12 +2522,12 @@ export interface Schema {
2610
2522
 
2611
2523
  // Owm methods of Unity-7.0.Unity.Schema
2612
2524
 
2613
- add_field(name: string | null, schema: string | null, type: SchemaFieldType): void
2525
+ add_field(name: string, schema: string, type: SchemaFieldType): void
2614
2526
  get_fields(): SchemaFieldInfo[]
2615
2527
 
2616
2528
  // Own virtual methods of Unity-7.0.Unity.Schema
2617
2529
 
2618
- vfunc_add_field(name: string | null, schema: string | null, type: SchemaFieldType): void
2530
+ vfunc_add_field(name: string, schema: string, type: SchemaFieldType): void
2619
2531
  vfunc_get_fields(): SchemaFieldInfo[]
2620
2532
 
2621
2533
  // Class property signals of Unity-7.0.Unity.Schema
@@ -2886,7 +2798,6 @@ export interface SearchMetadata {
2886
2798
  // Own properties of Unity-7.0.Unity.SearchMetadata
2887
2799
 
2888
2800
  readonly locale: string | null
2889
- readonly form_factor: string | null
2890
2801
  readonly formFactor: string | null
2891
2802
  readonly location: GeoCoordinate
2892
2803
 
@@ -3007,7 +2918,7 @@ export interface AbstractScope {
3007
2918
  get_group_name(): string | null
3008
2919
  get_unique_name(): string | null
3009
2920
  activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
3010
- normalize_search_query(search_query: string | null): string | null
2921
+ normalize_search_query(search_query: string): string | null
3011
2922
  results_invalidated(search_type: SearchType): void
3012
2923
 
3013
2924
  // Own virtual methods of Unity-7.0.Unity.AbstractScope
@@ -3021,7 +2932,7 @@ export interface AbstractScope {
3021
2932
  vfunc_get_group_name(): string | null
3022
2933
  vfunc_get_unique_name(): string | null
3023
2934
  vfunc_activate(result: ScopeResult, metadata: SearchMetadata, action_id?: string | null): ActivationResponse | null
3024
- vfunc_normalize_search_query(search_query: string | null): string | null
2935
+ vfunc_normalize_search_query(search_query: string): string | null
3025
2936
 
3026
2937
  // Own signals of Unity-7.0.Unity.AbstractScope
3027
2938
 
@@ -3122,19 +3033,15 @@ export module DeprecatedScopeBase {
3122
3033
  // Own constructor properties of Unity-7.0.Unity.DeprecatedScopeBase
3123
3034
 
3124
3035
  id?: string | null
3125
- dbus_path?: string | null
3126
- search_in_global?: boolean | null
3036
+ dbusPath?: string | null
3037
+ searchInGlobal?: boolean | null
3127
3038
  visible?: boolean | null
3128
- is_master?: boolean | null
3129
- search_hint?: string | null
3039
+ isMaster?: boolean | null
3040
+ searchHint?: string | null
3130
3041
  sources?: OptionsFilter | null
3131
3042
  categories?: CategorySet | null
3132
3043
  filters?: FilterSet | null
3133
3044
  schema?: Schema | null
3134
- dbusPath?: string | null
3135
- searchInGlobal?: boolean | null
3136
- isMaster?: boolean | null
3137
- searchHint?: string | null
3138
3045
  }
3139
3046
 
3140
3047
  }
@@ -3144,14 +3051,10 @@ export interface DeprecatedScopeBase {
3144
3051
  // Own properties of Unity-7.0.Unity.DeprecatedScopeBase
3145
3052
 
3146
3053
  readonly id: string | null
3147
- readonly dbus_path: string | null
3148
3054
  readonly dbusPath: string | null
3149
- search_in_global: boolean
3150
3055
  searchInGlobal: boolean
3151
3056
  visible: boolean
3152
- readonly is_master: boolean
3153
3057
  readonly isMaster: boolean
3154
- search_hint: string | null
3155
3058
  searchHint: string | null
3156
3059
  sources: OptionsFilter
3157
3060
  categories: CategorySet
@@ -3162,15 +3065,15 @@ export interface DeprecatedScopeBase {
3162
3065
 
3163
3066
  export(): void
3164
3067
  unexport(): void
3165
- get_id(): string | null
3166
- get_dbus_path(): string | null
3068
+ get_id(): string
3069
+ get_dbus_path(): string
3167
3070
  get_search_in_global(): boolean
3168
3071
  set_search_in_global(value: boolean): void
3169
3072
  get_visible(): boolean
3170
3073
  set_visible(value: boolean): void
3171
3074
  get_is_master(): boolean
3172
- get_search_hint(): string | null
3173
- set_search_hint(value: string | null): void
3075
+ get_search_hint(): string
3076
+ set_search_hint(value: string): void
3174
3077
  get_sources(): OptionsFilter
3175
3078
  get_categories(): CategorySet
3176
3079
  set_categories(value: CategorySet): void
@@ -3244,14 +3147,14 @@ export module DeprecatedScope {
3244
3147
  * Signal callback interface for `activate-uri`
3245
3148
  */
3246
3149
  export interface ActivateUriSignalCallback {
3247
- ($obj: DeprecatedScope, uri: string | null): ActivationResponse | null
3150
+ ($obj: DeprecatedScope, uri: string): ActivationResponse | null
3248
3151
  }
3249
3152
 
3250
3153
  /**
3251
3154
  * Signal callback interface for `preview-uri`
3252
3155
  */
3253
3156
  export interface PreviewUriSignalCallback {
3254
- ($obj: DeprecatedScope, uri: string | null): Preview | null
3157
+ ($obj: DeprecatedScope, uri: string): Preview | null
3255
3158
  }
3256
3159
 
3257
3160
  /**
@@ -3297,10 +3200,10 @@ export interface DeprecatedScope {
3297
3200
 
3298
3201
  connect(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
3299
3202
  connect_after(sigName: "activate-uri", callback: DeprecatedScope.ActivateUriSignalCallback): number
3300
- emit(sigName: "activate-uri", uri: string | null, ...args: any[]): void
3203
+ emit(sigName: "activate-uri", uri: string, ...args: any[]): void
3301
3204
  connect(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
3302
3205
  connect_after(sigName: "preview-uri", callback: DeprecatedScope.PreviewUriSignalCallback): number
3303
- emit(sigName: "preview-uri", uri: string | null, ...args: any[]): void
3206
+ emit(sigName: "preview-uri", uri: string, ...args: any[]): void
3304
3207
  connect(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
3305
3208
  connect_after(sigName: "generate-search-key", callback: DeprecatedScope.GenerateSearchKeySignalCallback): number
3306
3209
  emit(sigName: "generate-search-key", search: DeprecatedScopeSearch, ...args: any[]): void
@@ -3356,8 +3259,8 @@ export class DeprecatedScope extends DeprecatedScopeBase {
3356
3259
  // Constructors of Unity-7.0.Unity.DeprecatedScope
3357
3260
 
3358
3261
  constructor(config?: DeprecatedScope.ConstructorProperties)
3359
- constructor(dbus_path_: string | null, id_: string | null)
3360
- static new(dbus_path_: string | null, id_: string | null): DeprecatedScope
3262
+ constructor(dbus_path_: string, id_: string)
3263
+ static new(dbus_path_: string, id_: string): DeprecatedScope
3361
3264
  _init(config?: DeprecatedScope.ConstructorProperties): void
3362
3265
  }
3363
3266
 
@@ -3369,9 +3272,6 @@ export module AggregatorScope {
3369
3272
 
3370
3273
  // Own constructor properties of Unity-7.0.Unity.AggregatorScope
3371
3274
 
3372
- merge_mode?: AggregatorScopeMergeMode | null
3373
- proxy_filter_hints?: boolean | null
3374
- automatic_flushing?: boolean | null
3375
3275
  mergeMode?: AggregatorScopeMergeMode | null
3376
3276
  proxyFilterHints?: boolean | null
3377
3277
  automaticFlushing?: boolean | null
@@ -3383,18 +3283,15 @@ export interface AggregatorScope {
3383
3283
 
3384
3284
  // Own properties of Unity-7.0.Unity.AggregatorScope
3385
3285
 
3386
- merge_mode: AggregatorScopeMergeMode
3387
3286
  mergeMode: AggregatorScopeMergeMode
3388
- proxy_filter_hints: boolean
3389
3287
  proxyFilterHints: boolean
3390
- automatic_flushing: boolean
3391
3288
  automaticFlushing: boolean
3392
3289
 
3393
3290
  // Owm methods of Unity-7.0.Unity.AggregatorScope
3394
3291
 
3395
- category_index_for_scope_id(scope_id: string | null): number
3396
- add_sorter(category_index: number, field: string | null, flags: AggregatorScopeSortFlags): void
3397
- add_constraint(category_index: number, field: string | null): void
3292
+ category_index_for_scope_id(scope_id: string): number
3293
+ add_sorter(category_index: number, field: string, flags: AggregatorScopeSortFlags): void
3294
+ add_constraint(category_index: number, field: string): void
3398
3295
  search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
3399
3296
  search_finish(_res_: Gio.AsyncResult): void
3400
3297
  activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
@@ -3408,7 +3305,7 @@ export interface AggregatorScope {
3408
3305
 
3409
3306
  // Own virtual methods of Unity-7.0.Unity.AggregatorScope
3410
3307
 
3411
- vfunc_category_index_for_scope_id(scope_id: string | null): number
3308
+ vfunc_category_index_for_scope_id(scope_id: string): number
3412
3309
  vfunc_search(scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback<this> | null): void
3413
3310
  vfunc_search_finish(_res_: Gio.AsyncResult): void
3414
3311
  vfunc_activate(activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback<this> | null): void
@@ -3482,7 +3379,6 @@ export module MasterScope {
3482
3379
 
3483
3380
  // Own constructor properties of Unity-7.0.Unity.MasterScope
3484
3381
 
3485
- no_content_hint?: string | null
3486
3382
  noContentHint?: string | null
3487
3383
  }
3488
3384
 
@@ -3492,13 +3388,12 @@ export interface MasterScope {
3492
3388
 
3493
3389
  // Own properties of Unity-7.0.Unity.MasterScope
3494
3390
 
3495
- no_content_hint: string | null
3496
3391
  noContentHint: string | null
3497
3392
 
3498
3393
  // Owm methods of Unity-7.0.Unity.MasterScope
3499
3394
 
3500
- get_no_content_hint(): string | null
3501
- set_no_content_hint(value: string | null): void
3395
+ get_no_content_hint(): string
3396
+ set_no_content_hint(value: string): void
3502
3397
 
3503
3398
  // Class property signals of Unity-7.0.Unity.MasterScope
3504
3399
 
@@ -3560,8 +3455,8 @@ export class MasterScope extends AggregatorScope {
3560
3455
  // Constructors of Unity-7.0.Unity.MasterScope
3561
3456
 
3562
3457
  constructor(config?: MasterScope.ConstructorProperties)
3563
- constructor(dbus_path_: string | null, id_: string | null)
3564
- static new(dbus_path_: string | null, id_: string | null): MasterScope
3458
+ constructor(dbus_path_: string, id_: string)
3459
+ static new(dbus_path_: string, id_: string): MasterScope
3565
3460
  _init(config?: MasterScope.ConstructorProperties): void
3566
3461
  }
3567
3462
 
@@ -3573,14 +3468,9 @@ export module SimpleScope {
3573
3468
 
3574
3469
  // Own constructor properties of Unity-7.0.Unity.SimpleScope
3575
3470
 
3576
- filter_set?: FilterSet | null
3577
- category_set?: CategorySet | null
3578
- schema?: Schema | null
3579
- search_hint?: string | null
3580
- group_name?: string | null
3581
- unique_name?: string | null
3582
3471
  filterSet?: FilterSet | null
3583
3472
  categorySet?: CategorySet | null
3473
+ schema?: Schema | null
3584
3474
  searchHint?: string | null
3585
3475
  groupName?: string | null
3586
3476
  uniqueName?: string | null
@@ -3592,16 +3482,11 @@ export interface SimpleScope {
3592
3482
 
3593
3483
  // Own properties of Unity-7.0.Unity.SimpleScope
3594
3484
 
3595
- filter_set: FilterSet
3596
3485
  filterSet: FilterSet
3597
- category_set: CategorySet
3598
3486
  categorySet: CategorySet
3599
3487
  schema: Schema
3600
- search_hint: string | null
3601
3488
  searchHint: string | null
3602
- group_name: string | null
3603
3489
  groupName: string | null
3604
- unique_name: string | null
3605
3490
  uniqueName: string | null
3606
3491
 
3607
3492
  // Owm methods of Unity-7.0.Unity.SimpleScope
@@ -3617,12 +3502,24 @@ export interface SimpleScope {
3617
3502
  set_category_set(value: CategorySet): void
3618
3503
  get_schema(): Schema
3619
3504
  set_schema(value: Schema): void
3505
+ get_search_hint(): string
3506
+
3507
+ // Overloads of get_search_hint
3508
+
3620
3509
  get_search_hint(): string | null
3621
- set_search_hint(value: string | null): void
3510
+ set_search_hint(value: string): void
3511
+ get_group_name(): string
3512
+
3513
+ // Overloads of get_group_name
3514
+
3622
3515
  get_group_name(): string | null
3623
- set_group_name(value: string | null): void
3516
+ set_group_name(value: string): void
3517
+ get_unique_name(): string
3518
+
3519
+ // Overloads of get_unique_name
3520
+
3624
3521
  get_unique_name(): string | null
3625
- set_unique_name(value: string | null): void
3522
+ set_unique_name(value: string): void
3626
3523
 
3627
3524
  // Class property signals of Unity-7.0.Unity.SimpleScope
3628
3525
 
@@ -3678,15 +3575,15 @@ export interface ScopeLoader {
3678
3575
 
3679
3576
  // Owm methods of Unity-7.0.Unity.ScopeLoader
3680
3577
 
3681
- get_scopes(module_name: string | null, module_type?: string | null): AbstractScope[]
3578
+ get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
3682
3579
  export_scopes(scopes: AbstractScope[]): void
3683
- load_group(group_name: string | null): void
3684
- load_scope(scope_id: string | null): void
3685
- load_module(module: string | null, module_type?: string | null): void
3580
+ load_group(group_name: string): void
3581
+ load_scope(scope_id: string): void
3582
+ load_module(module: string, module_type?: string | null): void
3686
3583
 
3687
3584
  // Own virtual methods of Unity-7.0.Unity.ScopeLoader
3688
3585
 
3689
- vfunc_get_scopes(module_name: string | null, module_type?: string | null): AbstractScope[]
3586
+ vfunc_get_scopes(module_name: string, module_type?: string | null): AbstractScope[]
3690
3587
  vfunc_export_scopes(scopes: AbstractScope[]): void
3691
3588
 
3692
3589
  // Class property signals of Unity-7.0.Unity.ScopeLoader
@@ -3721,14 +3618,11 @@ export module TrackMetadata {
3721
3618
  // Own constructor properties of Unity-7.0.Unity.TrackMetadata
3722
3619
 
3723
3620
  uri?: string | null
3724
- track_no?: number | null
3621
+ trackNo?: number | null
3725
3622
  artist?: string | null
3726
3623
  title?: string | null
3727
3624
  album?: string | null
3728
3625
  length?: number | null
3729
- art_location?: Gio.File | null
3730
- art_icon?: Gio.Icon | null
3731
- trackNo?: number | null
3732
3626
  artLocation?: Gio.File | null
3733
3627
  artIcon?: Gio.Icon | null
3734
3628
  }
@@ -3740,29 +3634,26 @@ export interface TrackMetadata {
3740
3634
  // Own properties of Unity-7.0.Unity.TrackMetadata
3741
3635
 
3742
3636
  uri: string | null
3743
- track_no: number
3744
3637
  trackNo: number
3745
3638
  artist: string | null
3746
3639
  title: string | null
3747
3640
  album: string | null
3748
3641
  length: number
3749
- art_location: Gio.File
3750
3642
  artLocation: Gio.File
3751
- art_icon: Gio.Icon
3752
3643
  artIcon: Gio.Icon
3753
3644
 
3754
3645
  // Owm methods of Unity-7.0.Unity.TrackMetadata
3755
3646
 
3756
- get_uri(): string | null
3757
- set_uri(value: string | null): void
3647
+ get_uri(): string
3648
+ set_uri(value: string): void
3758
3649
  get_track_no(): number
3759
3650
  set_track_no(value: number): void
3760
- get_artist(): string | null
3761
- set_artist(value: string | null): void
3762
- get_title(): string | null
3763
- set_title(value: string | null): void
3764
- get_album(): string | null
3765
- set_album(value: string | null): void
3651
+ get_artist(): string
3652
+ set_artist(value: string): void
3653
+ get_title(): string
3654
+ set_title(value: string): void
3655
+ get_album(): string
3656
+ set_album(value: string): void
3766
3657
  get_length(): number
3767
3658
  set_length(value: number): void
3768
3659
  get_art_location(): Gio.File
@@ -3814,7 +3705,7 @@ export class TrackMetadata extends GObject.Object {
3814
3705
  constructor(config?: TrackMetadata.ConstructorProperties)
3815
3706
  constructor()
3816
3707
  static new(): TrackMetadata
3817
- static full(uri: string | null, track_no: number, title: string | null, artist: string | null, album: string | null, length: number): TrackMetadata
3708
+ static full(uri: string, track_no: number, title: string, artist: string, album: string, length: number): TrackMetadata
3818
3709
  _init(config?: TrackMetadata.ConstructorProperties): void
3819
3710
  }
3820
3711
 
@@ -3829,9 +3720,6 @@ export module Playlist {
3829
3720
  id?: string | null
3830
3721
  name?: string | null
3831
3722
  icon?: Gio.Icon | null
3832
- creation_date?: GLib.DateTime | null
3833
- modification_date?: GLib.DateTime | null
3834
- last_play_date?: GLib.DateTime | null
3835
3723
  creationDate?: GLib.DateTime | null
3836
3724
  modificationDate?: GLib.DateTime | null
3837
3725
  lastPlayDate?: GLib.DateTime | null
@@ -3846,18 +3734,15 @@ export interface Playlist {
3846
3734
  readonly id: string | null
3847
3735
  name: string | null
3848
3736
  icon: Gio.Icon
3849
- creation_date: GLib.DateTime
3850
3737
  creationDate: GLib.DateTime
3851
- modification_date: GLib.DateTime
3852
3738
  modificationDate: GLib.DateTime
3853
- last_play_date: GLib.DateTime
3854
3739
  lastPlayDate: GLib.DateTime
3855
3740
 
3856
3741
  // Owm methods of Unity-7.0.Unity.Playlist
3857
3742
 
3858
- get_id(): string | null
3859
- get_name(): string | null
3860
- set_name(value: string | null): void
3743
+ get_id(): string
3744
+ get_name(): string
3745
+ set_name(value: string): void
3861
3746
  get_icon(): Gio.Icon
3862
3747
  set_icon(value: Gio.Icon): void
3863
3748
  get_creation_date(): GLib.DateTime
@@ -3903,8 +3788,8 @@ export class Playlist extends GObject.Object {
3903
3788
  // Constructors of Unity-7.0.Unity.Playlist
3904
3789
 
3905
3790
  constructor(config?: Playlist.ConstructorProperties)
3906
- constructor(id: string | null)
3907
- static new(id: string | null): Playlist
3791
+ constructor(id: string)
3792
+ static new(id: string): Playlist
3908
3793
  _init(config?: Playlist.ConstructorProperties): void
3909
3794
  }
3910
3795
 
@@ -3954,22 +3839,10 @@ export module MusicPlayer {
3954
3839
 
3955
3840
  // Own constructor properties of Unity-7.0.Unity.MusicPlayer
3956
3841
 
3957
- app_info?: Gio.AppInfo | null
3958
- desktop_file_name?: string | null
3959
- is_blacklisted?: boolean | null
3960
- title?: string | null
3961
- can_go_next?: boolean | null
3962
- can_go_previous?: boolean | null
3963
- can_play?: boolean | null
3964
- can_pause?: boolean | null
3965
- current_track?: TrackMetadata | null
3966
- playback_state?: PlaybackState | null
3967
- current_playlist?: Playlist | null
3968
- track_menu?: Dbusmenu.Menuitem | null
3969
- player_menu?: Dbusmenu.Menuitem | null
3970
3842
  appInfo?: Gio.AppInfo | null
3971
3843
  desktopFileName?: string | null
3972
3844
  isBlacklisted?: boolean | null
3845
+ title?: string | null
3973
3846
  canGoNext?: boolean | null
3974
3847
  canGoPrevious?: boolean | null
3975
3848
  canPlay?: boolean | null
@@ -3987,30 +3860,18 @@ export interface MusicPlayer {
3987
3860
 
3988
3861
  // Own properties of Unity-7.0.Unity.MusicPlayer
3989
3862
 
3990
- readonly app_info: Gio.AppInfo
3991
3863
  readonly appInfo: Gio.AppInfo
3992
- readonly desktop_file_name: string | null
3993
3864
  readonly desktopFileName: string | null
3994
- is_blacklisted: boolean
3995
3865
  isBlacklisted: boolean
3996
3866
  title: string | null
3997
- can_go_next: boolean
3998
3867
  canGoNext: boolean
3999
- can_go_previous: boolean
4000
3868
  canGoPrevious: boolean
4001
- can_play: boolean
4002
3869
  canPlay: boolean
4003
- can_pause: boolean
4004
3870
  canPause: boolean
4005
- current_track: TrackMetadata
4006
3871
  currentTrack: TrackMetadata
4007
- playback_state: PlaybackState
4008
3872
  playbackState: PlaybackState
4009
- current_playlist: Playlist
4010
3873
  currentPlaylist: Playlist
4011
- track_menu: Dbusmenu.Menuitem
4012
3874
  trackMenu: Dbusmenu.Menuitem
4013
- player_menu: Dbusmenu.Menuitem
4014
3875
  playerMenu: Dbusmenu.Menuitem
4015
3876
 
4016
3877
  // Owm methods of Unity-7.0.Unity.MusicPlayer
@@ -4020,13 +3881,13 @@ export interface MusicPlayer {
4020
3881
  add_playlist(p: Playlist): boolean
4021
3882
  remove_playlist(p: Playlist): boolean
4022
3883
  get_playlists(): Playlist[]
4023
- edit_playlist_name(id: string | null, name: string | null): void
3884
+ edit_playlist_name(id: string, name: string): void
4024
3885
  get_app_info(): Gio.AppInfo
4025
- get_desktop_file_name(): string | null
3886
+ get_desktop_file_name(): string
4026
3887
  get_is_blacklisted(): boolean
4027
3888
  set_is_blacklisted(value: boolean): void
4028
- get_title(): string | null
4029
- set_title(value: string | null): void
3889
+ get_title(): string
3890
+ set_title(value: string): void
4030
3891
  get_can_go_next(): boolean
4031
3892
  set_can_go_next(value: boolean): void
4032
3893
  get_can_go_previous(): boolean
@@ -4121,8 +3982,8 @@ export class MusicPlayer extends GObject.Object {
4121
3982
  // Constructors of Unity-7.0.Unity.MusicPlayer
4122
3983
 
4123
3984
  constructor(config?: MusicPlayer.ConstructorProperties)
4124
- constructor(desktop: string | null)
4125
- static new(desktop: string | null): MusicPlayer
3985
+ constructor(desktop: string)
3986
+ static new(desktop: string): MusicPlayer
4126
3987
  _init(config?: MusicPlayer.ConstructorProperties): void
4127
3988
  }
4128
3989
 
@@ -4764,7 +4625,7 @@ export interface FilterSetClass {
4764
4625
  // Own fields of Unity-7.0.Unity.FilterSetClass
4765
4626
 
4766
4627
  add: (self: FilterSet, filter: Filter) => void
4767
- get_filter_by_id: (self: FilterSet, filter_id: string | null) => Filter | null
4628
+ get_filter_by_id: (self: FilterSet, filter_id: string) => Filter | null
4768
4629
  get_filters: (self: FilterSet) => Filter[]
4769
4630
  }
4770
4631
 
@@ -4814,7 +4675,7 @@ export interface SchemaClass {
4814
4675
 
4815
4676
  // Own fields of Unity-7.0.Unity.SchemaClass
4816
4677
 
4817
- add_field: (self: Schema, name: string | null, schema: string | null, type: SchemaFieldType) => void
4678
+ add_field: (self: Schema, name: string, schema: string, type: SchemaFieldType) => void
4818
4679
  get_fields: (self: Schema) => SchemaFieldInfo[]
4819
4680
  }
4820
4681
 
@@ -5031,7 +4892,7 @@ export interface AbstractScopeClass {
5031
4892
  get_group_name: (self: AbstractScope) => string | null
5032
4893
  get_unique_name: (self: AbstractScope) => string | null
5033
4894
  activate: (self: AbstractScope, result: ScopeResult, metadata: SearchMetadata, action_id?: string | null) => ActivationResponse | null
5034
- normalize_search_query: (self: AbstractScope, search_query: string | null) => string | null
4895
+ normalize_search_query: (self: AbstractScope, search_query: string) => string | null
5035
4896
  }
5036
4897
 
5037
4898
  export abstract class AbstractScopeClass {
@@ -5126,7 +4987,7 @@ export interface AggregatorScopeClass {
5126
4987
 
5127
4988
  // Own fields of Unity-7.0.Unity.AggregatorScopeClass
5128
4989
 
5129
- category_index_for_scope_id: (self: AggregatorScope, scope_id: string | null) => number
4990
+ category_index_for_scope_id: (self: AggregatorScope, scope_id: string) => number
5130
4991
  search: (self: AggregatorScope, scope_search: AggregatedScopeSearch, _callback_?: Gio.AsyncReadyCallback | null) => void
5131
4992
  search_finish: (self: AggregatorScope, _res_: Gio.AsyncResult) => void
5132
4993
  activate: (self: AggregatorScope, activation: AggregatorActivation, _callback_?: Gio.AsyncReadyCallback | null) => void
@@ -5194,7 +5055,7 @@ export interface ScopeLoaderClass {
5194
5055
 
5195
5056
  // Own fields of Unity-7.0.Unity.ScopeLoaderClass
5196
5057
 
5197
- get_scopes: (self: ScopeLoader, module_name: string | null, module_type?: string | null) => AbstractScope[]
5058
+ get_scopes: (self: ScopeLoader, module_name: string, module_type?: string | null) => AbstractScope[]
5198
5059
  export_scopes: (self: ScopeLoader, scopes: AbstractScope[]) => void
5199
5060
  }
5200
5061
 
@@ -5298,7 +5159,7 @@ export class ScopeResult {
5298
5159
 
5299
5160
  // Constructors of Unity-7.0.Unity.ScopeResult
5300
5161
 
5301
- static create(uri: string | null, icon_hint: string | null, category: number, result_type: ResultType, mimetype: string | null, title: string | null, comment: string | null, dnd_uri: string | null, metadata: GLib.HashTable): ScopeResult | null
5162
+ 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
5302
5163
  static create_from_variant(variant: GLib.Variant): ScopeResult | null
5303
5164
  }
5304
5165
 
@@ -5326,7 +5187,7 @@ export class SearchContext {
5326
5187
 
5327
5188
  // Constructors of Unity-7.0.Unity.SearchContext
5328
5189
 
5329
- static create(search_query: string | null, search_type: SearchType, filter_state: FilterSet | null, metadata: GLib.HashTable | null, result_set: ResultSet, cancellable?: Cancellable | null): SearchContext | null
5190
+ static create(search_query: string, search_type: SearchType, filter_state: FilterSet | null, metadata: GLib.HashTable | null, result_set: ResultSet, cancellable?: Cancellable | null): SearchContext | null
5330
5191
  }
5331
5192
 
5332
5193
  export interface PlaylistDetails {