Skip to content

Commit e36c78a

Browse files
committed
chore: regenerate metadata types
1 parent 2e5792a commit e36c78a

312 files changed

Lines changed: 499079 additions & 31931 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

metadata-generator/metadata/metadata.visionos-sim.arm64.h

Lines changed: 955 additions & 0 deletions
Large diffs are not rendered by default.
3.61 MB
Binary file not shown.

metadata-generator/metadata/metadata.visionos.arm64.h

Lines changed: 929 additions & 0 deletions
Large diffs are not rendered by default.
3.64 MB
Binary file not shown.

packages/ios-sim/types/ARKit.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,12 +1402,12 @@ declare class ARSCNView extends SCNView implements ARSessionProviding {
14021402

14031403
raycastQueryFromPointAllowingTargetAlignment(point: CGPoint, target: interop.Enum<typeof ARRaycastTarget>, alignment: interop.Enum<typeof ARRaycastTargetAlignment>): ARRaycastQuery;
14041404

1405-
// @ts-ignore MemberDecl.tsIgnore
1405+
setDelegate(delegate: SCNSceneRendererDelegate | null): void;
14061406
setDelegate(delegate: ARSCNViewDelegate | null): void;
14071407

14081408
setSession(session: ARSession): void;
14091409

1410-
// @ts-ignore MemberDecl.tsIgnore
1410+
setScene(scene: SCNScene | null): void;
14111411
setScene(scene: SCNScene): void;
14121412

14131413
setAutomaticallyUpdatesLighting(automaticallyUpdatesLighting: boolean): void;

packages/ios-sim/types/AVFoundation.d.ts

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3503,14 +3503,15 @@ declare class AVMediaDataStorage extends NSObject {
35033503
URL(): NSURL;
35043504
}
35053505

3506-
// @ts-ignore ClassDecl.tsIgnore
35073506
declare class AVFragmentedMovie extends AVMovie implements AVFragmentMinding {
35083507
readonly tracks: NSArray;
35093508

3510-
// @ts-ignore MemberDecl.tsIgnore
3509+
trackWithTrackID(trackID: number): AVMovieTrack;
3510+
trackWithTrackID(trackID: number): AVAssetTrack;
35113511
trackWithTrackID(trackID: number): AVFragmentedMovieTrack;
35123512

3513-
// @ts-ignore MemberDecl.tsIgnore
3513+
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVMovieTrack, p2: NSError) => void | null): void;
3514+
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVAssetTrack, p2: NSError) => void | null): void;
35143515
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVFragmentedMovieTrack, p2: NSError) => void | null): void;
35153516

35163517
tracksWithMediaType(mediaType: string): NSArray;
@@ -3737,11 +3738,10 @@ declare class AVPlayerVideoOutput extends NSObject {
37373738
declare class AVCaptureDeferredPhotoProxy extends AVCapturePhoto {
37383739
}
37393740

3740-
// @ts-ignore ClassDecl.tsIgnore
37413741
declare class AVCompositionTrack extends AVAssetTrack {
37423742
readonly segments: NSArray;
37433743

3744-
// @ts-ignore MemberDecl.tsIgnore
3744+
segmentForTrackTime(trackTime: CMTime): AVAssetTrackSegment;
37453745
segmentForTrackTime(trackTime: CMTime): AVCompositionTrackSegment;
37463746

37473747
readonly formatDescriptionReplacements: NSArray;
@@ -5609,10 +5609,12 @@ declare class AVMutableMovie extends AVMovie {
56095609

56105610
setMetadata(metadata: NSArray<interop.Object> | Array<interop.Object>): void;
56115611

5612-
// @ts-ignore MemberDecl.tsIgnore
5612+
trackWithTrackID(trackID: number): AVMovieTrack;
5613+
trackWithTrackID(trackID: number): AVAssetTrack;
56135614
trackWithTrackID(trackID: number): AVMutableMovieTrack;
56145615

5615-
// @ts-ignore MemberDecl.tsIgnore
5616+
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVMovieTrack, p2: NSError) => void | null): void;
5617+
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVAssetTrack, p2: NSError) => void | null): void;
56165618
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVMutableMovieTrack, p2: NSError) => void | null): void;
56175619

56185620
tracksWithMediaType(mediaType: string): NSArray;
@@ -5634,7 +5636,6 @@ declare class AVMutableMovie extends AVMovie {
56345636
unusedTrackID(): number;
56355637
}
56365638

5637-
// @ts-ignore ClassDecl.tsIgnore
56385639
declare class AVMovie extends AVAsset implements NSCopying, NSMutableCopying {
56395640
static movieTypes(): NSArray;
56405641

@@ -5664,10 +5665,10 @@ declare class AVMovie extends AVAsset implements NSCopying, NSMutableCopying {
56645665

56655666
isCompatibleWithFileType(fileType: string): boolean;
56665667

5667-
// @ts-ignore MemberDecl.tsIgnore
5668+
trackWithTrackID(trackID: number): AVAssetTrack;
56685669
trackWithTrackID(trackID: number): AVMovieTrack;
56695670

5670-
// @ts-ignore MemberDecl.tsIgnore
5671+
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVAssetTrack, p2: NSError) => void | null): void;
56715672
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVMovieTrack, p2: NSError) => void | null): void;
56725673

56735674
tracksWithMediaType(mediaType: string): NSArray;
@@ -5708,18 +5709,17 @@ declare class AVCompositionTrackSegment extends AVAssetTrackSegment {
57085709
isEmpty(): boolean;
57095710
}
57105711

5711-
// @ts-ignore ClassDecl.tsIgnore
57125712
declare class AVComposition extends AVAsset implements NSMutableCopying {
57135713
readonly tracks: NSArray;
57145714

57155715
readonly naturalSize: CGSize;
57165716

57175717
readonly URLAssetInitializationOptions: NSDictionary;
57185718

5719-
// @ts-ignore MemberDecl.tsIgnore
5719+
trackWithTrackID(trackID: number): AVAssetTrack;
57205720
trackWithTrackID(trackID: number): AVCompositionTrack;
57215721

5722-
// @ts-ignore MemberDecl.tsIgnore
5722+
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVAssetTrack, p2: NSError) => void | null): void;
57235723
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVCompositionTrack, p2: NSError) => void | null): void;
57245724

57255725
tracksWithMediaType(mediaType: string): NSArray;
@@ -6617,10 +6617,10 @@ declare class AVVideoCompositionInstruction extends NSObject implements NSSecure
66176617
declare class AVMutableVideoComposition extends AVVideoComposition {
66186618
static videoComposition(): AVMutableVideoComposition;
66196619

6620-
// @ts-ignore MemberDecl.tsIgnore
6620+
static videoCompositionWithPropertiesOfAsset(asset: AVAsset): AVVideoComposition;
66216621
static videoCompositionWithPropertiesOfAsset(asset: AVAsset): AVMutableVideoComposition;
66226622

6623-
// @ts-ignore MemberDecl.tsIgnore
6623+
static videoCompositionWithPropertiesOfAssetCompletionHandler(asset: AVAsset, completionHandler: (p1: AVVideoComposition, p2: NSError) => void | null): void;
66246624
static videoCompositionWithPropertiesOfAssetCompletionHandler(asset: AVAsset, completionHandler: (p1: AVMutableVideoComposition, p2: NSError) => void | null): void;
66256625

66266626
static videoCompositionWithPropertiesOfAssetPrototypeInstruction(asset: AVAsset, prototypeInstruction: AVVideoCompositionInstruction): AVMutableVideoComposition;
@@ -6698,10 +6698,10 @@ declare class AVMutableVideoComposition extends AVVideoComposition {
66986698

66996699
setPerFrameHDRDisplayMetadataPolicy(perFrameHDRDisplayMetadataPolicy: string): void;
67006700

6701-
// @ts-ignore MemberDecl.tsIgnore
6701+
static videoCompositionWithAssetApplyingCIFiltersWithHandler(asset: AVAsset, applier: (p1: AVAsynchronousCIImageFilteringRequest) => void): AVVideoComposition;
67026702
static videoCompositionWithAssetApplyingCIFiltersWithHandler(asset: AVAsset, applier: (p1: AVAsynchronousCIImageFilteringRequest) => void): AVMutableVideoComposition;
67036703

6704-
// @ts-ignore MemberDecl.tsIgnore
6704+
static videoCompositionWithAssetApplyingCIFiltersWithHandlerCompletionHandler(asset: AVAsset, applier: (p1: AVAsynchronousCIImageFilteringRequest) => void, completionHandler: (p1: AVVideoComposition, p2: NSError) => void | null): void;
67056705
static videoCompositionWithAssetApplyingCIFiltersWithHandlerCompletionHandler(asset: AVAsset, applier: (p1: AVAsynchronousCIImageFilteringRequest) => void, completionHandler: (p1: AVMutableVideoComposition, p2: NSError) => void | null): void;
67066706
}
67076707

@@ -7372,16 +7372,15 @@ declare class AVCaptureDevice extends NSObject {
73727372
isCameraLensSmudgeDetectionEnabled(): boolean;
73737373
}
73747374

7375-
// @ts-ignore ClassDecl.tsIgnore
73767375
declare class AVFragmentedAsset extends AVURLAsset implements AVFragmentMinding {
73777376
static fragmentedAssetWithURLOptions<This extends abstract new (...args: any) => any>(this: This, URL: NSURL, options: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object> | null): InstanceType<This>;
73787377

73797378
readonly tracks: NSArray;
73807379

7381-
// @ts-ignore MemberDecl.tsIgnore
7380+
trackWithTrackID(trackID: number): AVAssetTrack;
73827381
trackWithTrackID(trackID: number): AVFragmentedAssetTrack;
73837382

7384-
// @ts-ignore MemberDecl.tsIgnore
7383+
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVAssetTrack, p2: NSError) => void | null): void;
73857384
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVFragmentedAssetTrack, p2: NSError) => void | null): void;
73867385

73877386
tracksWithMediaType(mediaType: string): NSArray;
@@ -7626,10 +7625,12 @@ declare class AVMutableComposition extends AVComposition {
76267625

76277626
mutableTrackCompatibleWithTrack(track: AVAssetTrack): AVMutableCompositionTrack;
76287627

7629-
// @ts-ignore MemberDecl.tsIgnore
7628+
trackWithTrackID(trackID: number): AVCompositionTrack;
7629+
trackWithTrackID(trackID: number): AVAssetTrack;
76307630
trackWithTrackID(trackID: number): AVMutableCompositionTrack;
76317631

7632-
// @ts-ignore MemberDecl.tsIgnore
7632+
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVCompositionTrack, p2: NSError) => void | null): void;
7633+
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVAssetTrack, p2: NSError) => void | null): void;
76337634
loadTrackWithTrackIDCompletionHandler(trackID: number, completionHandler: (p1: AVMutableCompositionTrack, p2: NSError) => void | null): void;
76347635

76357636
tracksWithMediaType(mediaType: string): NSArray;

packages/ios-sim/types/BrowserEngineKit.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ declare class BEDragInteraction extends UIDragInteraction {
650650
// @ts-ignore MemberDecl.tsIgnore
651651
readonly delegate: BEDragInteractionDelegate;
652652

653-
// @ts-ignore MemberDecl.tsIgnore
653+
initWithDelegate(delegate: UIDragInteractionDelegate): this;
654654
initWithDelegate(delegate: BEDragInteractionDelegate): this;
655655
}
656656

@@ -747,7 +747,7 @@ declare class BEScrollView extends UIScrollView {
747747
// @ts-ignore MemberDecl.tsIgnore
748748
delegate: BEScrollViewDelegate;
749749

750-
// @ts-ignore MemberDecl.tsIgnore
750+
setDelegate(delegate: UIScrollViewDelegate | null): void;
751751
setDelegate(delegate: BEScrollViewDelegate | null): void;
752752
}
753753

packages/ios-sim/types/CarPlay.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2316,7 +2316,7 @@ declare class CPTemplateApplicationScene extends UIScene {
23162316

23172317
readonly contentStyle: interop.Enum<typeof UIUserInterfaceStyle>;
23182318

2319-
// @ts-ignore MemberDecl.tsIgnore
2319+
setDelegate(delegate: UISceneDelegate | null): void;
23202320
setDelegate(delegate: CPTemplateApplicationSceneDelegate | null): void;
23212321
}
23222322

@@ -2329,7 +2329,7 @@ declare class CPTemplateApplicationInstrumentClusterScene extends UIScene {
23292329

23302330
readonly contentStyle: interop.Enum<typeof UIUserInterfaceStyle>;
23312331

2332-
// @ts-ignore MemberDecl.tsIgnore
2332+
setDelegate(delegate: UISceneDelegate | null): void;
23332333
setDelegate(delegate: CPTemplateApplicationInstrumentClusterSceneDelegate | null): void;
23342334
}
23352335

@@ -2418,7 +2418,7 @@ declare class CPTemplateApplicationDashboardScene extends UIScene {
24182418

24192419
readonly dashboardWindow: UIWindow;
24202420

2421-
// @ts-ignore MemberDecl.tsIgnore
2421+
setDelegate(delegate: UISceneDelegate | null): void;
24222422
setDelegate(delegate: CPTemplateApplicationDashboardSceneDelegate | null): void;
24232423
}
24242424

packages/ios-sim/types/CloudKit.d.ts

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -801,15 +801,14 @@ declare class CKShareAccessRequester extends NSObject implements NSSecureCoding,
801801
copyWithZone(zone: interop.PointerConvertible): interop.Object;
802802
}
803803

804-
// @ts-ignore ClassDecl.tsIgnore
805804
declare class CKShare extends CKRecord implements NSSecureCoding, NSCopying {
806805
initWithRootRecord(rootRecord: CKRecord): this;
807806

808807
initWithRootRecordShareID(rootRecord: CKRecord, shareID: CKRecordID): this;
809808

810809
initWithRecordZoneID(recordZoneID: CKRecordZoneID): this;
811810

812-
// @ts-ignore MemberDecl.tsIgnore
811+
initWithCoder(coder: NSCoder): this;
813812
initWithCoder(aDecoder: NSCoder): this;
814813

815814
publicPermission: interop.Enum<typeof CKShareParticipantPermission>;
@@ -936,11 +935,10 @@ declare class CKNotification extends NSObject {
936935
readonly category: string;
937936
}
938937

939-
// @ts-ignore ClassDecl.tsIgnore
940938
declare class CKLocationSortDescriptor extends NSSortDescriptor implements NSSecureCoding {
941939
initWithKeyRelativeLocation(key: string, relativeLocation: CLLocation): this;
942940

943-
// @ts-ignore MemberDecl.tsIgnore
941+
initWithCoder(coder: NSCoder): this;
944942
initWithCoder(aDecoder: NSCoder): this;
945943

946944
readonly relativeLocation: CLLocation;
@@ -1114,13 +1112,12 @@ declare class CKNotificationInfo extends NSObject implements NSSecureCoding, NSC
11141112
copyWithZone(zone: interop.PointerConvertible): interop.Object;
11151113
}
11161114

1117-
// @ts-ignore ClassDecl.tsIgnore
11181115
declare class CKRecordZoneSubscription extends CKSubscription implements NSSecureCoding, NSCopying {
11191116
initWithZoneID(zoneID: CKRecordZoneID): this;
11201117

11211118
initWithZoneIDSubscriptionID(zoneID: CKRecordZoneID, subscriptionID: string): this;
11221119

1123-
// @ts-ignore MemberDecl.tsIgnore
1120+
initWithCoder(coder: NSCoder): this;
11241121
initWithCoder(aDecoder: NSCoder): this;
11251122

11261123
readonly zoneID: CKRecordZoneID;
@@ -1154,15 +1151,14 @@ declare class CKDiscoverAllUserIdentitiesOperation extends CKOperation {
11541151
setDiscoverAllUserIdentitiesCompletionBlock(discoverAllUserIdentitiesCompletionBlock: (p1: NSError) => void | null): void;
11551152
}
11561153

1157-
// @ts-ignore ClassDecl.tsIgnore
11581154
declare class CKDatabaseSubscription extends CKSubscription implements NSSecureCoding, NSCopying {
11591155
init(): this;
11601156

11611157
static new<This extends abstract new (...args: any) => any>(this: This): InstanceType<This>;
11621158

11631159
initWithSubscriptionID(subscriptionID: string): this;
11641160

1165-
// @ts-ignore MemberDecl.tsIgnore
1161+
initWithCoder(coder: NSCoder): this;
11661162
initWithCoder(aDecoder: NSCoder): this;
11671163

11681164
recordType: string;
@@ -1971,13 +1967,12 @@ declare class CKSyncEngineConfiguration extends NSObject {
19711967
setSubscriptionID(subscriptionID: string | null): void;
19721968
}
19731969

1974-
// @ts-ignore ClassDecl.tsIgnore
19751970
declare class CKQuerySubscription extends CKSubscription implements NSSecureCoding, NSCopying {
19761971
initWithRecordTypePredicateOptions(recordType: string, predicate: NSPredicate, querySubscriptionOptions: interop.Enum<typeof CKQuerySubscriptionOptions>): this;
19771972

19781973
initWithRecordTypePredicateSubscriptionIDOptions(recordType: string, predicate: NSPredicate, subscriptionID: string, querySubscriptionOptions: interop.Enum<typeof CKQuerySubscriptionOptions>): this;
19791974

1980-
// @ts-ignore MemberDecl.tsIgnore
1975+
initWithCoder(coder: NSCoder): this;
19811976
initWithCoder(aDecoder: NSCoder): this;
19821977

19831978
readonly recordType: string;

packages/ios-sim/types/CoreData.d.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,6 @@ declare class NSManagedObjectID extends NSObject implements NSCopying {
896896
copyWithZone(zone: interop.PointerConvertible): interop.Object;
897897
}
898898

899-
// @ts-ignore ClassDecl.tsIgnore
900899
declare class NSManagedObject extends NSObject {
901900
static readonly contextShouldIgnoreUnmodeledPropertyChanges: boolean;
902901

@@ -940,10 +939,10 @@ declare class NSManagedObject extends NSObject {
940939

941940
didChangeValueForKey(key: string): void;
942941

943-
// @ts-ignore MemberDecl.tsIgnore
942+
willChangeValueForKeyWithSetMutationUsingObjects(key: string, mutationKind: interop.Enum<typeof NSKeyValueSetMutationKind>, objects: NSSet): void;
944943
willChangeValueForKeyWithSetMutationUsingObjects(inKey: string, inMutationKind: interop.Enum<typeof NSKeyValueSetMutationKind>, inObjects: NSSet): void;
945944

946-
// @ts-ignore MemberDecl.tsIgnore
945+
didChangeValueForKeyWithSetMutationUsingObjects(key: string, mutationKind: interop.Enum<typeof NSKeyValueSetMutationKind>, objects: NSSet): void;
947946
didChangeValueForKeyWithSetMutationUsingObjects(inKey: string, inMutationKind: interop.Enum<typeof NSKeyValueSetMutationKind>, inObjects: NSSet): void;
948947

949948
awakeFromFetch(): void;
@@ -976,7 +975,7 @@ declare class NSManagedObject extends NSObject {
976975

977976
changedValuesForCurrentEvent(): NSDictionary;
978977

979-
// @ts-ignore MemberDecl.tsIgnore
978+
validateValueForKeyError(ioValue: interop.PointerConvertible, inKey: string, outError: interop.PointerConvertible): boolean;
980979
validateValueForKeyError(value: interop.PointerConvertible, key: string, error: interop.PointerConvertible): boolean;
981980

982981
validateForDelete(error: interop.PointerConvertible): boolean;
@@ -1203,9 +1202,8 @@ declare class NSPropertyDescription extends NSObject implements NSCoding, NSCopy
12031202
copyWithZone(zone: interop.PointerConvertible): interop.Object;
12041203
}
12051204

1206-
// @ts-ignore ClassDecl.tsIgnore
12071205
declare class NSAtomicStore extends NSPersistentStore {
1208-
// @ts-ignore MemberDecl.tsIgnore
1206+
initWithPersistentStoreCoordinatorConfigurationNameURLOptions(root: NSPersistentStoreCoordinator | null, name: string | null, url: NSURL, options: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object> | null): this;
12091207
initWithPersistentStoreCoordinatorConfigurationNameURLOptions(coordinator: NSPersistentStoreCoordinator | null, configurationName: string | null, url: NSURL, options: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object> | null): this;
12101208

12111209
load(error: interop.PointerConvertible): boolean;

0 commit comments

Comments
 (0)