objcjs-types 0.4.0 → 0.5.0
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/dist/AVFAudio/AVAudioApplication.d.ts +3 -3
- package/dist/AVFAudio/AVAudioConverter.d.ts +1 -1
- package/dist/AVFAudio/AVAudioEngine.d.ts +5 -5
- package/dist/AVFAudio/AVAudioInputNode.d.ts +3 -2
- package/dist/AVFAudio/AVAudioNode.d.ts +2 -2
- package/dist/AVFAudio/AVAudioPCMBuffer.d.ts +1 -1
- package/dist/AVFAudio/AVAudioPlayerNode.d.ts +8 -9
- package/dist/AVFAudio/AVAudioRoutingArbiter.d.ts +2 -2
- package/dist/AVFAudio/AVAudioSequencer.d.ts +1 -1
- package/dist/AVFAudio/AVAudioSession.d.ts +3 -2
- package/dist/AVFAudio/AVAudioSinkNode.d.ts +1 -1
- package/dist/AVFAudio/AVAudioSourceNode.d.ts +2 -2
- package/dist/AVFAudio/AVAudioUnit.d.ts +2 -1
- package/dist/AVFAudio/AVAudioUnitComponentManager.d.ts +2 -1
- package/dist/AVFAudio/AVMIDIPlayer.d.ts +1 -1
- package/dist/AVFAudio/AVMusicTrack.d.ts +1 -1
- package/dist/AVFAudio/AVSpeechSynthesisProviderAudioUnit.d.ts +2 -3
- package/dist/AVFAudio/AVSpeechSynthesizer.d.ts +4 -4
- package/dist/AVFoundation/AVAsset.d.ts +9 -8
- package/dist/AVFoundation/AVAssetExportSession.d.ts +5 -6
- package/dist/AVFoundation/AVAssetImageGenerator.d.ts +4 -2
- package/dist/AVFoundation/AVAssetPlaybackAssistant.d.ts +2 -2
- package/dist/AVFoundation/AVAssetTrack.d.ts +5 -5
- package/dist/AVFoundation/AVAssetWriter.d.ts +1 -1
- package/dist/AVFoundation/AVAssetWriterInput.d.ts +2 -2
- package/dist/AVFoundation/AVAsynchronousKeyValueLoading.d.ts +1 -1
- package/dist/AVFoundation/AVCaptionConversionValidator.d.ts +2 -2
- package/dist/AVFoundation/AVCaptureDeskViewApplication.d.ts +3 -3
- package/dist/AVFoundation/AVCaptureDevice.d.ts +8 -7
- package/dist/AVFoundation/AVCaptureIndexPicker.d.ts +2 -3
- package/dist/AVFoundation/AVCapturePhotoOutput.d.ts +2 -1
- package/dist/AVFoundation/AVCaptureSlider.d.ts +1 -2
- package/dist/AVFoundation/AVCaptureStillImageOutput.d.ts +5 -3
- package/dist/AVFoundation/AVCaptureSystemExposureBiasSlider.d.ts +1 -2
- package/dist/AVFoundation/AVCaptureSystemZoomSlider.d.ts +1 -2
- package/dist/AVFoundation/AVComposition.d.ts +3 -7
- package/dist/AVFoundation/AVContentKeyRequest.d.ts +1 -1
- package/dist/AVFoundation/AVContentKeySession.d.ts +4 -3
- package/dist/AVFoundation/AVError.d.ts +88 -0
- package/dist/AVFoundation/AVError.js +88 -0
- package/dist/AVFoundation/AVExternalStorageDevice.d.ts +1 -1
- package/dist/AVFoundation/AVFragmentedAsset.d.ts +3 -7
- package/dist/AVFoundation/AVFragmentedMovie.d.ts +3 -7
- package/dist/AVFoundation/AVMetadataItem.d.ts +3 -2
- package/dist/AVFoundation/AVMovie.d.ts +3 -6
- package/dist/AVFoundation/AVMutableComposition.d.ts +4 -7
- package/dist/AVFoundation/AVMutableMovie.d.ts +3 -6
- package/dist/AVFoundation/AVMutableVideoComposition.d.ts +4 -10
- package/dist/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate.d.ts +4 -5
- package/dist/AVFoundation/AVPlayer.d.ts +6 -6
- package/dist/AVFoundation/AVPlayerItem.d.ts +4 -4
- package/dist/AVFoundation/AVPlayerItemIntegratedTimeline.d.ts +4 -5
- package/dist/AVFoundation/AVQueuedSampleBufferRendering.d.ts +1 -1
- package/dist/AVFoundation/AVSampleBufferAudioRenderer.d.ts +1 -2
- package/dist/AVFoundation/AVSampleBufferDisplayLayer.d.ts +1 -1
- package/dist/AVFoundation/AVSampleBufferGenerator.d.ts +2 -1
- package/dist/AVFoundation/AVSampleBufferGeneratorBatch.d.ts +2 -2
- package/dist/AVFoundation/AVSampleBufferRenderSynchronizer.d.ts +3 -3
- package/dist/AVFoundation/AVSampleBufferVideoRenderer.d.ts +3 -2
- package/dist/AVFoundation/AVURLAsset.d.ts +2 -2
- package/dist/AVFoundation/AVVideoComposition.d.ts +6 -4
- package/dist/AVFoundation/index.d.ts +1 -0
- package/dist/AVFoundation/index.js +1 -0
- package/dist/AVKit/AVPictureInPictureControllerDelegate.d.ts +1 -2
- package/dist/AVKit/AVPictureInPictureSampleBufferPlaybackDelegate.d.ts +1 -2
- package/dist/AVKit/AVPlayerView.d.ts +2 -2
- package/dist/AVKit/AVPlayerViewDelegate.d.ts +1 -2
- package/dist/AVKit/AVPlayerViewPictureInPictureDelegate.d.ts +1 -2
- package/dist/AVRouting/AVCustomRoutingControllerDelegate.d.ts +1 -2
- package/dist/Accessibility/AXBrailleMapRenderer.d.ts +3 -3
- package/dist/Accessibility/AXCustomContentProvider.d.ts +2 -3
- package/dist/Accessibility/AXNumericDataAxisDescriptor.d.ts +4 -5
- package/dist/Accessibility/functions.d.ts +2 -2
- package/dist/Accessibility/functions.js +1 -1
- package/dist/AccessorySetupKit/ASAccessorySession.d.ts +12 -10
- package/dist/AccessorySetupKit/ASErrorCode.d.ts +15 -0
- package/dist/AccessorySetupKit/ASErrorCode.js +15 -0
- package/dist/AccessorySetupKit/index.d.ts +1 -0
- package/dist/AccessorySetupKit/index.js +1 -0
- package/dist/Accounts/ACAccountStore.d.ts +7 -6
- package/dist/AdServices/AAAttributionErrorCode.d.ts +6 -0
- package/dist/AdServices/AAAttributionErrorCode.js +6 -0
- package/dist/AdServices/index.d.ts +1 -0
- package/dist/AdServices/index.js +1 -0
- package/dist/AppKit/NSAccessibilityCustomAction.d.ts +3 -4
- package/dist/AppKit/NSAlert.d.ts +1 -1
- package/dist/AppKit/NSAnimationContext.d.ts +4 -5
- package/dist/AppKit/NSAppearance.d.ts +1 -2
- package/dist/AppKit/NSApplication.d.ts +3 -2
- package/dist/AppKit/NSApplicationDelegate.d.ts +1 -1
- package/dist/AppKit/NSButton.d.ts +3 -2
- package/dist/AppKit/NSCandidateListTouchBarItem.d.ts +3 -2
- package/dist/AppKit/NSCell.d.ts +3 -2
- package/dist/AppKit/NSCollectionLayoutGroup.d.ts +2 -2
- package/dist/AppKit/NSCollectionLayoutSection.d.ts +4 -3
- package/dist/AppKit/NSCollectionView.d.ts +1 -1
- package/dist/AppKit/NSCollectionViewCompositionalLayout.d.ts +3 -3
- package/dist/AppKit/NSCollectionViewDiffableDataSource.d.ts +6 -3
- package/dist/AppKit/NSColor.d.ts +2 -1
- package/dist/AppKit/NSColorSampler.d.ts +2 -2
- package/dist/AppKit/NSControlStateValue.d.ts +6 -0
- package/dist/AppKit/NSControlStateValue.js +6 -0
- package/dist/AppKit/NSCursor.d.ts +2 -2
- package/dist/AppKit/NSCursorFrameResizePosition.d.ts +11 -0
- package/dist/AppKit/NSCursorFrameResizePosition.js +11 -0
- package/dist/AppKit/NSCustomImageRep.d.ts +3 -2
- package/dist/AppKit/NSDocument.d.ts +20 -20
- package/dist/AppKit/NSDocumentController.d.ts +4 -4
- package/dist/AppKit/NSDraggingInfo.d.ts +2 -1
- package/dist/AppKit/NSDraggingItem.d.ts +2 -2
- package/dist/AppKit/NSDraggingSession.d.ts +2 -1
- package/dist/AppKit/NSEvent.d.ts +3 -3
- package/dist/AppKit/NSFilePromiseProviderDelegate.d.ts +2 -2
- package/dist/AppKit/NSFilePromiseReceiver.d.ts +2 -2
- package/dist/AppKit/NSFontAssetRequest.d.ts +2 -2
- package/dist/AppKit/NSImage.d.ts +1 -1
- package/dist/AppKit/NSLayoutManager.d.ts +2 -2
- package/dist/AppKit/NSMenu.d.ts +2 -2
- package/dist/AppKit/NSMenuItem.d.ts +3 -2
- package/dist/AppKit/NSModalResponse.d.ts +11 -0
- package/dist/AppKit/NSModalResponse.js +11 -0
- package/dist/AppKit/NSPDFPanel.d.ts +1 -2
- package/dist/AppKit/NSPageLayout.d.ts +2 -1
- package/dist/AppKit/NSPasteboard.d.ts +4 -3
- package/dist/AppKit/NSPasteboardItem.d.ts +5 -3
- package/dist/AppKit/NSPrintPanel.d.ts +2 -1
- package/dist/AppKit/NSSavePanel.d.ts +2 -2
- package/dist/AppKit/NSScrubber.d.ts +1 -1
- package/dist/AppKit/NSSharingService.d.ts +1 -2
- package/dist/AppKit/NSSliderAccessoryBehavior.d.ts +1 -1
- package/dist/AppKit/NSSpellChecker.d.ts +3 -3
- package/dist/AppKit/NSStepperTouchBarItem.d.ts +2 -1
- package/dist/AppKit/NSStoryboard.d.ts +3 -2
- package/dist/AppKit/NSStoryboardSegue.d.ts +1 -1
- package/dist/AppKit/NSSwitch.d.ts +3 -2
- package/dist/AppKit/NSTableView.d.ts +1 -1
- package/dist/AppKit/NSTableViewDiffableDataSource.d.ts +9 -6
- package/dist/AppKit/NSTableViewRowAction.d.ts +1 -2
- package/dist/AppKit/NSTextContentManager.d.ts +3 -3
- package/dist/AppKit/NSTextElementProvider.d.ts +4 -3
- package/dist/AppKit/NSTextInsertionIndicator.d.ts +2 -3
- package/dist/AppKit/NSTextLayoutManager.d.ts +5 -5
- package/dist/AppKit/NSTextSelectionDataSource.d.ts +4 -3
- package/dist/AppKit/NSTextStorageObserving.d.ts +1 -2
- package/dist/AppKit/NSToolbarItem.d.ts +3 -2
- package/dist/AppKit/NSToolbarItemVisibilityPriority.d.ts +7 -0
- package/dist/AppKit/NSToolbarItemVisibilityPriority.js +7 -0
- package/dist/AppKit/NSUserInterfaceItemSearching.d.ts +1 -1
- package/dist/AppKit/NSView.d.ts +1 -1
- package/dist/AppKit/NSViewController.d.ts +1 -1
- package/dist/AppKit/NSWindow.d.ts +7 -6
- package/dist/AppKit/NSWindowLevel.d.ts +13 -0
- package/dist/AppKit/NSWindowLevel.js +13 -0
- package/dist/AppKit/NSWorkspace.d.ts +12 -10
- package/dist/AppKit/NSWritingToolsCoordinatorAnimationParameters.d.ts +4 -5
- package/dist/AppKit/NSWritingToolsCoordinatorDelegate.d.ts +16 -14
- package/dist/AppKit/index.d.ts +5 -0
- package/dist/AppKit/index.js +5 -0
- package/dist/AppTrackingTransparency/ATTrackingManager.d.ts +1 -2
- package/dist/AudioToolbox/AUAudioUnit.d.ts +20 -19
- package/dist/AudioToolbox/AUMessageChannel.d.ts +2 -3
- package/dist/AudioToolbox/AUParameterNode.d.ts +14 -13
- package/dist/AudioToolbox/functions.d.ts +11 -11
- package/dist/AudioToolbox/functions.js +11 -11
- package/dist/AudioVideoBridging/AVB17221ACMPInterface.d.ts +2 -1
- package/dist/AudioVideoBridging/AVB17221AECPInterface.d.ts +3 -2
- package/dist/AuthenticationServices/ASAccountAuthenticationModificationExtensionContext.d.ts +2 -2
- package/dist/AuthenticationServices/ASAuthorizationAppleIDProvider.d.ts +3 -2
- package/dist/AuthenticationServices/ASAuthorizationError.d.ts +14 -0
- package/dist/AuthenticationServices/ASAuthorizationError.js +14 -0
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionAuthorizationRequest.d.ts +1 -2
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginConfiguration.d.ts +2 -1
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionLoginManager.d.ts +6 -4
- package/dist/AuthenticationServices/ASAuthorizationProviderExtensionRegistrationHandler.d.ts +8 -5
- package/dist/AuthenticationServices/ASAuthorizationPublicKeyCredentialParameters.d.ts +3 -2
- package/dist/AuthenticationServices/ASAuthorizationWebBrowserPublicKeyCredentialManager.d.ts +3 -3
- package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.d.ts +4 -0
- package/dist/AuthenticationServices/ASCOSEAlgorithmIdentifier.js +4 -0
- package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.d.ts +4 -0
- package/dist/AuthenticationServices/ASCOSEEllipticCurveIdentifier.js +4 -0
- package/dist/AuthenticationServices/ASCredentialIdentityStore.d.ts +11 -10
- package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.d.ts +6 -0
- package/dist/AuthenticationServices/ASCredentialIdentityStoreErrorCode.js +6 -0
- package/dist/AuthenticationServices/ASCredentialProviderExtensionContext.d.ts +6 -7
- package/dist/AuthenticationServices/ASExtensionErrorCode.d.ts +8 -0
- package/dist/AuthenticationServices/ASExtensionErrorCode.js +8 -0
- package/dist/AuthenticationServices/ASSettingsHelper.d.ts +4 -4
- package/dist/AuthenticationServices/ASWebAuthenticationSession.d.ts +3 -3
- package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.d.ts +6 -0
- package/dist/AuthenticationServices/ASWebAuthenticationSessionErrorCode.js +6 -0
- package/dist/AuthenticationServices/index.d.ts +6 -0
- package/dist/AuthenticationServices/index.js +6 -0
- package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.d.ts +8 -0
- package/dist/AutomaticAssessmentConfiguration/AEAssessmentErrorCode.js +8 -0
- package/dist/AutomaticAssessmentConfiguration/index.d.ts +1 -0
- package/dist/AutomaticAssessmentConfiguration/index.js +1 -0
- package/dist/BackgroundAssets/BAAssetPackManager.d.ts +9 -6
- package/dist/BackgroundAssets/BADownload.d.ts +2 -1
- package/dist/BackgroundAssets/BADownloadManager.d.ts +4 -3
- package/dist/BackgroundAssets/BADownloadManagerDelegate.d.ts +3 -2
- package/dist/BackgroundAssets/BADownloaderExtension.d.ts +3 -2
- package/dist/BackgroundAssets/BADownloaderPriority.d.ts +2 -0
- package/dist/BackgroundAssets/BADownloaderPriority.js +2 -0
- package/dist/BackgroundAssets/BAURLDownload.d.ts +3 -2
- package/dist/BackgroundAssets/index.d.ts +1 -0
- package/dist/BackgroundAssets/index.js +1 -0
- package/dist/BackgroundTasks/BGTask.d.ts +2 -3
- package/dist/BackgroundTasks/BGTaskScheduler.d.ts +4 -2
- package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.d.ts +7 -0
- package/dist/BackgroundTasks/BGTaskSchedulerErrorCode.js +7 -0
- package/dist/BackgroundTasks/index.d.ts +1 -0
- package/dist/BackgroundTasks/index.js +1 -0
- package/dist/BrowserEngineKit/BEDownloadMonitor.d.ts +5 -4
- package/dist/BrowserEngineKit/BELayerHierarchyHandle.d.ts +1 -1
- package/dist/BrowserEngineKit/BELayerHierarchyHostingTransactionCoordinator.d.ts +1 -1
- package/dist/BrowserEngineKit/BENetworkingProcess.d.ts +4 -3
- package/dist/BrowserEngineKit/BERenderingProcess.d.ts +4 -3
- package/dist/BrowserEngineKit/BEWebContentFilter.d.ts +4 -3
- package/dist/BrowserEngineKit/BEWebContentProcess.d.ts +4 -3
- package/dist/CallKit/CXCallController.d.ts +4 -4
- package/dist/CallKit/CXCallDirectoryExtensionContext.d.ts +1 -2
- package/dist/CallKit/CXCallDirectoryManager.d.ts +5 -4
- package/dist/CallKit/CXErrorCode.d.ts +7 -0
- package/dist/CallKit/CXErrorCode.js +7 -0
- package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.d.ts +12 -0
- package/dist/CallKit/CXErrorCodeCallDirectoryManagerError.js +12 -0
- package/dist/CallKit/CXErrorCodeIncomingCallError.d.ts +11 -0
- package/dist/CallKit/CXErrorCodeIncomingCallError.js +11 -0
- package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.d.ts +6 -0
- package/dist/CallKit/CXErrorCodeNotificationServiceExtensionError.js +6 -0
- package/dist/CallKit/CXErrorCodeRequestTransactionError.d.ts +12 -0
- package/dist/CallKit/CXErrorCodeRequestTransactionError.js +12 -0
- package/dist/CallKit/CXProvider.d.ts +3 -2
- package/dist/CallKit/index.d.ts +5 -0
- package/dist/CallKit/index.js +5 -0
- package/dist/Cinematic/CNAssetInfo.d.ts +3 -3
- package/dist/Cinematic/CNAssetSpatialAudioInfo.d.ts +3 -3
- package/dist/Cinematic/CNCinematicErrorCode.d.ts +10 -0
- package/dist/Cinematic/CNCinematicErrorCode.js +10 -0
- package/dist/Cinematic/CNRenderingSessionAttributes.d.ts +2 -2
- package/dist/Cinematic/CNScript.d.ts +2 -2
- package/dist/Cinematic/index.d.ts +1 -0
- package/dist/Cinematic/index.js +1 -0
- package/dist/ClassKit/CLSContext.d.ts +2 -1
- package/dist/ClassKit/CLSContextProvider.d.ts +2 -2
- package/dist/ClassKit/CLSDataStore.d.ts +5 -5
- package/dist/ClassKit/CLSErrorCode.d.ts +14 -0
- package/dist/ClassKit/CLSErrorCode.js +14 -0
- package/dist/ClassKit/index.d.ts +1 -0
- package/dist/ClassKit/index.js +1 -0
- package/dist/CloudKit/CKAcceptSharesOperation.d.ts +7 -5
- package/dist/CloudKit/CKContainer.d.ts +22 -16
- package/dist/CloudKit/CKDatabase.d.ts +14 -13
- package/dist/CloudKit/CKDiscoverAllUserIdentitiesOperation.d.ts +6 -5
- package/dist/CloudKit/CKDiscoverUserIdentitiesOperation.d.ts +7 -5
- package/dist/CloudKit/CKFetchDatabaseChangesOperation.d.ts +14 -13
- package/dist/CloudKit/CKFetchRecordChangesOperation.d.ts +10 -7
- package/dist/CloudKit/CKFetchRecordZoneChangesOperation.d.ts +19 -13
- package/dist/CloudKit/CKFetchRecordZonesOperation.d.ts +8 -5
- package/dist/CloudKit/CKFetchRecordsOperation.d.ts +10 -7
- package/dist/CloudKit/CKFetchShareMetadataOperation.d.ts +7 -5
- package/dist/CloudKit/CKFetchShareParticipantsOperation.d.ts +9 -7
- package/dist/CloudKit/CKFetchSubscriptionsOperation.d.ts +8 -5
- package/dist/CloudKit/CKFetchWebAuthTokenOperation.d.ts +3 -3
- package/dist/CloudKit/CKModifyRecordZonesOperation.d.ts +9 -7
- package/dist/CloudKit/CKModifyRecordsOperation.d.ts +13 -11
- package/dist/CloudKit/CKModifySubscriptionsOperation.d.ts +9 -7
- package/dist/CloudKit/CKOperation.d.ts +2 -3
- package/dist/CloudKit/CKQueryOperation.d.ts +9 -7
- package/dist/CloudKit/CKShareRequestAccessOperation.d.ts +6 -5
- package/dist/CloudKit/CKSyncEngine.d.ts +6 -6
- package/dist/CloudKit/CKSyncEngineRecordZoneChangeBatch.d.ts +3 -2
- package/dist/CloudKit/CKSystemSharingUIObserver.d.ts +7 -5
- package/dist/Collaboration/CBIdentityPicker.d.ts +1 -1
- package/dist/Contacts/CNContact.d.ts +1 -1
- package/dist/Contacts/CNContactStore.d.ts +3 -2
- package/dist/CoreAudio/functions.d.ts +3 -3
- package/dist/CoreAudio/functions.js +3 -3
- package/dist/CoreData/NSAsynchronousFetchRequest.d.ts +3 -3
- package/dist/CoreData/NSBatchInsertRequest.d.ts +12 -11
- package/dist/CoreData/NSCoreDataCoreSpotlightDelegate.d.ts +4 -4
- package/dist/CoreData/NSCustomMigrationStage.d.ts +5 -4
- package/dist/CoreData/NSManagedObjectContext.d.ts +2 -2
- package/dist/CoreData/NSPersistentCloudKitContainer.d.ts +8 -5
- package/dist/CoreData/NSPersistentContainer.d.ts +4 -3
- package/dist/CoreData/NSPersistentStoreCoordinator.d.ts +4 -3
- package/dist/CoreHaptics/CHHapticAdvancedPatternPlayer.d.ts +3 -2
- package/dist/CoreHaptics/CHHapticEngine.d.ts +10 -7
- package/dist/CoreHaptics/CHHapticErrorCode.d.ts +27 -0
- package/dist/CoreHaptics/CHHapticErrorCode.js +27 -0
- package/dist/CoreHaptics/index.d.ts +1 -0
- package/dist/CoreHaptics/index.js +1 -0
- package/dist/CoreImage/CIKernel.d.ts +1 -1
- package/dist/CoreImage/CIRenderDestination.d.ts +1 -1
- package/dist/CoreImage/CIWarpKernel.d.ts +1 -2
- package/dist/CoreLocation/CLBackgroundActivitySession.d.ts +2 -2
- package/dist/CoreLocation/CLGeocoder.d.ts +11 -9
- package/dist/CoreLocation/CLLocationManager.d.ts +6 -3
- package/dist/CoreLocation/CLLocationManagerDelegate.d.ts +2 -1
- package/dist/CoreLocation/CLLocationPushServiceError.d.ts +8 -0
- package/dist/CoreLocation/CLLocationPushServiceError.js +8 -0
- package/dist/CoreLocation/CLLocationPushServiceExtension.d.ts +1 -2
- package/dist/CoreLocation/CLLocationUpdater.d.ts +3 -3
- package/dist/CoreLocation/CLMonitor.d.ts +1 -2
- package/dist/CoreLocation/CLMonitorConfiguration.d.ts +4 -3
- package/dist/CoreLocation/CLRegionState.d.ts +6 -0
- package/dist/CoreLocation/CLRegionState.js +6 -0
- package/dist/CoreLocation/CLServiceSession.d.ts +3 -3
- package/dist/CoreLocation/index.d.ts +2 -0
- package/dist/CoreLocation/index.js +2 -0
- package/dist/CoreMIDI/MIDICIDiscoveryManager.d.ts +2 -2
- package/dist/CoreMIDI/MIDICISession.d.ts +6 -5
- package/dist/CoreMIDI/MIDIUMPMutableEndpoint.d.ts +1 -1
- package/dist/CoreMIDI/functions.d.ts +5 -5
- package/dist/CoreMIDI/functions.js +5 -5
- package/dist/CoreML/MLComputePlan.d.ts +3 -3
- package/dist/CoreML/MLModel.d.ts +7 -6
- package/dist/CoreML/MLModelAsset.d.ts +6 -3
- package/dist/CoreML/MLModelCollection.d.ts +3 -2
- package/dist/CoreML/MLModelStructure.d.ts +3 -3
- package/dist/CoreML/MLMultiArray.d.ts +3 -3
- package/dist/CoreML/MLState.d.ts +2 -2
- package/dist/CoreML/MLUpdateProgressHandlers.d.ts +2 -2
- package/dist/CoreML/MLUpdateTask.d.ts +3 -2
- package/dist/CoreMediaIO/CMIOExtensionStream.d.ts +2 -1
- package/dist/CoreMediaIO/functions.d.ts +2 -2
- package/dist/CoreMediaIO/functions.js +2 -2
- package/dist/CoreMotion/CMAltimeter.d.ts +5 -3
- package/dist/CoreMotion/CMBatchedSensorManager.d.ts +3 -3
- package/dist/CoreMotion/CMFallDetectionDelegate.d.ts +1 -2
- package/dist/CoreMotion/CMFallDetectionManager.d.ts +1 -2
- package/dist/CoreMotion/CMHeadphoneActivityManager.d.ts +5 -3
- package/dist/CoreMotion/CMHeadphoneMotionManager.d.ts +2 -2
- package/dist/CoreMotion/CMMotionActivityManager.d.ts +5 -3
- package/dist/CoreMotion/CMMotionManager.d.ts +7 -5
- package/dist/CoreMotion/CMMovementDisorderManager.d.ts +4 -3
- package/dist/CoreMotion/CMPedometer.d.ts +6 -4
- package/dist/CoreMotion/CMStepCounter.d.ts +3 -3
- package/dist/CoreSpotlight/CSSearchQuery.d.ts +5 -5
- package/dist/CoreSpotlight/CSSearchableIndex.d.ts +9 -9
- package/dist/CoreSpotlight/CSSearchableIndexDelegate.d.ts +3 -3
- package/dist/CoreSpotlight/CSUserQuery.d.ts +2 -3
- package/dist/CoreTelephony/CTCallCenter.d.ts +3 -2
- package/dist/CoreTelephony/CTCellularData.d.ts +2 -3
- package/dist/CoreTelephony/CTCellularPlanProvisioning.d.ts +5 -4
- package/dist/CoreTelephony/CTCellularPlanStatus.d.ts +3 -3
- package/dist/CoreTelephony/CTTelephonyNetworkInfo.d.ts +4 -5
- package/dist/CoreText/functions.d.ts +9 -9
- package/dist/CoreText/functions.js +9 -9
- package/dist/CryptoTokenKit/TKErrorCode.d.ts +15 -0
- package/dist/CryptoTokenKit/TKErrorCode.js +15 -0
- package/dist/CryptoTokenKit/TKSmartCard.d.ts +5 -4
- package/dist/CryptoTokenKit/TKSmartCardATR.d.ts +1 -2
- package/dist/CryptoTokenKit/TKSmartCardSlotManager.d.ts +4 -3
- package/dist/CryptoTokenKit/TKSmartCardUserInteraction.d.ts +2 -2
- package/dist/CryptoTokenKit/TKTokenWatcher.d.ts +3 -4
- package/dist/CryptoTokenKit/index.d.ts +1 -0
- package/dist/CryptoTokenKit/index.js +1 -0
- package/dist/DeviceCheck/DCAppAttestService.d.ts +4 -4
- package/dist/DeviceCheck/DCDevice.d.ts +3 -2
- package/dist/DeviceCheck/DCError.d.ts +8 -0
- package/dist/DeviceCheck/DCError.js +8 -0
- package/dist/DeviceCheck/index.d.ts +1 -0
- package/dist/DeviceCheck/index.js +1 -0
- package/dist/DeviceDiscoveryExtension/DDErrorCode.d.ts +12 -0
- package/dist/DeviceDiscoveryExtension/DDErrorCode.js +12 -0
- package/dist/DeviceDiscoveryExtension/index.d.ts +1 -0
- package/dist/DeviceDiscoveryExtension/index.js +1 -0
- package/dist/EventKit/EKEventStore.d.ts +7 -6
- package/dist/EventKit/EKVirtualConferenceProvider.d.ts +5 -3
- package/dist/ExecutionPolicy/EPDeveloperTool.d.ts +1 -2
- package/dist/ExecutionPolicy/EPError.d.ts +5 -0
- package/dist/ExecutionPolicy/EPError.js +5 -0
- package/dist/ExecutionPolicy/index.d.ts +1 -0
- package/dist/ExecutionPolicy/index.js +1 -0
- package/dist/ExternalAccessory/EAAccessoryManager.d.ts +2 -1
- package/dist/FSKit/FSBlockDeviceResource.d.ts +3 -2
- package/dist/FSKit/FSClient.d.ts +3 -2
- package/dist/FSKit/FSErrorCode.d.ts +10 -0
- package/dist/FSKit/FSErrorCode.js +10 -0
- package/dist/FSKit/FSFileSystemBase.d.ts +2 -2
- package/dist/FSKit/FSOperationID.d.ts +2 -0
- package/dist/FSKit/FSOperationID.js +2 -0
- package/dist/FSKit/FSTask.d.ts +2 -3
- package/dist/FSKit/FSUnaryFileSystemOperations.d.ts +6 -4
- package/dist/FSKit/FSVolumeAccessCheckOperations.d.ts +2 -2
- package/dist/FSKit/FSVolumeItemDeactivation.d.ts +2 -2
- package/dist/FSKit/FSVolumeKernelOffloadedIOOperations.d.ts +6 -5
- package/dist/FSKit/FSVolumeOpenCloseOperations.d.ts +3 -3
- package/dist/FSKit/FSVolumeOperations.d.ts +18 -17
- package/dist/FSKit/FSVolumePreallocateOperations.d.ts +2 -1
- package/dist/FSKit/FSVolumeReadWriteOperations.d.ts +3 -2
- package/dist/FSKit/FSVolumeRenameOperations.d.ts +2 -2
- package/dist/FSKit/FSVolumeXattrOperations.d.ts +4 -4
- package/dist/FSKit/index.d.ts +2 -0
- package/dist/FSKit/index.js +2 -0
- package/dist/FileProvider/NSFileProviderCustomAction.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderEnumerator.d.ts +1 -2
- package/dist/FileProvider/NSFileProviderErrorCode.d.ts +27 -0
- package/dist/FileProvider/NSFileProviderErrorCode.js +27 -0
- package/dist/FileProvider/NSFileProviderExtension.d.ts +14 -13
- package/dist/FileProvider/NSFileProviderExternalVolumeHandling.d.ts +2 -2
- package/dist/FileProvider/NSFileProviderIncrementalContentFetching.d.ts +3 -2
- package/dist/FileProvider/NSFileProviderKnownFolderSupporting.d.ts +3 -2
- package/dist/FileProvider/NSFileProviderManager.d.ts +25 -23
- package/dist/FileProvider/NSFileProviderPartialContentFetching.d.ts +5 -2
- package/dist/FileProvider/NSFileProviderReplicatedExtension.d.ts +9 -9
- package/dist/FileProvider/NSFileProviderServicing.d.ts +3 -2
- package/dist/FileProvider/NSFileProviderThumbnailing.d.ts +4 -2
- package/dist/FileProvider/index.d.ts +1 -0
- package/dist/FileProvider/index.js +1 -0
- package/dist/FinderSync/FIFinderSync.d.ts +3 -1
- package/dist/FinderSync/FIFinderSyncController.d.ts +3 -3
- package/dist/Foundation/NSArray.d.ts +13 -13
- package/dist/Foundation/NSAttributedString.d.ts +2 -2
- package/dist/Foundation/NSBackgroundActivityScheduler.d.ts +2 -2
- package/dist/Foundation/NSBlockOperation.d.ts +3 -3
- package/dist/Foundation/NSBundleResourceRequest.d.ts +3 -3
- package/dist/Foundation/NSCalendar.d.ts +1 -1
- package/dist/Foundation/NSData.d.ts +2 -2
- package/dist/Foundation/NSDictionary.d.ts +6 -6
- package/dist/Foundation/NSError.d.ts +2 -2
- package/dist/Foundation/NSExpression.d.ts +2 -2
- package/dist/Foundation/NSExtensionContext.d.ts +2 -3
- package/dist/Foundation/NSFileCoordinator.d.ts +7 -6
- package/dist/Foundation/NSFileHandle.d.ts +4 -4
- package/dist/Foundation/NSFileManager.d.ts +9 -7
- package/dist/Foundation/NSFilePresenter.d.ts +7 -7
- package/dist/Foundation/NSFileProviderService.d.ts +3 -2
- package/dist/Foundation/NSFileVersion.d.ts +2 -1
- package/dist/Foundation/NSHTTPCookieStorage.d.ts +1 -2
- package/dist/Foundation/NSIndexSet.d.ts +12 -12
- package/dist/Foundation/NSItemProvider.d.ts +15 -12
- package/dist/Foundation/NSItemProviderWriting.d.ts +3 -2
- package/dist/Foundation/NSLinguisticTagger.d.ts +3 -3
- package/dist/Foundation/NSMetadataQuery.d.ts +2 -2
- package/dist/Foundation/NSMutableArray.d.ts +2 -2
- package/dist/Foundation/NSMutableOrderedSet.d.ts +3 -3
- package/dist/Foundation/NSNotificationCenter.d.ts +1 -1
- package/dist/Foundation/NSOperation.d.ts +2 -3
- package/dist/Foundation/NSOperationQueue.d.ts +2 -3
- package/dist/Foundation/NSOrderedCollectionDifference.d.ts +2 -2
- package/dist/Foundation/NSOrderedSet.d.ts +13 -13
- package/dist/Foundation/NSPredicate.d.ts +1 -1
- package/dist/Foundation/NSProcessInfo.d.ts +2 -3
- package/dist/Foundation/NSProgress.d.ts +8 -8
- package/dist/Foundation/NSRegularExpression.d.ts +2 -1
- package/dist/Foundation/NSRunLoop.d.ts +2 -2
- package/dist/Foundation/NSSet.d.ts +4 -4
- package/dist/Foundation/NSSortDescriptor.d.ts +3 -3
- package/dist/Foundation/NSString.d.ts +6 -5
- package/dist/Foundation/NSTask.d.ts +3 -3
- package/dist/Foundation/NSThread.d.ts +2 -2
- package/dist/Foundation/NSTimer.d.ts +3 -3
- package/dist/Foundation/NSURLCache.d.ts +1 -2
- package/dist/Foundation/NSURLConnection.d.ts +3 -1
- package/dist/Foundation/NSURLCredentialStorage.d.ts +2 -3
- package/dist/Foundation/NSURLSession.d.ts +14 -13
- package/dist/Foundation/NSURLSessionDataDelegate.d.ts +3 -3
- package/dist/Foundation/NSURLSessionDelegate.d.ts +3 -2
- package/dist/Foundation/NSURLSessionDownloadTask.d.ts +2 -2
- package/dist/Foundation/NSURLSessionStreamTask.d.ts +3 -3
- package/dist/Foundation/NSURLSessionTaskDelegate.d.ts +9 -6
- package/dist/Foundation/NSURLSessionUploadTask.d.ts +2 -2
- package/dist/Foundation/NSURLSessionWebSocketTask.d.ts +4 -4
- package/dist/Foundation/NSUndoManager.d.ts +1 -1
- package/dist/Foundation/NSUserActivity.d.ts +6 -4
- package/dist/Foundation/NSUserAppleScriptTask.d.ts +2 -2
- package/dist/Foundation/NSUserAutomatorTask.d.ts +2 -1
- package/dist/Foundation/NSUserScriptTask.d.ts +2 -1
- package/dist/Foundation/NSUserUnixTask.d.ts +2 -2
- package/dist/Foundation/NSXPCConnection.d.ts +8 -7
- package/dist/Foundation/NSXPCProxyCreating.d.ts +3 -2
- package/dist/GLKit/GLKTextureLoader.d.ts +9 -8
- package/dist/GameController/GCAxis2DInput.d.ts +3 -3
- package/dist/GameController/GCAxisInput.d.ts +3 -3
- package/dist/GameController/GCController.d.ts +3 -3
- package/dist/GameController/GCControllerAxisInput.d.ts +2 -3
- package/dist/GameController/GCControllerButtonInput.d.ts +6 -7
- package/dist/GameController/GCControllerDirectionPad.d.ts +2 -3
- package/dist/GameController/GCControllerTouchpad.d.ts +6 -7
- package/dist/GameController/GCDevicePhysicalInput.d.ts +5 -5
- package/dist/GameController/GCExtendedGamepad.d.ts +3 -3
- package/dist/GameController/GCGamepad.d.ts +3 -3
- package/dist/GameController/GCKeyboardInput.d.ts +2 -2
- package/dist/GameController/GCLinearInput.d.ts +3 -3
- package/dist/GameController/GCMicroGamepad.d.ts +3 -3
- package/dist/GameController/GCMotion.d.ts +2 -3
- package/dist/GameController/GCMouseInput.d.ts +2 -3
- package/dist/GameController/GCPhysicalInputProfile.d.ts +2 -3
- package/dist/GameController/GCPressedStateInput.d.ts +3 -3
- package/dist/GameController/GCRelativeInput.d.ts +3 -3
- package/dist/GameController/GCSwitchPositionInput.d.ts +3 -3
- package/dist/GameController/GCTouchedStateInput.d.ts +3 -3
- package/dist/GameKit/GKAccessPoint.d.ts +13 -14
- package/dist/GameKit/GKAchievement.d.ts +11 -11
- package/dist/GameKit/GKAchievementDescription.d.ts +4 -3
- package/dist/GameKit/GKChallenge.d.ts +3 -2
- package/dist/GameKit/GKChallengeDefinition.d.ts +5 -4
- package/dist/GameKit/GKCloudPlayer.d.ts +2 -2
- package/dist/GameKit/GKGameActivity.d.ts +5 -3
- package/dist/GameKit/GKGameActivityDefinition.d.ts +7 -6
- package/dist/GameKit/GKGameActivityListener.d.ts +1 -2
- package/dist/GameKit/GKGameSession.d.ts +13 -12
- package/dist/GameKit/GKLeaderboard.d.ts +14 -12
- package/dist/GameKit/GKLeaderboardEntry.d.ts +2 -3
- package/dist/GameKit/GKLeaderboardSet.d.ts +7 -5
- package/dist/GameKit/GKLocalPlayer.d.ts +24 -20
- package/dist/GameKit/GKMatch.d.ts +5 -3
- package/dist/GameKit/GKMatchRequest.d.ts +6 -4
- package/dist/GameKit/GKMatchmaker.d.ts +17 -15
- package/dist/GameKit/GKMatchmakerViewControllerDelegate.d.ts +1 -1
- package/dist/GameKit/GKNotificationBanner.d.ts +2 -3
- package/dist/GameKit/GKPlayer.d.ts +4 -3
- package/dist/GameKit/GKSavedGame.d.ts +3 -2
- package/dist/GameKit/GKScore.d.ts +8 -8
- package/dist/GameKit/GKTurnBasedExchange.d.ts +3 -3
- package/dist/GameKit/GKTurnBasedMatch.d.ts +22 -21
- package/dist/GameKit/GKVoiceChat.d.ts +5 -5
- package/dist/GameSave/GSSyncedDirectory.d.ts +3 -4
- package/dist/GameplayKit/GKRule.d.ts +1 -2
- package/dist/HealthKit/HKActivitySummaryQuery.d.ts +5 -4
- package/dist/HealthKit/HKAnchoredObjectQuery.d.ts +6 -6
- package/dist/HealthKit/HKAttachmentStore.d.ts +8 -6
- package/dist/HealthKit/HKCorrelationQuery.d.ts +3 -2
- package/dist/HealthKit/HKDocumentQuery.d.ts +2 -2
- package/dist/HealthKit/HKElectrocardiogramQuery.d.ts +3 -2
- package/dist/HealthKit/HKHealthStore.d.ts +25 -22
- package/dist/HealthKit/HKHeartbeatSeriesBuilder.d.ts +5 -4
- package/dist/HealthKit/HKHeartbeatSeriesQuery.d.ts +2 -2
- package/dist/HealthKit/HKObserverQuery.d.ts +4 -3
- package/dist/HealthKit/HKQuantitySeriesSampleBuilder.d.ts +4 -2
- package/dist/HealthKit/HKQuantitySeriesSampleQuery.d.ts +6 -3
- package/dist/HealthKit/HKSampleQuery.d.ts +4 -4
- package/dist/HealthKit/HKSourceQuery.d.ts +3 -2
- package/dist/HealthKit/HKStatisticsCollection.d.ts +1 -1
- package/dist/HealthKit/HKStatisticsCollectionQuery.d.ts +7 -5
- package/dist/HealthKit/HKStatisticsQuery.d.ts +3 -2
- package/dist/HealthKit/HKUserAnnotatedMedicationQuery.d.ts +3 -2
- package/dist/HealthKit/HKVerifiableClinicalRecordQuery.d.ts +3 -3
- package/dist/HealthKit/HKWorkoutBuilder.d.ts +11 -10
- package/dist/HealthKit/HKWorkoutEffortRelationshipQuery.d.ts +3 -2
- package/dist/HealthKit/HKWorkoutRouteBuilder.d.ts +5 -4
- package/dist/HealthKit/HKWorkoutRouteQuery.d.ts +4 -3
- package/dist/HealthKit/HKWorkoutSession.d.ts +4 -3
- package/dist/IOUSBHost/IOUSBHostControllerInterface.d.ts +1 -1
- package/dist/IOUSBHost/IOUSBHostInterface.d.ts +1 -1
- package/dist/IOUSBHost/IOUSBHostObject.d.ts +5 -5
- package/dist/IOUSBHost/IOUSBHostPipe.d.ts +6 -6
- package/dist/IOUSBHost/IOUSBHostStream.d.ts +1 -1
- package/dist/IdentityLookup/ILMessageFilterCapabilitiesQueryHandling.d.ts +2 -2
- package/dist/IdentityLookup/ILMessageFilterError.d.ts +8 -0
- package/dist/IdentityLookup/ILMessageFilterError.js +8 -0
- package/dist/IdentityLookup/ILMessageFilterExtensionContext.d.ts +3 -2
- package/dist/IdentityLookup/ILMessageFilterQueryHandling.d.ts +2 -2
- package/dist/IdentityLookup/index.d.ts +1 -0
- package/dist/IdentityLookup/index.js +1 -0
- package/dist/ImageCaptureCore/ICCameraDevice.d.ts +5 -4
- package/dist/ImageCaptureCore/ICCameraFile.d.ts +8 -6
- package/dist/ImageCaptureCore/ICDevice.d.ts +4 -3
- package/dist/ImageCaptureCore/ICDeviceBrowser.d.ts +5 -4
- package/dist/ImageCaptureCore/ICLegacyReturnCode.d.ts +25 -0
- package/dist/ImageCaptureCore/ICLegacyReturnCode.js +25 -0
- package/dist/ImageCaptureCore/ICReturnCode.d.ts +43 -0
- package/dist/ImageCaptureCore/ICReturnCode.js +43 -0
- package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.d.ts +11 -0
- package/dist/ImageCaptureCore/ICReturnConnectionErrorCode.js +11 -0
- package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.d.ts +5 -0
- package/dist/ImageCaptureCore/ICReturnDownloadErrorCode.js +5 -0
- package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.d.ts +7 -0
- package/dist/ImageCaptureCore/ICReturnMetadataErrorCode.js +7 -0
- package/dist/ImageCaptureCore/ICReturnObjectErrorCode.d.ts +8 -0
- package/dist/ImageCaptureCore/ICReturnObjectErrorCode.js +8 -0
- package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.d.ts +5 -0
- package/dist/ImageCaptureCore/ICReturnPTPDeviceErrorCode.js +5 -0
- package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.d.ts +7 -0
- package/dist/ImageCaptureCore/ICReturnThumbnailErrorCode.js +7 -0
- package/dist/ImageCaptureCore/index.d.ts +8 -0
- package/dist/ImageCaptureCore/index.js +8 -0
- package/dist/Intents/INActivateCarSignalIntentHandling.d.ts +7 -5
- package/dist/Intents/INAddMediaIntentHandling.d.ts +7 -5
- package/dist/Intents/INAddTasksIntentHandling.d.ts +17 -10
- package/dist/Intents/INAnswerCallIntentHandling.d.ts +3 -3
- package/dist/Intents/INAppendToNoteIntentHandling.d.ts +7 -5
- package/dist/Intents/INBookRestaurantReservationIntentHandling.d.ts +13 -8
- package/dist/Intents/INCancelRideIntentHandling.d.ts +3 -3
- package/dist/Intents/INCancelWorkoutIntentHandling.d.ts +5 -4
- package/dist/Intents/INCreateNoteIntentHandling.d.ts +8 -6
- package/dist/Intents/INCreateTaskListIntentHandling.d.ts +8 -6
- package/dist/Intents/INDeleteTasksIntentHandling.d.ts +7 -5
- package/dist/Intents/INEditMessageIntentHandling.d.ts +5 -4
- package/dist/Intents/INEndWorkoutIntentHandling.d.ts +5 -4
- package/dist/Intents/INFocusStatusCenter.d.ts +1 -2
- package/dist/Intents/INGetAvailableRestaurantReservationBookingDefaultsIntentHandling.d.ts +5 -4
- package/dist/Intents/INGetAvailableRestaurantReservationBookingsIntentHandling.d.ts +9 -6
- package/dist/Intents/INGetCarLockStatusIntentHandling.d.ts +5 -4
- package/dist/Intents/INGetCarPowerLevelStatusIntentHandling.d.ts +5 -4
- package/dist/Intents/INGetRestaurantGuestIntentHandling.d.ts +3 -3
- package/dist/Intents/INGetRideStatusIntentHandling.d.ts +3 -3
- package/dist/Intents/INGetUserCurrentRestaurantReservationBookingsIntentHandling.d.ts +5 -4
- package/dist/Intents/INGetVisualCodeIntentHandling.d.ts +5 -4
- package/dist/Intents/INHangUpCallIntentHandling.d.ts +3 -3
- package/dist/Intents/INInteraction.d.ts +5 -4
- package/dist/Intents/INListCarsIntentHandling.d.ts +3 -3
- package/dist/Intents/INListRideOptionsIntentHandling.d.ts +6 -5
- package/dist/Intents/INPauseWorkoutIntentHandling.d.ts +5 -4
- package/dist/Intents/INPayBillIntentHandling.d.ts +16 -10
- package/dist/Intents/INPlayMediaIntentHandling.d.ts +14 -9
- package/dist/Intents/INPreferences.d.ts +1 -2
- package/dist/Intents/INRelevantShortcutStore.d.ts +2 -2
- package/dist/Intents/INRequestPaymentIntentHandling.d.ts +13 -8
- package/dist/Intents/INRequestRideIntentHandling.d.ts +12 -8
- package/dist/Intents/INResumeWorkoutIntentHandling.d.ts +5 -4
- package/dist/Intents/INSaveProfileInCarIntentHandling.d.ts +7 -5
- package/dist/Intents/INSearchCallHistoryIntentHandling.d.ts +13 -8
- package/dist/Intents/INSearchForAccountsIntentHandling.d.ts +10 -7
- package/dist/Intents/INSearchForBillsIntentHandling.d.ts +12 -8
- package/dist/Intents/INSearchForMediaIntentHandling.d.ts +5 -4
- package/dist/Intents/INSearchForMessagesIntentHandling.d.ts +12 -9
- package/dist/Intents/INSearchForNotebookItemsIntentHandling.d.ts +23 -13
- package/dist/Intents/INSearchForPhotosIntentHandling.d.ts +12 -8
- package/dist/Intents/INSendMessageIntentHandling.d.ts +13 -9
- package/dist/Intents/INSendPaymentIntentHandling.d.ts +13 -8
- package/dist/Intents/INSendRideFeedbackIntentHandling.d.ts +3 -3
- package/dist/Intents/INSetAudioSourceInCarIntentHandling.d.ts +7 -5
- package/dist/Intents/INSetCarLockStatusIntentHandling.d.ts +7 -5
- package/dist/Intents/INSetClimateSettingsInCarIntentHandling.d.ts +23 -15
- package/dist/Intents/INSetDefrosterSettingsInCarIntentHandling.d.ts +9 -6
- package/dist/Intents/INSetMessageAttributeIntentHandling.d.ts +5 -4
- package/dist/Intents/INSetProfileInCarIntentHandling.d.ts +11 -7
- package/dist/Intents/INSetRadioStationIntentHandling.d.ts +12 -8
- package/dist/Intents/INSetSeatSettingsInCarIntentHandling.d.ts +15 -10
- package/dist/Intents/INSetTaskAttributeIntentHandling.d.ts +17 -10
- package/dist/Intents/INShareFocusStatusIntentHandling.d.ts +3 -3
- package/dist/Intents/INSnoozeTasksIntentHandling.d.ts +7 -5
- package/dist/Intents/INStartAudioCallIntentHandling.d.ts +7 -5
- package/dist/Intents/INStartCallIntentHandling.d.ts +11 -7
- package/dist/Intents/INStartPhotoPlaybackIntentHandling.d.ts +11 -7
- package/dist/Intents/INStartVideoCallIntentHandling.d.ts +5 -4
- package/dist/Intents/INStartWorkoutIntentHandling.d.ts +13 -8
- package/dist/Intents/INTransferMoneyIntentHandling.d.ts +12 -8
- package/dist/Intents/INUnsendMessagesIntentHandling.d.ts +3 -3
- package/dist/Intents/INUpdateMediaAffinityIntentHandling.d.ts +7 -5
- package/dist/Intents/INVoiceShortcutCenter.d.ts +4 -3
- package/dist/JavaScriptCore/JSContext.d.ts +2 -2
- package/dist/JavaScriptCore/JSValue.d.ts +1 -1
- package/dist/LinkPresentation/LPErrorCode.d.ts +8 -0
- package/dist/LinkPresentation/LPErrorCode.js +8 -0
- package/dist/LinkPresentation/LPMetadataProvider.d.ts +4 -3
- package/dist/LinkPresentation/index.d.ts +1 -0
- package/dist/LinkPresentation/index.js +1 -0
- package/dist/LocalAuthentication/LAContext.d.ts +3 -2
- package/dist/LocalAuthentication/LAPrivateKey.d.ts +4 -3
- package/dist/LocalAuthentication/LAPublicKey.d.ts +4 -3
- package/dist/LocalAuthentication/LARight.d.ts +4 -4
- package/dist/LocalAuthentication/LARightStore.d.ts +7 -7
- package/dist/LocalAuthentication/LASecret.d.ts +3 -2
- package/dist/MLCompute/MLCInferenceGraph.d.ts +6 -5
- package/dist/MLCompute/MLCTensorData.d.ts +1 -1
- package/dist/MLCompute/MLCTrainingGraph.d.ts +8 -8
- package/dist/MailKit/MEComposeSessionErrorCode.d.ts +6 -0
- package/dist/MailKit/MEComposeSessionErrorCode.js +6 -0
- package/dist/MailKit/MEComposeSessionHandler.d.ts +3 -3
- package/dist/MailKit/MEExtensionManager.d.ts +3 -3
- package/dist/MailKit/MEMessageActionHandler.d.ts +2 -2
- package/dist/MailKit/MEMessageEncoder.d.ts +4 -3
- package/dist/MailKit/MEMessageSecurityErrorCode.d.ts +5 -0
- package/dist/MailKit/MEMessageSecurityErrorCode.js +5 -0
- package/dist/MailKit/MEMessageSecurityHandler.d.ts +1 -2
- package/dist/MailKit/index.d.ts +2 -0
- package/dist/MailKit/index.js +2 -0
- package/dist/MapKit/MKDirections.d.ts +5 -3
- package/dist/MapKit/MKGeocodingRequest.d.ts +3 -2
- package/dist/MapKit/MKLocalSearch.d.ts +3 -2
- package/dist/MapKit/MKLookAroundSceneRequest.d.ts +3 -2
- package/dist/MapKit/MKLookAroundSnapshotter.d.ts +3 -2
- package/dist/MapKit/MKMapItem.d.ts +2 -2
- package/dist/MapKit/MKMapItemRequest.d.ts +3 -1
- package/dist/MapKit/MKMapSnapshotter.d.ts +4 -3
- package/dist/MapKit/MKReverseGeocodingRequest.d.ts +3 -1
- package/dist/MapKit/MKTileOverlay.d.ts +3 -2
- package/dist/Matter/MTRAsyncCallbackQueueWorkItem.d.ts +4 -4
- package/dist/Matter/MTRAttributeCacheContainer.d.ts +3 -2
- package/dist/Matter/MTRBaseClusterAccessControl.d.ts +77 -76
- package/dist/Matter/MTRBaseClusterAccountLogin.d.ts +41 -39
- package/dist/Matter/MTRBaseClusterActions.d.ts +75 -73
- package/dist/Matter/MTRBaseClusterActivatedCarbonFilterMonitoring.d.ts +39 -38
- package/dist/Matter/MTRBaseClusterAdministratorCommissioning.d.ts +58 -57
- package/dist/Matter/MTRBaseClusterAirQuality.d.ts +20 -19
- package/dist/Matter/MTRBaseClusterApplicationBasic.d.ts +83 -79
- package/dist/Matter/MTRBaseClusterApplicationLauncher.d.ts +58 -56
- package/dist/Matter/MTRBaseClusterAudioOutput.d.ts +48 -47
- package/dist/Matter/MTRBaseClusterBallastConfiguration.d.ts +156 -155
- package/dist/Matter/MTRBaseClusterBarrierControl.d.ts +122 -121
- package/dist/Matter/MTRBaseClusterBasic.d.ts +86 -84
- package/dist/Matter/MTRBaseClusterBasicInformation.d.ts +94 -91
- package/dist/Matter/MTRBaseClusterBinaryInputBasic.d.ts +110 -109
- package/dist/Matter/MTRBaseClusterBinding.d.ts +41 -41
- package/dist/Matter/MTRBaseClusterBooleanState.d.ts +38 -37
- package/dist/Matter/MTRBaseClusterBooleanStateConfiguration.d.ts +45 -44
- package/dist/Matter/MTRBaseClusterBridgedDeviceBasic.d.ts +64 -63
- package/dist/Matter/MTRBaseClusterBridgedDeviceBasicInformation.d.ts +72 -70
- package/dist/Matter/MTRBaseClusterCarbonDioxideConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterCarbonMonoxideConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterChannel.d.ts +66 -59
- package/dist/Matter/MTRBaseClusterColorControl.d.ts +435 -433
- package/dist/Matter/MTRBaseClusterCommissionerControl.d.ts +23 -21
- package/dist/Matter/MTRBaseClusterContentAppObserver.d.ts +19 -17
- package/dist/Matter/MTRBaseClusterContentLauncher.d.ts +54 -51
- package/dist/Matter/MTRBaseClusterDescriptor.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterDeviceEnergyManagement.d.ts +54 -51
- package/dist/Matter/MTRBaseClusterDeviceEnergyManagementMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterDiagnosticLogs.d.ts +35 -33
- package/dist/Matter/MTRBaseClusterDishwasherAlarm.d.ts +31 -30
- package/dist/Matter/MTRBaseClusterDishwasherMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterDoorLock.d.ts +397 -389
- package/dist/Matter/MTRBaseClusterElectricalEnergyMeasurement.d.ts +38 -34
- package/dist/Matter/MTRBaseClusterElectricalMeasurement.d.ts +838 -837
- package/dist/Matter/MTRBaseClusterElectricalPowerMeasurement.d.ts +74 -73
- package/dist/Matter/MTRBaseClusterEnergyEVSE.d.ts +85 -83
- package/dist/Matter/MTRBaseClusterEnergyEVSEMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterEthernetNetworkDiagnostics.d.ts +90 -89
- package/dist/Matter/MTRBaseClusterFanControl.d.ts +128 -127
- package/dist/Matter/MTRBaseClusterFixedLabel.d.ts +38 -37
- package/dist/Matter/MTRBaseClusterFlowMeasurement.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterFormaldehydeConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterGeneralCommissioning.d.ts +78 -73
- package/dist/Matter/MTRBaseClusterGeneralDiagnostics.d.ts +93 -90
- package/dist/Matter/MTRBaseClusterGroupKeyManagement.d.ts +70 -68
- package/dist/Matter/MTRBaseClusterGroups.d.ts +56 -51
- package/dist/Matter/MTRBaseClusterHEPAFilterMonitoring.d.ts +39 -38
- package/dist/Matter/MTRBaseClusterICDManagement.d.ts +53 -49
- package/dist/Matter/MTRBaseClusterIdentify.d.ts +52 -51
- package/dist/Matter/MTRBaseClusterIlluminanceMeasurement.d.ts +62 -61
- package/dist/Matter/MTRBaseClusterKeypadInput.d.ts +35 -33
- package/dist/Matter/MTRBaseClusterLaundryDryerControls.d.ts +25 -24
- package/dist/Matter/MTRBaseClusterLaundryWasherControls.d.ts +33 -32
- package/dist/Matter/MTRBaseClusterLaundryWasherMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterLevelControl.d.ts +162 -161
- package/dist/Matter/MTRBaseClusterLocalizationConfiguration.d.ts +48 -47
- package/dist/Matter/MTRBaseClusterLowPower.d.ts +36 -35
- package/dist/Matter/MTRBaseClusterMediaInput.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterMediaPlayback.d.ts +119 -115
- package/dist/Matter/MTRBaseClusterMessages.d.ts +25 -24
- package/dist/Matter/MTRBaseClusterMicrowaveOvenControl.d.ts +41 -40
- package/dist/Matter/MTRBaseClusterMicrowaveOvenMode.d.ts +23 -22
- package/dist/Matter/MTRBaseClusterModeSelect.d.ts +79 -77
- package/dist/Matter/MTRBaseClusterNetworkCommissioning.d.ts +110 -105
- package/dist/Matter/MTRBaseClusterNitrogenDioxideConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterOccupancySensing.d.ts +149 -147
- package/dist/Matter/MTRBaseClusterOnOff.d.ts +94 -93
- package/dist/Matter/MTRBaseClusterOnOffSwitchConfiguration.d.ts +48 -47
- package/dist/Matter/MTRBaseClusterOperationalCredentials.d.ts +88 -83
- package/dist/Matter/MTRBaseClusterOperationalState.d.ts +45 -42
- package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateProvider.d.ts +40 -37
- package/dist/Matter/MTRBaseClusterOtaSoftwareUpdateRequestor.d.ts +61 -61
- package/dist/Matter/MTRBaseClusterOvenCavityOperationalState.d.ts +41 -38
- package/dist/Matter/MTRBaseClusterOvenMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterOzoneConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterPM10ConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterPM1ConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterPM25ConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterPowerSource.d.ts +222 -220
- package/dist/Matter/MTRBaseClusterPowerSourceConfiguration.d.ts +38 -37
- package/dist/Matter/MTRBaseClusterPowerTopology.d.ts +23 -22
- package/dist/Matter/MTRBaseClusterPressureMeasurement.d.ts +86 -85
- package/dist/Matter/MTRBaseClusterPumpConfigurationAndControl.d.ts +186 -185
- package/dist/Matter/MTRBaseClusterRVCCleanMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterRVCOperationalState.d.ts +43 -40
- package/dist/Matter/MTRBaseClusterRVCRunMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterRadonConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterRefrigeratorAlarm.d.ts +26 -25
- package/dist/Matter/MTRBaseClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterRelativeHumidityMeasurement.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterServiceArea.d.ts +39 -36
- package/dist/Matter/MTRBaseClusterSmokeCOAlarm.d.ts +60 -59
- package/dist/Matter/MTRBaseClusterSoftwareDiagnostics.d.ts +60 -59
- package/dist/Matter/MTRBaseClusterSwitch.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterTargetNavigator.d.ts +47 -45
- package/dist/Matter/MTRBaseClusterTemperatureControl.d.ts +37 -36
- package/dist/Matter/MTRBaseClusterTemperatureMeasurement.d.ts +56 -55
- package/dist/Matter/MTRBaseClusterTestCluster.d.ts +467 -455
- package/dist/Matter/MTRBaseClusterThermostat.d.ts +486 -483
- package/dist/Matter/MTRBaseClusterThermostatUserInterfaceConfiguration.d.ts +62 -61
- package/dist/Matter/MTRBaseClusterThreadBorderRouterManagement.d.ts +44 -40
- package/dist/Matter/MTRBaseClusterThreadNetworkDiagnostics.d.ts +418 -413
- package/dist/Matter/MTRBaseClusterThreadNetworkDirectory.d.ts +32 -30
- package/dist/Matter/MTRBaseClusterTimeFormatLocalization.d.ts +58 -57
- package/dist/Matter/MTRBaseClusterTimeSynchronization.d.ts +64 -60
- package/dist/Matter/MTRBaseClusterTotalVolatileOrganicCompoundsConcentrationMeasurement.d.ts +50 -49
- package/dist/Matter/MTRBaseClusterUnitLocalization.d.ts +42 -41
- package/dist/Matter/MTRBaseClusterUnitTesting.d.ts +467 -455
- package/dist/Matter/MTRBaseClusterUserLabel.d.ts +41 -41
- package/dist/Matter/MTRBaseClusterValveConfigurationAndControl.d.ts +58 -57
- package/dist/Matter/MTRBaseClusterWakeOnLan.d.ts +43 -40
- package/dist/Matter/MTRBaseClusterWaterHeaterManagement.d.ts +38 -37
- package/dist/Matter/MTRBaseClusterWaterHeaterMode.d.ts +25 -23
- package/dist/Matter/MTRBaseClusterWiFiNetworkDiagnostics.d.ts +115 -113
- package/dist/Matter/MTRBaseClusterWiFiNetworkManagement.d.ts +27 -24
- package/dist/Matter/MTRBaseClusterWindowCovering.d.ts +188 -187
- package/dist/Matter/MTRBaseDevice.d.ts +22 -19
- package/dist/Matter/MTRClusterAccessControl.d.ts +3 -2
- package/dist/Matter/MTRClusterAccountLogin.d.ts +10 -9
- package/dist/Matter/MTRClusterActions.d.ts +25 -25
- package/dist/Matter/MTRClusterActivatedCarbonFilterMonitoring.d.ts +3 -3
- package/dist/Matter/MTRClusterAdministratorCommissioning.d.ts +9 -9
- package/dist/Matter/MTRClusterApplicationLauncher.d.ts +11 -10
- package/dist/Matter/MTRClusterAudioOutput.d.ts +5 -5
- package/dist/Matter/MTRClusterBarrierControl.d.ts +7 -7
- package/dist/Matter/MTRClusterBasic.d.ts +3 -3
- package/dist/Matter/MTRClusterBooleanStateConfiguration.d.ts +3 -3
- package/dist/Matter/MTRClusterBridgedDeviceBasicInformation.d.ts +2 -2
- package/dist/Matter/MTRClusterChannel.d.ts +13 -11
- package/dist/Matter/MTRClusterColorControl.d.ts +39 -39
- package/dist/Matter/MTRClusterCommissionerControl.d.ts +4 -3
- package/dist/Matter/MTRClusterContentAppObserver.d.ts +3 -2
- package/dist/Matter/MTRClusterContentLauncher.d.ts +7 -5
- package/dist/Matter/MTRClusterDeviceEnergyManagement.d.ts +12 -12
- package/dist/Matter/MTRClusterDeviceEnergyManagementMode.d.ts +3 -2
- package/dist/Matter/MTRClusterDiagnosticLogs.d.ts +4 -3
- package/dist/Matter/MTRClusterDishwasherAlarm.d.ts +3 -3
- package/dist/Matter/MTRClusterDishwasherMode.d.ts +3 -2
- package/dist/Matter/MTRClusterDoorLock.d.ts +50 -44
- package/dist/Matter/MTRClusterElectricalMeasurement.d.ts +7 -7
- package/dist/Matter/MTRClusterEnergyEVSE.d.ts +12 -11
- package/dist/Matter/MTRClusterEnergyEVSEMode.d.ts +3 -2
- package/dist/Matter/MTRClusterEthernetNetworkDiagnostics.d.ts +5 -5
- package/dist/Matter/MTRClusterFanControl.d.ts +2 -2
- package/dist/Matter/MTRClusterGeneralCommissioning.d.ts +12 -9
- package/dist/Matter/MTRClusterGeneralDiagnostics.d.ts +8 -6
- package/dist/Matter/MTRClusterGroupKeyManagement.d.ts +12 -10
- package/dist/Matter/MTRClusterGroups.d.ts +19 -15
- package/dist/Matter/MTRClusterHEPAFilterMonitoring.d.ts +3 -3
- package/dist/Matter/MTRClusterICDManagement.d.ts +6 -4
- package/dist/Matter/MTRClusterIdentify.d.ts +5 -5
- package/dist/Matter/MTRClusterKeypadInput.d.ts +4 -3
- package/dist/Matter/MTRClusterLaundryWasherMode.d.ts +3 -2
- package/dist/Matter/MTRClusterLevelControl.d.ts +19 -19
- package/dist/Matter/MTRClusterLowPower.d.ts +5 -5
- package/dist/Matter/MTRClusterMediaInput.d.ts +13 -13
- package/dist/Matter/MTRClusterMediaPlayback.d.ts +44 -43
- package/dist/Matter/MTRClusterMessages.d.ts +3 -3
- package/dist/Matter/MTRClusterMicrowaveOvenControl.d.ts +4 -4
- package/dist/Matter/MTRClusterModeSelect.d.ts +3 -3
- package/dist/Matter/MTRClusterNetworkCommissioning.d.ts +17 -14
- package/dist/Matter/MTRClusterOnOff.d.ts +21 -21
- package/dist/Matter/MTRClusterOperationalCredentials.d.ts +21 -17
- package/dist/Matter/MTRClusterOperationalState.d.ts +10 -9
- package/dist/Matter/MTRClusterOtaSoftwareUpdateProvider.d.ts +9 -7
- package/dist/Matter/MTRClusterOtaSoftwareUpdateRequestor.d.ts +3 -3
- package/dist/Matter/MTRClusterOvenCavityOperationalState.d.ts +6 -5
- package/dist/Matter/MTRClusterOvenMode.d.ts +3 -2
- package/dist/Matter/MTRClusterRVCCleanMode.d.ts +3 -2
- package/dist/Matter/MTRClusterRVCOperationalState.d.ts +8 -7
- package/dist/Matter/MTRClusterRVCRunMode.d.ts +3 -2
- package/dist/Matter/MTRClusterRefrigeratorAndTemperatureControlledCabinetMode.d.ts +3 -2
- package/dist/Matter/MTRClusterServiceArea.d.ts +5 -3
- package/dist/Matter/MTRClusterSmokeCOAlarm.d.ts +3 -3
- package/dist/Matter/MTRClusterSoftwareDiagnostics.d.ts +5 -5
- package/dist/Matter/MTRClusterStateCacheContainer.d.ts +3 -2
- package/dist/Matter/MTRClusterTargetNavigator.d.ts +4 -3
- package/dist/Matter/MTRClusterTemperatureControl.d.ts +3 -3
- package/dist/Matter/MTRClusterTestCluster.d.ts +42 -30
- package/dist/Matter/MTRClusterThermostat.d.ts +16 -14
- package/dist/Matter/MTRClusterThreadBorderRouterManagement.d.ts +8 -7
- package/dist/Matter/MTRClusterThreadNetworkDiagnostics.d.ts +5 -5
- package/dist/Matter/MTRClusterThreadNetworkDirectory.d.ts +5 -4
- package/dist/Matter/MTRClusterTimeSynchronization.d.ts +7 -6
- package/dist/Matter/MTRClusterUnitTesting.d.ts +42 -30
- package/dist/Matter/MTRClusterValveConfigurationAndControl.d.ts +5 -5
- package/dist/Matter/MTRClusterWaterHeaterManagement.d.ts +4 -4
- package/dist/Matter/MTRClusterWaterHeaterMode.d.ts +3 -2
- package/dist/Matter/MTRClusterWiFiNetworkDiagnostics.d.ts +5 -5
- package/dist/Matter/MTRClusterWiFiNetworkManagement.d.ts +4 -3
- package/dist/Matter/MTRClusterWindowCovering.d.ts +21 -21
- package/dist/Matter/MTRCommissioningDelegate.d.ts +4 -4
- package/dist/Matter/MTRDevice.d.ts +11 -8
- package/dist/Matter/MTRDeviceController.d.ts +6 -4
- package/dist/Matter/MTRDeviceControllerServerProtocol.d.ts +12 -10
- package/dist/Matter/MTRErrorCode.d.ts +22 -0
- package/dist/Matter/MTRErrorCode.js +22 -0
- package/dist/Matter/MTRInteractionErrorCode.d.ts +33 -0
- package/dist/Matter/MTRInteractionErrorCode.js +33 -0
- package/dist/Matter/MTRNOCChainIssuer.d.ts +3 -1
- package/dist/Matter/MTROTAProviderDelegate.d.ts +13 -11
- package/dist/Matter/MTROperationalCertificateIssuer.d.ts +3 -2
- package/dist/Matter/MTRXPCDeviceControllerParameters.d.ts +4 -4
- package/dist/Matter/MTRXPCServerProtocol_MTRDevice.d.ts +17 -11
- package/dist/Matter/MTRXPCServerProtocol_MTRDeviceController.d.ts +2 -2
- package/dist/Matter/functions.d.ts +1 -2
- package/dist/Matter/functions.js +1 -1
- package/dist/Matter/index.d.ts +2 -0
- package/dist/Matter/index.js +2 -0
- package/dist/MediaAccessibility/MAMusicHapticsManager.d.ts +2 -3
- package/dist/MediaAccessibility/functions.d.ts +1 -1
- package/dist/MediaAccessibility/functions.js +1 -1
- package/dist/MediaExtension/MEByteSource.d.ts +4 -2
- package/dist/MediaExtension/MEError.d.ts +15 -0
- package/dist/MediaExtension/MEError.js +15 -0
- package/dist/MediaExtension/MEFormatReader.d.ts +8 -5
- package/dist/MediaExtension/MERAWProcessor.d.ts +2 -1
- package/dist/MediaExtension/MESampleCursor.d.ts +9 -7
- package/dist/MediaExtension/METrackReader.d.ts +12 -9
- package/dist/MediaExtension/MEVideoDecoder.d.ts +3 -1
- package/dist/MediaExtension/index.d.ts +1 -0
- package/dist/MediaExtension/index.js +1 -0
- package/dist/MediaPlayer/MPMediaEntity.d.ts +1 -1
- package/dist/MediaPlayer/MPMediaItemAnimatedArtwork.d.ts +4 -2
- package/dist/MediaPlayer/MPMediaItemArtwork.d.ts +1 -2
- package/dist/MediaPlayer/MPMediaLibrary.d.ts +6 -4
- package/dist/MediaPlayer/MPMediaPlaylist.d.ts +3 -3
- package/dist/MediaPlayer/MPMusicPlayerApplicationController.d.ts +4 -2
- package/dist/MediaPlayer/MPMusicPlayerController.d.ts +2 -1
- package/dist/MediaPlayer/MPNowPlayingSession.d.ts +1 -2
- package/dist/MediaPlayer/MPPlayableContentDataSource.d.ts +3 -3
- package/dist/MediaPlayer/MPPlayableContentDelegate.d.ts +4 -4
- package/dist/MediaPlayer/MPRemoteCommand.d.ts +3 -1
- package/dist/Metal/MTL4CommitOptions.d.ts +2 -2
- package/dist/Metal/MTL4Compiler.d.ts +11 -10
- package/dist/Metal/MTLCommandBuffer.d.ts +2 -2
- package/dist/Metal/MTLDevice.d.ts +13 -10
- package/dist/Metal/MTLDrawable.d.ts +1 -2
- package/dist/Metal/MTLIOCommandBuffer.d.ts +1 -2
- package/dist/Metal/MTLIOError.d.ts +5 -0
- package/dist/Metal/MTLIOError.js +5 -0
- package/dist/Metal/MTLLibrary.d.ts +4 -3
- package/dist/Metal/MTLLogState.d.ts +3 -2
- package/dist/Metal/MTLSharedEvent.d.ts +1 -2
- package/dist/Metal/NSDeviceCertification.d.ts +2 -0
- package/dist/Metal/NSDeviceCertification.js +2 -0
- package/dist/Metal/NSProcessPerformanceProfile.d.ts +2 -0
- package/dist/Metal/NSProcessPerformanceProfile.js +2 -0
- package/dist/Metal/functions.d.ts +2 -1
- package/dist/Metal/functions.js +1 -1
- package/dist/Metal/index.d.ts +3 -0
- package/dist/Metal/index.js +3 -0
- package/dist/MetalKit/MTKTextureLoader.d.ts +10 -9
- package/dist/MetalPerformanceShadersGraph/MPSGraph.d.ts +6 -5
- package/dist/MetalPerformanceShadersGraph/MPSGraphCompilationDescriptor.d.ts +4 -2
- package/dist/MetalPerformanceShadersGraph/MPSGraphExecutableExecutionDescriptor.d.ts +6 -5
- package/dist/MetalPerformanceShadersGraph/MPSGraphExecutionDescriptor.d.ts +5 -4
- package/dist/MetricKit/MXErrorCode.d.ts +9 -0
- package/dist/MetricKit/MXErrorCode.js +9 -0
- package/dist/MetricKit/index.d.ts +1 -0
- package/dist/MetricKit/index.js +1 -0
- package/dist/ModelIO/MDLMaterialPropertyNode.d.ts +3 -4
- package/dist/ModelIO/MDLMeshBufferMap.d.ts +1 -1
- package/dist/ModelIO/MDLObject.d.ts +1 -1
- package/dist/MultipeerConnectivity/MCNearbyServiceAdvertiserDelegate.d.ts +2 -2
- package/dist/MultipeerConnectivity/MCSession.d.ts +3 -2
- package/dist/MultipeerConnectivity/MCSessionDelegate.d.ts +1 -2
- package/dist/NaturalLanguage/NLContextualEmbedding.d.ts +3 -1
- package/dist/NaturalLanguage/NLContextualEmbeddingResult.d.ts +1 -1
- package/dist/NaturalLanguage/NLEmbedding.d.ts +4 -4
- package/dist/NaturalLanguage/NLTagger.d.ts +4 -2
- package/dist/NaturalLanguage/NLTokenizer.d.ts +2 -1
- package/dist/NearbyInteraction/NIErrorCode.d.ts +13 -0
- package/dist/NearbyInteraction/NIErrorCode.js +13 -0
- package/dist/NearbyInteraction/index.d.ts +1 -0
- package/dist/NearbyInteraction/index.js +1 -0
- package/dist/NetworkExtension/NEAppProxyFlow.d.ts +2 -3
- package/dist/NetworkExtension/NEAppProxyProvider.d.ts +2 -3
- package/dist/NetworkExtension/NEAppProxyProviderManager.d.ts +3 -2
- package/dist/NetworkExtension/NEAppProxyTCPFlow.d.ts +3 -3
- package/dist/NetworkExtension/NEAppProxyUDPFlow.d.ts +5 -4
- package/dist/NetworkExtension/NEAppPushManager.d.ts +5 -5
- package/dist/NetworkExtension/NEAppPushManagerError.d.ts +7 -0
- package/dist/NetworkExtension/NEAppPushManagerError.js +7 -0
- package/dist/NetworkExtension/NEAppPushProvider.d.ts +3 -3
- package/dist/NetworkExtension/NEDNSProxyManager.d.ts +4 -4
- package/dist/NetworkExtension/NEDNSProxyProvider.d.ts +2 -2
- package/dist/NetworkExtension/NEDNSSettingsManager.d.ts +4 -4
- package/dist/NetworkExtension/NEFilterControlProvider.d.ts +3 -3
- package/dist/NetworkExtension/NEFilterDataProvider.d.ts +2 -2
- package/dist/NetworkExtension/NEFilterManager.d.ts +4 -4
- package/dist/NetworkExtension/NEFilterPacketProvider.d.ts +5 -2
- package/dist/NetworkExtension/NEFilterProvider.d.ts +3 -3
- package/dist/NetworkExtension/NEHotspotConfigurationManager.d.ts +6 -5
- package/dist/NetworkExtension/NEHotspotHelper.d.ts +2 -2
- package/dist/NetworkExtension/NEHotspotNetwork.d.ts +1 -2
- package/dist/NetworkExtension/NEPacketTunnelFlow.d.ts +2 -3
- package/dist/NetworkExtension/NEPacketTunnelProvider.d.ts +2 -2
- package/dist/NetworkExtension/NEProvider.d.ts +2 -2
- package/dist/NetworkExtension/NERelayManager.d.ts +6 -6
- package/dist/NetworkExtension/NETransparentProxyManager.d.ts +3 -2
- package/dist/NetworkExtension/NETunnelProvider.d.ts +3 -3
- package/dist/NetworkExtension/NETunnelProviderManager.d.ts +2 -2
- package/dist/NetworkExtension/NETunnelProviderSession.d.ts +1 -1
- package/dist/NetworkExtension/NEURLFilter.d.ts +2 -2
- package/dist/NetworkExtension/NEVPNConnection.d.ts +2 -1
- package/dist/NetworkExtension/NEVPNManager.d.ts +4 -3
- package/dist/NetworkExtension/NWTCPConnection.d.ts +3 -4
- package/dist/NetworkExtension/NWTCPConnectionAuthenticationDelegate.d.ts +2 -2
- package/dist/NetworkExtension/NWUDPSession.d.ts +4 -4
- package/dist/NetworkExtension/index.d.ts +1 -0
- package/dist/NetworkExtension/index.js +1 -0
- package/dist/NotificationCenter/NCWidgetProviding.d.ts +2 -2
- package/dist/PHASE/PHASEAssetError.d.ts +9 -0
- package/dist/PHASE/PHASEAssetError.js +9 -0
- package/dist/PHASE/PHASEAssetRegistry.d.ts +1 -1
- package/dist/PHASE/PHASEError.d.ts +5 -0
- package/dist/PHASE/PHASEError.js +5 -0
- package/dist/PHASE/PHASEPullStreamNode.d.ts +2 -2
- package/dist/PHASE/PHASEPushStreamNode.d.ts +2 -3
- package/dist/PHASE/PHASESoundEvent.d.ts +8 -5
- package/dist/PHASE/PHASESoundEventError.d.ts +9 -0
- package/dist/PHASE/PHASESoundEventError.js +9 -0
- package/dist/PHASE/index.d.ts +3 -0
- package/dist/PHASE/index.js +3 -0
- package/dist/ParavirtualizedGraphics/PGDeviceDescriptor.d.ts +16 -16
- package/dist/ParavirtualizedGraphics/PGDisplay.d.ts +6 -6
- package/dist/ParavirtualizedGraphics/PGDisplayDescriptor.d.ts +12 -11
- package/dist/PassKit/PKAddIdentityDocumentConfiguration.d.ts +2 -2
- package/dist/PassKit/PKAddSecureElementPassErrorCode.d.ts +11 -0
- package/dist/PassKit/PKAddSecureElementPassErrorCode.js +11 -0
- package/dist/PassKit/PKAddShareablePassConfiguration.d.ts +3 -3
- package/dist/PassKit/PKDisbursementErrorCode.d.ts +6 -0
- package/dist/PassKit/PKDisbursementErrorCode.js +6 -0
- package/dist/PassKit/PKIdentityAuthorizationController.d.ts +4 -3
- package/dist/PassKit/PKIdentityError.d.ts +12 -0
- package/dist/PassKit/PKIdentityError.js +12 -0
- package/dist/PassKit/PKIssuerProvisioningExtensionAuthorizationProviding.d.ts +3 -3
- package/dist/PassKit/PKIssuerProvisioningExtensionHandler.d.ts +6 -5
- package/dist/PassKit/PKPassKitErrorCode.d.ts +8 -0
- package/dist/PassKit/PKPassKitErrorCode.js +8 -0
- package/dist/PassKit/PKPassLibrary.d.ts +13 -10
- package/dist/PassKit/PKPaymentAuthorizationController.d.ts +2 -3
- package/dist/PassKit/PKPaymentAuthorizationControllerDelegate.d.ts +18 -11
- package/dist/PassKit/PKPaymentAuthorizationViewControllerDelegate.d.ts +18 -11
- package/dist/PassKit/PKPaymentErrorCode.d.ts +9 -0
- package/dist/PassKit/PKPaymentErrorCode.js +9 -0
- package/dist/PassKit/PKPaymentInformationRequestHandling.d.ts +5 -4
- package/dist/PassKit/PKShareSecureElementPassErrorCode.d.ts +5 -0
- package/dist/PassKit/PKShareSecureElementPassErrorCode.js +5 -0
- package/dist/PassKit/PKVehicleConnectionSession.d.ts +2 -1
- package/dist/PassKit/index.d.ts +6 -0
- package/dist/PassKit/index.js +6 -0
- package/dist/PencilKit/PKStrokePath.d.ts +3 -3
- package/dist/Photos/PHAsset.d.ts +3 -1
- package/dist/Photos/PHAssetResourceManager.d.ts +4 -3
- package/dist/Photos/PHAssetResourceRequestOptions.d.ts +2 -3
- package/dist/Photos/PHContentEditingInputRequestOptions.d.ts +5 -4
- package/dist/Photos/PHFetchResult.d.ts +3 -3
- package/dist/Photos/PHFetchResultChangeDetails.d.ts +1 -2
- package/dist/Photos/PHImageManager.d.ts +16 -7
- package/dist/Photos/PHImageRequestOptions.d.ts +4 -2
- package/dist/Photos/PHLivePhoto.d.ts +2 -2
- package/dist/Photos/PHLivePhotoEditingContext.d.ts +7 -4
- package/dist/Photos/PHLivePhotoRequestOptions.d.ts +4 -2
- package/dist/Photos/PHPersistentChangeFetchResult.d.ts +2 -1
- package/dist/Photos/PHPhotoLibrary.d.ts +4 -4
- package/dist/Photos/PHPhotosError.d.ts +25 -0
- package/dist/Photos/PHPhotosError.js +25 -0
- package/dist/Photos/PHVideoRequestOptions.d.ts +4 -2
- package/dist/Photos/index.d.ts +1 -0
- package/dist/Photos/index.js +1 -0
- package/dist/PhotosUI/PHContentEditingController.d.ts +2 -2
- package/dist/PhotosUI/PHProjectExtensionContext.d.ts +1 -2
- package/dist/PhotosUI/PHProjectExtensionController.d.ts +4 -4
- package/dist/PushKit/PKPushRegistryDelegate.d.ts +1 -2
- package/dist/QuartzCore/CATransaction.d.ts +2 -2
- package/dist/QuickLookThumbnailing/QLThumbnailError.d.ts +9 -0
- package/dist/QuickLookThumbnailing/QLThumbnailError.js +9 -0
- package/dist/QuickLookThumbnailing/QLThumbnailGenerator.d.ts +7 -5
- package/dist/QuickLookThumbnailing/QLThumbnailProvider.d.ts +3 -2
- package/dist/QuickLookThumbnailing/QLThumbnailReply.d.ts +2 -2
- package/dist/QuickLookThumbnailing/index.d.ts +1 -0
- package/dist/QuickLookThumbnailing/index.js +1 -0
- package/dist/QuickLookUI/QLPreviewReply.d.ts +5 -3
- package/dist/QuickLookUI/QLPreviewingController.d.ts +5 -4
- package/dist/ReplayKit/RPBroadcastActivityController.d.ts +2 -2
- package/dist/ReplayKit/RPBroadcastController.d.ts +3 -3
- package/dist/ReplayKit/RPScreenRecorder.d.ts +13 -10
- package/dist/SafariServices/SFContentBlockerManager.d.ts +4 -3
- package/dist/SafariServices/SFSafariApplication.d.ts +10 -7
- package/dist/SafariServices/SFSafariExtension.d.ts +2 -2
- package/dist/SafariServices/SFSafariExtensionHandling.d.ts +3 -4
- package/dist/SafariServices/SFSafariExtensionManager.d.ts +3 -2
- package/dist/SafariServices/SFSafariPage.d.ts +6 -4
- package/dist/SafariServices/SFSafariTab.d.ts +7 -5
- package/dist/SafariServices/SFSafariWindow.d.ts +7 -5
- package/dist/SafetyKit/SACrashDetectionManager.d.ts +2 -2
- package/dist/SafetyKit/SAEmergencyResponseManager.d.ts +2 -2
- package/dist/SafetyKit/SAErrorCode.d.ts +7 -0
- package/dist/SafetyKit/SAErrorCode.js +7 -0
- package/dist/SafetyKit/index.d.ts +1 -0
- package/dist/SafetyKit/index.js +1 -0
- package/dist/SceneKit/SCNAction.d.ts +6 -6
- package/dist/SceneKit/SCNActionable.d.ts +2 -3
- package/dist/SceneKit/SCNAnimation.d.ts +5 -5
- package/dist/SceneKit/SCNAnimationEvent.d.ts +2 -1
- package/dist/SceneKit/SCNAudioPlayer.d.ts +4 -5
- package/dist/SceneKit/SCNNode.d.ts +3 -3
- package/dist/SceneKit/SCNParticleSystem.d.ts +2 -2
- package/dist/SceneKit/SCNPhysicsField.d.ts +1 -2
- package/dist/SceneKit/SCNProgram.d.ts +5 -2
- package/dist/SceneKit/SCNScene.d.ts +2 -1
- package/dist/SceneKit/SCNSceneRenderer.d.ts +3 -3
- package/dist/SceneKit/SCNSceneSource.d.ts +4 -2
- package/dist/SceneKit/SCNShadable.d.ts +4 -3
- package/dist/SceneKit/SCNTechnique.d.ts +3 -1
- package/dist/SceneKit/SCNTransaction.d.ts +2 -2
- package/dist/SceneKit/SCNTransformConstraint.d.ts +7 -4
- package/dist/ScreenCaptureKit/SCScreenshotManager.d.ts +7 -5
- package/dist/ScreenCaptureKit/SCShareableContent.d.ts +6 -6
- package/dist/ScreenCaptureKit/SCStream.d.ts +5 -4
- package/dist/ScreenCaptureKit/SCStreamErrorCode.d.ts +24 -0
- package/dist/ScreenCaptureKit/SCStreamErrorCode.js +24 -0
- package/dist/ScreenCaptureKit/index.d.ts +1 -0
- package/dist/ScreenCaptureKit/index.js +1 -0
- package/dist/ScreenTime/STWebHistory.d.ts +4 -2
- package/dist/SecurityUI/SFCertificatePresentation.d.ts +1 -1
- package/dist/SensitiveContentAnalysis/SCSensitivityAnalyzer.d.ts +5 -4
- package/dist/SensitiveContentAnalysis/SCVideoStreamAnalyzer.d.ts +3 -2
- package/dist/SensorKit/SRErrorCode.d.ts +8 -0
- package/dist/SensorKit/SRErrorCode.js +8 -0
- package/dist/SensorKit/SRSensorReader.d.ts +2 -2
- package/dist/SensorKit/index.d.ts +1 -0
- package/dist/SensorKit/index.js +1 -0
- package/dist/ServiceManagement/SMAppService.d.ts +2 -1
- package/dist/SharedWithYou/SWCollaborationView.d.ts +1 -2
- package/dist/SharedWithYou/SWHighlightCenter.d.ts +6 -3
- package/dist/ShazamKit/SHErrorCode.d.ts +13 -0
- package/dist/ShazamKit/SHErrorCode.js +13 -0
- package/dist/ShazamKit/SHMediaItem.d.ts +2 -1
- package/dist/ShazamKit/SHMediaLibrary.d.ts +2 -2
- package/dist/ShazamKit/SHSignatureGenerator.d.ts +2 -1
- package/dist/ShazamKit/index.d.ts +1 -0
- package/dist/ShazamKit/index.js +1 -0
- package/dist/Social/SLRequest.d.ts +3 -2
- package/dist/SoundAnalysis/SNAudioFileAnalyzer.d.ts +1 -1
- package/dist/SoundAnalysis/SNErrorCode.d.ts +8 -0
- package/dist/SoundAnalysis/SNErrorCode.js +8 -0
- package/dist/SoundAnalysis/index.d.ts +1 -0
- package/dist/SoundAnalysis/index.js +1 -0
- package/dist/Speech/SFSpeechErrorCode.d.ts +9 -0
- package/dist/Speech/SFSpeechErrorCode.js +9 -0
- package/dist/Speech/SFSpeechLanguageModel.d.ts +5 -5
- package/dist/Speech/SFSpeechRecognizer.d.ts +4 -3
- package/dist/Speech/index.d.ts +1 -0
- package/dist/Speech/index.js +1 -0
- package/dist/SpriteKit/SKAction.d.ts +5 -5
- package/dist/SpriteKit/SKFieldNode.d.ts +1 -1
- package/dist/SpriteKit/SKMutableTexture.d.ts +1 -1
- package/dist/SpriteKit/SKNode.d.ts +2 -2
- package/dist/SpriteKit/SKPhysicsWorld.d.ts +3 -3
- package/dist/SpriteKit/SKTexture.d.ts +2 -2
- package/dist/SpriteKit/SKTextureAtlas.d.ts +4 -4
- package/dist/StoreKit/SKANError.d.ts +15 -0
- package/dist/StoreKit/SKANError.js +15 -0
- package/dist/StoreKit/SKAdNetwork.d.ts +6 -6
- package/dist/StoreKit/SKArcadeService.d.ts +3 -3
- package/dist/StoreKit/SKCloudServiceController.d.ts +8 -7
- package/dist/StoreKit/SKCloudServiceSetupViewController.d.ts +2 -2
- package/dist/StoreKit/SKDownload.d.ts +3 -3
- package/dist/StoreKit/SKDownloadState.d.ts +9 -0
- package/dist/StoreKit/SKDownloadState.js +9 -0
- package/dist/StoreKit/SKOverlayTransitionContext.d.ts +1 -2
- package/dist/StoreKit/SKProductStorePromotionController.d.ts +6 -5
- package/dist/StoreKit/SKProductStorePromotionVisibility.d.ts +6 -0
- package/dist/StoreKit/SKProductStorePromotionVisibility.js +6 -0
- package/dist/StoreKit/SKStoreProductViewController.d.ts +3 -3
- package/dist/StoreKit/index.d.ts +3 -0
- package/dist/StoreKit/index.js +3 -0
- package/dist/SystemExtensions/OSSystemExtensionErrorCode.d.ts +16 -0
- package/dist/SystemExtensions/OSSystemExtensionErrorCode.js +16 -0
- package/dist/SystemExtensions/index.d.ts +1 -0
- package/dist/SystemExtensions/index.js +1 -0
- package/dist/ThreadNetwork/THClient.d.ts +12 -10
- package/dist/UserNotifications/UNNotificationServiceExtension.d.ts +2 -2
- package/dist/UserNotifications/UNUserNotificationCenter.d.ts +9 -8
- package/dist/UserNotifications/UNUserNotificationCenterDelegate.d.ts +3 -3
- package/dist/UserNotificationsUI/UNNotificationContentExtension.d.ts +2 -2
- package/dist/VideoSubscriberAccount/VSAccountManager.d.ts +5 -3
- package/dist/VideoSubscriberAccount/VSUserAccountManager.d.ts +7 -5
- package/dist/VideoToolbox/VTFrameProcessor.d.ts +4 -2
- package/dist/VideoToolbox/VTFrameProcessorError.d.ts +17 -0
- package/dist/VideoToolbox/VTFrameProcessorError.js +17 -0
- package/dist/VideoToolbox/VTSuperResolutionScalerConfiguration.d.ts +2 -2
- package/dist/VideoToolbox/functions.d.ts +10 -10
- package/dist/VideoToolbox/functions.js +10 -10
- package/dist/VideoToolbox/index.d.ts +1 -0
- package/dist/VideoToolbox/index.js +1 -0
- package/dist/Virtualization/VZErrorCode.d.ts +28 -0
- package/dist/Virtualization/VZErrorCode.js +28 -0
- package/dist/Virtualization/VZLinuxRosettaDirectoryShare.d.ts +2 -1
- package/dist/Virtualization/VZMacOSInstaller.d.ts +2 -2
- package/dist/Virtualization/VZMacOSRestoreImage.d.ts +3 -3
- package/dist/Virtualization/VZUSBController.d.ts +3 -3
- package/dist/Virtualization/VZVirtioSocketDevice.d.ts +3 -2
- package/dist/Virtualization/VZVirtualMachine.d.ts +8 -7
- package/dist/Virtualization/index.d.ts +1 -0
- package/dist/Virtualization/index.js +1 -0
- package/dist/Vision/VNBarcodeCompositeType.d.ts +8 -0
- package/dist/Vision/VNBarcodeCompositeType.js +8 -0
- package/dist/Vision/VNBarcodeObservation.d.ts +2 -2
- package/dist/Vision/VNChirality.d.ts +6 -0
- package/dist/Vision/VNChirality.js +6 -0
- package/dist/Vision/VNCoreMLRequest.d.ts +3 -2
- package/dist/Vision/VNDetectHumanBodyPose3DRequest.d.ts +3 -1
- package/dist/Vision/VNDetectTrajectoriesRequest.d.ts +3 -2
- package/dist/Vision/VNFaceLandmarkRegion2D.d.ts +2 -1
- package/dist/Vision/VNGeneratePersonSegmentationRequest.d.ts +3 -1
- package/dist/Vision/VNHumanHandPoseObservation.d.ts +2 -1
- package/dist/Vision/VNPointsClassification.d.ts +6 -0
- package/dist/Vision/VNPointsClassification.js +6 -0
- package/dist/Vision/VNRequest.d.ts +3 -2
- package/dist/Vision/VNRequestProgressProviding.d.ts +4 -3
- package/dist/Vision/VNStatefulRequest.d.ts +3 -2
- package/dist/Vision/VNTargetedImageRequest.d.ts +14 -12
- package/dist/Vision/VNTrackHomographicImageRegistrationRequest.d.ts +3 -2
- package/dist/Vision/VNTrackObjectRequest.d.ts +3 -2
- package/dist/Vision/VNTrackOpticalFlowRequest.d.ts +3 -2
- package/dist/Vision/VNTrackRectangleRequest.d.ts +3 -2
- package/dist/Vision/VNTrackTranslationalImageRegistrationRequest.d.ts +3 -2
- package/dist/Vision/index.d.ts +3 -0
- package/dist/Vision/index.js +3 -0
- package/dist/WebKit/WKContentRuleListStore.d.ts +7 -5
- package/dist/WebKit/WKDownload.d.ts +2 -1
- package/dist/WebKit/WKDownloadDelegate.d.ts +9 -5
- package/dist/WebKit/WKHTTPCookieStore.d.ts +6 -6
- package/dist/WebKit/WKNavigationDelegate.d.ts +10 -6
- package/dist/WebKit/WKScriptMessageHandlerWithReply.d.ts +2 -1
- package/dist/WebKit/WKUIDelegate.d.ts +8 -6
- package/dist/WebKit/WKWebExtension.d.ts +3 -3
- package/dist/WebKit/WKWebExtensionContext.d.ts +2 -2
- package/dist/WebKit/WKWebExtensionContextError.d.ts +9 -0
- package/dist/WebKit/WKWebExtensionContextError.js +9 -0
- package/dist/WebKit/WKWebExtensionController.d.ts +4 -3
- package/dist/WebKit/WKWebExtensionControllerDelegate.d.ts +11 -9
- package/dist/WebKit/WKWebExtensionDataRecordError.d.ts +7 -0
- package/dist/WebKit/WKWebExtensionDataRecordError.js +7 -0
- package/dist/WebKit/WKWebExtensionError.d.ts +12 -0
- package/dist/WebKit/WKWebExtensionError.js +12 -0
- package/dist/WebKit/WKWebExtensionMatchPatternError.d.ts +7 -0
- package/dist/WebKit/WKWebExtensionMatchPatternError.js +7 -0
- package/dist/WebKit/WKWebExtensionMessagePort.d.ts +5 -5
- package/dist/WebKit/WKWebExtensionMessagePortError.d.ts +6 -0
- package/dist/WebKit/WKWebExtensionMessagePortError.js +6 -0
- package/dist/WebKit/WKWebExtensionTab.d.ts +18 -16
- package/dist/WebKit/WKWebExtensionWindow.d.ts +5 -5
- package/dist/WebKit/WKWebView.d.ts +26 -21
- package/dist/WebKit/WKWebsiteDataStore.d.ts +8 -7
- package/dist/WebKit/index.d.ts +5 -0
- package/dist/WebKit/index.js +5 -0
- package/dist/iTunesLibrary/ITLibMediaEntity.d.ts +2 -2
- package/generator/ast-parser.ts +371 -5
- package/generator/custom.ts +6 -0
- package/generator/discover.ts +39 -2
- package/generator/emitter.ts +41 -33
- package/generator/parse-worker.ts +28 -0
- package/generator/type-mapper.ts +276 -15
- package/package.json +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const NSFileProviderErrorCode: {
|
|
2
|
+
readonly NSFileProviderErrorNotAuthenticated: -1000;
|
|
3
|
+
readonly NSFileProviderErrorFilenameCollision: -1001;
|
|
4
|
+
readonly NSFileProviderErrorSyncAnchorExpired: -1002;
|
|
5
|
+
readonly NSFileProviderErrorPageExpired: -1002;
|
|
6
|
+
readonly NSFileProviderErrorInsufficientQuota: -1003;
|
|
7
|
+
readonly NSFileProviderErrorServerUnreachable: -1004;
|
|
8
|
+
readonly NSFileProviderErrorNoSuchItem: -1005;
|
|
9
|
+
readonly NSFileProviderErrorDeletionRejected: -1006;
|
|
10
|
+
readonly NSFileProviderErrorDirectoryNotEmpty: -1007;
|
|
11
|
+
readonly NSFileProviderErrorProviderNotFound: -2001;
|
|
12
|
+
readonly NSFileProviderErrorProviderTranslocated: -2002;
|
|
13
|
+
readonly NSFileProviderErrorOlderExtensionVersionRunning: -2003;
|
|
14
|
+
readonly NSFileProviderErrorNewerExtensionVersionFound: -2004;
|
|
15
|
+
readonly NSFileProviderErrorCannotSynchronize: -2005;
|
|
16
|
+
readonly NSFileProviderErrorNonEvictableChildren: -2006;
|
|
17
|
+
readonly NSFileProviderErrorUnsyncedEdits: -2007;
|
|
18
|
+
readonly NSFileProviderErrorNonEvictable: -2008;
|
|
19
|
+
readonly NSFileProviderErrorVersionNoLongerAvailable: -2009;
|
|
20
|
+
readonly NSFileProviderErrorExcludedFromSync: -2010;
|
|
21
|
+
readonly NSFileProviderErrorDomainDisabled: -2011;
|
|
22
|
+
readonly NSFileProviderErrorProviderDomainTemporarilyUnavailable: -2012;
|
|
23
|
+
readonly NSFileProviderErrorProviderDomainNotFound: -2013;
|
|
24
|
+
readonly NSFileProviderErrorApplicationExtensionNotFound: -2014;
|
|
25
|
+
readonly NSFileProviderErrorLocalVersionConflictingWithServer: -2015;
|
|
26
|
+
};
|
|
27
|
+
export type NSFileProviderErrorCode = typeof NSFileProviderErrorCode[keyof typeof NSFileProviderErrorCode];
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// AUTO-GENERATED by objcjs-types generator — DO NOT EDIT
|
|
2
|
+
export const NSFileProviderErrorCode = {
|
|
3
|
+
NSFileProviderErrorNotAuthenticated: -1000,
|
|
4
|
+
NSFileProviderErrorFilenameCollision: -1001,
|
|
5
|
+
NSFileProviderErrorSyncAnchorExpired: -1002,
|
|
6
|
+
NSFileProviderErrorPageExpired: -1002,
|
|
7
|
+
NSFileProviderErrorInsufficientQuota: -1003,
|
|
8
|
+
NSFileProviderErrorServerUnreachable: -1004,
|
|
9
|
+
NSFileProviderErrorNoSuchItem: -1005,
|
|
10
|
+
NSFileProviderErrorDeletionRejected: -1006,
|
|
11
|
+
NSFileProviderErrorDirectoryNotEmpty: -1007,
|
|
12
|
+
NSFileProviderErrorProviderNotFound: -2001,
|
|
13
|
+
NSFileProviderErrorProviderTranslocated: -2002,
|
|
14
|
+
NSFileProviderErrorOlderExtensionVersionRunning: -2003,
|
|
15
|
+
NSFileProviderErrorNewerExtensionVersionFound: -2004,
|
|
16
|
+
NSFileProviderErrorCannotSynchronize: -2005,
|
|
17
|
+
NSFileProviderErrorNonEvictableChildren: -2006,
|
|
18
|
+
NSFileProviderErrorUnsyncedEdits: -2007,
|
|
19
|
+
NSFileProviderErrorNonEvictable: -2008,
|
|
20
|
+
NSFileProviderErrorVersionNoLongerAvailable: -2009,
|
|
21
|
+
NSFileProviderErrorExcludedFromSync: -2010,
|
|
22
|
+
NSFileProviderErrorDomainDisabled: -2011,
|
|
23
|
+
NSFileProviderErrorProviderDomainTemporarilyUnavailable: -2012,
|
|
24
|
+
NSFileProviderErrorProviderDomainNotFound: -2013,
|
|
25
|
+
NSFileProviderErrorApplicationExtensionNotFound: -2014,
|
|
26
|
+
NSFileProviderErrorLocalVersionConflictingWithServer: -2015,
|
|
27
|
+
};
|
|
@@ -3,6 +3,7 @@ import type { _NSArray } from "../Foundation/NSArray.js";
|
|
|
3
3
|
import type { _NSData } from "../Foundation/NSData.js";
|
|
4
4
|
import type { _NSDate } from "../Foundation/NSDate.js";
|
|
5
5
|
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
|
|
6
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
6
7
|
import type { _NSNumber } from "../Foundation/NSNumber.js";
|
|
7
8
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
8
9
|
import type { _NSProgress } from "../Foundation/NSProgress.js";
|
|
@@ -35,11 +36,11 @@ export declare class _NSFileProviderExtension extends _NSObject {
|
|
|
35
36
|
/**
|
|
36
37
|
* This method is called when a placeholder URL should be provided for the item at the given URL. The implementation of this method should call +[NSFileProviderManager writePlaceholderAtURL:withMetadata:error:] with the URL returned by +[NSFileProviderManager placeholderURLForURL:], then call the completion handler.
|
|
37
38
|
*/
|
|
38
|
-
providePlaceholderAtURL$completionHandler$(url: _NSURL, completionHandler:
|
|
39
|
+
providePlaceholderAtURL$completionHandler$(url: _NSURL, completionHandler: ((error: _NSError) => void) | null): void;
|
|
39
40
|
/**
|
|
40
41
|
* Should ensure that the actual file is in the position returned by URLForItemWithPersistentIdentifier:, then call the completion handler.
|
|
41
42
|
*/
|
|
42
|
-
startProvidingItemAtURL$completionHandler$(url: _NSURL, completionHandler:
|
|
43
|
+
startProvidingItemAtURL$completionHandler$(url: _NSURL, completionHandler: ((error: _NSError) => void) | null): void;
|
|
43
44
|
/**
|
|
44
45
|
* Called after the last claim to the file has been released. At this point, it is safe for the file provider to remove the content file. Care should be taken that the corresponding placeholder file stays behind after the content file has been deleted.
|
|
45
46
|
*/
|
|
@@ -56,47 +57,47 @@ export declare class _NSFileProviderExtension extends _NSObject {
|
|
|
56
57
|
/**
|
|
57
58
|
* Import a document. The file or package at fileURL should be moved on disk into the file provider's own storage, where it will later be uploaded. The completion block should be executed after the move on disk, but before the upload. Before doing any network, actually. In the completion block, importedDocumentItem should have these properties set: - itemIdentifier - parentItemIdentifier (to the value passed in to this method) - filename (to fileURL's resource value for key NSURLNameKey) - creationDate (to NSURLCreationDateKey) - contentModificationDate (to NSURLContentModificationDateKey) - contentType (to NSURLContentTypeKey) - documentSize (to NSURLTotalFileSizeKey on a flat file, or to the sum of the files sizes for a package) - capabilities [fileURL startAccessingSecurityScopedResource] needs to be called prior to accessing this security scoped URL, and stopAccessingSecurityScopedResource needs to be called when done. Note that itemIdentifier should be set with no network call. It doesn't have to be the final identifier. If the identifier changes after talking to the server then the file provider should send a delete for the temporary, local identifier immediately followed by an add with the final identifier. A reasonable way of organizing files in the file provider storage is: <file provider storage path>/<itemIdentifier>/<filename>.<extension> If the item identifier was to change, you should move the file on disk to update its path, under coordination with NSFileCoordinatorWritingForMoving. This is expected to work offline even if there might be a collision (another item with the same filename and parentItemIdentifier) only detected when later syncing up this change to the server. In that case, it is suggested that a follow up update to the item change its filename to something unique. This wouldn't be considered an error to import. If however you can tell right away, with no communication to your server, that there is a collision then this call should fail with error code NSFileProviderErrorFilenameCollision generated with this method: -[NSError (NSFileProviderError) fileProviderErrorForCollisionWithItem:]. The existing item set in this error will be used to handle the collision, and ask the user if she or he would like to replace the existing item. This takes into account the existing item's capabilities (particularly NSFileProviderItemCapabilitiesAllowsTrashing and AllowsDeleting.) Collision checks should be case insensitive even if the filesystem or file provider might allow two coexisting filenames differing only by their case. Upload errors (such as NSFileProviderErrorInsufficientQuota) should be handled with a subsequent update to the item, setting its uploadingError property. Upload errors should not prevent creating or importing a document, because they can be resolved at a later date (for example, when the user has quota again.) Other errors will be presented to the user, but are unexpected. If you want to prevent imports in a given directory, then the directory item's capacities should exclude NSFileProviderItemCapabilitiesAllowsAddingSubItems.
|
|
58
59
|
*/
|
|
59
|
-
importDocumentAtURL$toParentItemIdentifier$completionHandler$(fileURL: _NSURL, parentItemIdentifier: _NSString, completionHandler:
|
|
60
|
+
importDocumentAtURL$toParentItemIdentifier$completionHandler$(fileURL: _NSURL, parentItemIdentifier: _NSString, completionHandler: ((importedDocumentItem: _NSFileProviderItem, error: _NSError) => void) | null): void;
|
|
60
61
|
/**
|
|
61
62
|
* Create a directory. This is expected to complete before doing any network. In the completion block, createdDirectoryItem should have these properties set: - itemIdentifier - parentItemIdentifier (to the value passed in to this method) - filename (to directoryName) - creationDate (to the current date and time) - contentType (to "public.folder" - UTTypeFolder) - childItemCount (to 0) - capabilities Errors (including collision errors) are handled as documented for the import method above. Directory creation is gated by the capabilities of the destination directory, with NSFileProviderItemCapabilitiesAllowsAddingSubItems.
|
|
62
63
|
*/
|
|
63
|
-
createDirectoryWithName$inParentItemIdentifier$completionHandler$(directoryName: _NSString, parentItemIdentifier: _NSString, completionHandler:
|
|
64
|
+
createDirectoryWithName$inParentItemIdentifier$completionHandler$(directoryName: _NSString, parentItemIdentifier: _NSString, completionHandler: ((createdDirectoryItem: _NSFileProviderItem, error: _NSError) => void) | null): void;
|
|
64
65
|
/**
|
|
65
66
|
* Rename a document or a directory. This is expected to complete before doing any network. itemName is the full file or directory name, complete with its file extension. In the completion block, property renamedItem.filename should change to itemName. Property renamedItem.displayName should also be updated if you chose to overwrite that method. Errors (including collision errors) are handled as documented for the import method above. Renames are gated by the capabilities of the renamed item, with NSFileProviderItemCapabilitiesAllowsRenaming.
|
|
66
67
|
*/
|
|
67
|
-
renameItemWithIdentifier$toName$completionHandler$(itemIdentifier: _NSString, itemName: _NSString, completionHandler:
|
|
68
|
+
renameItemWithIdentifier$toName$completionHandler$(itemIdentifier: _NSString, itemName: _NSString, completionHandler: ((renamedItem: _NSFileProviderItem, error: _NSError) => void) | null): void;
|
|
68
69
|
/**
|
|
69
70
|
* Move an item to a new directory. This is expected to complete before doing any network. If newName is non null, the moved item should be renamed to newName. Errors (including collision errors) are handled as documented for the import method above. Moves are gated by the capabilities of both the moved item with NSFileProviderItemCapabilitiesAllowsReparenting, and the destination directory with NSFileProviderItemCapabilitiesAllowsAddingSubItems.
|
|
70
71
|
*/
|
|
71
|
-
reparentItemWithIdentifier$toParentItemWithIdentifier$newName$completionHandler$(itemIdentifier: _NSString, parentItemIdentifier: _NSString, newName: _NSString | null, completionHandler:
|
|
72
|
+
reparentItemWithIdentifier$toParentItemWithIdentifier$newName$completionHandler$(itemIdentifier: _NSString, parentItemIdentifier: _NSString, newName: _NSString | null, completionHandler: ((reparentedItem: _NSFileProviderItem, error: _NSError) => void) | null): void;
|
|
72
73
|
/**
|
|
73
74
|
* Move an item to the trash. In the completion block, property trashedItem.isTrashed should be set to YES. You should keep track of the original parentItemIdentifier of the item before it was moved to trash, so you can move the item back where it used to be in the untrash method. You could use the trashedItem.parentItemIdentifier property for that. The trashed item should continue to belong to the working set of documents cached on the device and visible offline to the user. But if it is a directory, then all of its children should be removed from the working set and the file provider extension should send deletion events to make sure that they no longer appear in the recent lists. It is also suggested that shared documents be unshared when trashed. Trash is gated by the capabilities of the trashed item with NSFileProviderItemCapabilitiesAllowsTrashing.
|
|
74
75
|
*/
|
|
75
|
-
trashItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler:
|
|
76
|
+
trashItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler: ((trashedItem: _NSFileProviderItem, error: _NSError) => void) | null): void;
|
|
76
77
|
/**
|
|
77
78
|
* Move an item out of the trash. If parentItemIdentifier is nil, the file provider should attempt to put the item back where it was when it was moved to the trash; otherwise it should move it to this new parent. If the item is a directory, then the file provider extension should enumerate the children and send addition events in the working set so that the documents in the now untrashed directory may be reindexed. Untrash is gated by the capabilities of the destination directory, with NSFileProviderItemCapabilitiesAllowsAddingSubItems.
|
|
78
79
|
*/
|
|
79
|
-
untrashItemWithIdentifier$toParentItemIdentifier$completionHandler$(itemIdentifier: _NSString, parentItemIdentifier: _NSString | null, completionHandler:
|
|
80
|
+
untrashItemWithIdentifier$toParentItemIdentifier$completionHandler$(itemIdentifier: _NSString, parentItemIdentifier: _NSString | null, completionHandler: ((untrashedItem: _NSFileProviderItem, error: _NSError) => void) | null): void;
|
|
80
81
|
/**
|
|
81
82
|
* Delete an item forever. This is called when the user deletes an item that was already in the Trash and the item should no longer appear there after this call. This call should remove the item from the working set. Delete is gated by the capabilities of the removed item with NSFileProviderItemCapabilitiesAllowsDeleting.
|
|
82
83
|
*/
|
|
83
|
-
deleteItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler:
|
|
84
|
+
deleteItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler: ((error: _NSError) => void) | null): void;
|
|
84
85
|
/**
|
|
85
86
|
* Mark an item as recently used, or clear its lastUsedDate if nil. This last used date is the sort key for the recent lists. It is the primary hint that an item must belong to the working set cached and indexed on the user's device. The file provider is asked to persist the new last used date on disk, then call the completion callback with the updated last used date. At a later point, the file provider should sync the new last used date to their server. The error parameter is here for debugging purposes alone; it won't be presented to the user or otherwise handled, but it will be logged.
|
|
86
87
|
*/
|
|
87
|
-
setLastUsedDate$forItemIdentifier$completionHandler$(lastUsedDate: _NSDate | null, itemIdentifier: _NSString, completionHandler:
|
|
88
|
+
setLastUsedDate$forItemIdentifier$completionHandler$(lastUsedDate: _NSDate | null, itemIdentifier: _NSString, completionHandler: ((recentlyUsedItem: _NSFileProviderItem, error: _NSError) => void) | null): void;
|
|
88
89
|
/**
|
|
89
90
|
* Tag an item, or untag it if tagData is nil. The file provider is asked to persist the new tag data on disk, then call the completion callback with the updated tagged data. At a later point, the file provider should sync the new tag data to their server. Tagged items are relevant to the user and should be in the working set even if they haven't been used recently. If set, the error will be immediately presented to the user and the item just won't be tagged. On shared items, tags should sync across the devices of any one participant but shouldn't sync across users.
|
|
90
91
|
*/
|
|
91
|
-
setTagData$forItemIdentifier$completionHandler$(tagData: _NSData | null, itemIdentifier: _NSString, completionHandler:
|
|
92
|
+
setTagData$forItemIdentifier$completionHandler$(tagData: _NSData | null, itemIdentifier: _NSString, completionHandler: ((taggedItem: _NSFileProviderItem, error: _NSError) => void) | null): void;
|
|
92
93
|
/**
|
|
93
94
|
* Mark a directory as favorite (or no longer favorite if favoriteRank is nil.) The favorite rank is used to represent the relative order of two favorite directories in the UI. It is a 64 bit unsigned integer. It needs to be synced. Favorite directories are relevant to the user and should be in the working set even if they haven't been used recently. The documents and directories in the favorite directory however don't all have to be in the working set, and don't all have to be made accessible offline. The file provider is asked to persist the new favorite rank on disk, then call the completion callback with the updated favorite rank. At a later point, the file provider should sync the new favorite rank to their server.
|
|
94
95
|
*/
|
|
95
|
-
setFavoriteRank$forItemIdentifier$completionHandler$(favoriteRank: _NSNumber | null, itemIdentifier: _NSString, completionHandler:
|
|
96
|
+
setFavoriteRank$forItemIdentifier$completionHandler$(favoriteRank: _NSNumber | null, itemIdentifier: _NSString, completionHandler: ((favoriteItem: _NSFileProviderItem, error: _NSError) => void) | null): void;
|
|
96
97
|
/**
|
|
97
98
|
* The system calls this method to fetch thumbnails. The @p perThumbnailCompletionHandler should be called for each thumbnail, and @p completionHandler only after all the per thumbnail completion blocks. In the event of a global error, the implementation is allowed to skip calling the @p perThumbnailCompletionHandler for individual thumbnails. In that case, the @p completionHandler's error parameter would apply to all item identifiers for which @p perThumbnailCompletionHandler had not been called. If there is no thumbnail for a given item, the @p perThumbnailCompletionHandler should be called with its @p imageData and @p error parameters both set to nil. If the system decides that an in-flight thumbnail request is not needed anymore, it will call the returned @p NSProgress object's @p -cancel method, at which time the implementation should clean up any held resources. The system will cache the thumbnail for the item, and the cache will be invalidated when itemVersion.contentVersion changes.
|
|
98
99
|
*/
|
|
99
|
-
fetchThumbnailsForItemIdentifiers$requestedSize$perThumbnailCompletionHandler$completionHandler$(itemIdentifiers: _NSArray, size: CGSize, perThumbnailCompletionHandler:
|
|
100
|
+
fetchThumbnailsForItemIdentifiers$requestedSize$perThumbnailCompletionHandler$completionHandler$(itemIdentifiers: _NSArray, size: CGSize, perThumbnailCompletionHandler: ((identifier: _NSString, imageData: _NSData, error: _NSError) => void) | null, completionHandler: ((error: _NSError) => void) | null): _NSProgress;
|
|
100
101
|
/**
|
|
101
102
|
* An identifier unique to this provider. When modifying the files stored in the directory returned by documentStorageURL, you should pass this identifier to your file coordinator's setPurposeIdentifier: method.
|
|
102
103
|
* @deprecated NSFileProviderManager -providerIdentifier
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
2
2
|
export interface _NSFileProviderExternalVolumeHandling {
|
|
3
3
|
/**
|
|
4
4
|
* Implement this protocol on your extension's Principal Class in order for the system to ask your extension whether a domain located on an external volume should be connected. Your extension may use this method as an opportunity to check for, and setup if necessary, state to operate the extension. Such as prompting the user to login in your application. When creating domains on external drive, store state related to the domain in the `userInfo` parameter to `-[NSFileProviderDomain initWithDisplayName:userInfo:volumeURL:]`, such as the user's ID, to help your extension identify the domain when connected on other devices. This userInfo will be persisted on the external volume, and provided in the ReplicatedExtension initializer when the drive is connected to a new device. If your extension responds with an NSError, the domain will be in a disconnected state. Non-downloaded files in the domain will not be downloadable, and file edits will not be synced up. The system will display UI to inform the user. Your extension will be able to enumerate this domain in `+[NSFileProviderManager getDomainsWithCompletionHandler:]`, with the `-[NSFileProviderDomain disconnected]` property set as YES. If at a later point, the user has setup the necessary state to service requests for the disconnected external domain, your extension may call `-[NSFileProviderManager reconnectWithCompletionHandler:]`. If your extension does not implement this protocol, domains on external volumes will automatically be connected and instantiated in your extension.
|
|
5
5
|
*/
|
|
6
|
-
shouldConnectExternalDomainWithCompletionHandler$?(completionHandler:
|
|
6
|
+
shouldConnectExternalDomainWithCompletionHandler$?(completionHandler: ((connectionError: _NSError) => void) | null): void;
|
|
7
7
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
2
2
|
import type { _NSProgress } from "../Foundation/NSProgress.js";
|
|
3
3
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
4
4
|
import type { _NSURL } from "../Foundation/NSURL.js";
|
|
5
|
+
import type { _NSFileProviderItem } from "./NSFileProviderItem.js";
|
|
5
6
|
import type { _NSFileProviderItemVersion } from "./NSFileProviderItemVersion.js";
|
|
6
7
|
import type { _NSFileProviderRequest } from "./NSFileProviderRequest.js";
|
|
7
8
|
export interface _NSFileProviderIncrementalContentFetching {
|
|
8
9
|
/**
|
|
9
10
|
* Update a previously provided item to a new version. If the system already has a version of an item and learns that a new version is available, it may call this method to update the existing version to a new version. The semantics of the requestedVersion parameter are the same as for the non-delta update method above.
|
|
10
11
|
*/
|
|
11
|
-
fetchContentsForItemWithIdentifier$version$usingExistingContentsAtURL$existingVersion$request$completionHandler$?(itemIdentifier: _NSString, requestedVersion: _NSFileProviderItemVersion | null, existingContents: _NSURL, existingVersion: _NSFileProviderItemVersion, request: _NSFileProviderRequest, completionHandler:
|
|
12
|
+
fetchContentsForItemWithIdentifier$version$usingExistingContentsAtURL$existingVersion$request$completionHandler$?(itemIdentifier: _NSString, requestedVersion: _NSFileProviderItemVersion | null, existingContents: _NSURL, existingVersion: _NSFileProviderItemVersion, request: _NSFileProviderRequest, completionHandler: ((fileContents: _NSURL, item: _NSFileProviderItem, error: _NSError) => void) | null): _NSProgress;
|
|
12
13
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { _NSFileProviderKnownFolderLocations } from "./NSFileProviderKnownFolderLocations.js";
|
|
2
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
2
3
|
import type { NSFileProviderKnownFolders } from "./NSFileProviderKnownFolders.js";
|
|
3
4
|
export interface _NSFileProviderKnownFolderSupporting {
|
|
4
5
|
/**
|
|
5
6
|
* Request suitable locations for known folders. This function is called when the user decides to switch some known folders to the current domain, outside of the `claimKnownFolders` call. The system provides a list of folders that the user decides to move to this domain, and expect in return non-nil locations for those known folders.
|
|
6
7
|
*/
|
|
7
|
-
getKnownFolderLocations$completionHandler$?(knownFolders: NSFileProviderKnownFolders, completionHandler:
|
|
8
|
+
getKnownFolderLocations$completionHandler$?(knownFolders: NSFileProviderKnownFolders, completionHandler: ((arg0: _NSFileProviderKnownFolderLocations, arg1: _NSError) => void) | null): void;
|
|
8
9
|
}
|
|
@@ -2,6 +2,7 @@ import type { NobjcObject } from "objc-js";
|
|
|
2
2
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
3
3
|
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
|
|
4
4
|
import type { _NSError } from "../Foundation/NSError.js";
|
|
5
|
+
import type { _NSFileProviderService } from "../Foundation/NSFileProviderService.js";
|
|
5
6
|
import type { _NSObject } from "../Foundation/NSObject.js";
|
|
6
7
|
import type { _NSProgress } from "../Foundation/NSProgress.js";
|
|
7
8
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
@@ -15,6 +16,7 @@ import type { _NSFileProviderPendingSetEnumerator } from "./NSFileProviderPendin
|
|
|
15
16
|
import type { NSRange } from "../structs/NSRange.js";
|
|
16
17
|
import type { NSFileProviderServiceName } from "../Foundation/NSFileProviderServiceName.js";
|
|
17
18
|
import type { NSProgressFileOperationKind } from "../Foundation/NSProgressFileOperationKind.js";
|
|
19
|
+
import type { NSFileProviderDomainIdentifier } from "./NSFileProviderDomainIdentifier.js";
|
|
18
20
|
import type { NSFileProviderDomainRemovalMode } from "./NSFileProviderDomainRemovalMode.js";
|
|
19
21
|
import type { NSFileProviderItemFields } from "./NSFileProviderItemFields.js";
|
|
20
22
|
import type { NSFileProviderKnownFolders } from "./NSFileProviderKnownFolders.js";
|
|
@@ -29,7 +31,7 @@ export declare class _NSFileProviderManager extends _NSObject {
|
|
|
29
31
|
/**
|
|
30
32
|
* Return the identifier and domain for a user visible URL. This method returns the identifier and domain of a user visible URL if applicable. Calling this method on a file which doesn't reside in your provider/domain, or which hasn't yet been assigned an identifier by the provider will return the Cocoa error NSFileNoSuchFileError.
|
|
31
33
|
*/
|
|
32
|
-
static getIdentifierForUserVisibleFileAtURL$completionHandler$(url: _NSURL, completionHandler:
|
|
34
|
+
static getIdentifierForUserVisibleFileAtURL$completionHandler$(url: _NSURL, completionHandler: ((itemIdentifier: _NSString, domainIdentifier: NSFileProviderDomainIdentifier, error: _NSError) => void) | null): void;
|
|
33
35
|
/**
|
|
34
36
|
* Writes out a placeholder at the specified URL. The placeholder is used in place of the actual file for operations that do not require the file's actual data to be on disk: - if attributes are requested by an application via the getPromisedItemResourceValue: method on NSURL - or via a coordination with the NSFileCoordinatorReadingImmediatelyAvailableMetadataOnly flag set - to verify whether an application has access to a file Your extension should provide placeholders by implementing the providePlaceholderAtURL: method, but your application may choose to proactively write out placeholders to facilitate access to files. This is especially useful if your application wants to actively hand out a file URL, e.g. using UIActivityViewController, in which case it should ensure that either the file or a placeholder is present on disk first. The path of the placeholder is fixed and must be determined in advance by calling the placeholderURLForURL: method.
|
|
35
37
|
*/
|
|
@@ -41,19 +43,19 @@ export declare class _NSFileProviderManager extends _NSObject {
|
|
|
41
43
|
/**
|
|
42
44
|
* Register a domain in which items can be stored. If a domain with the same identifier already exists, `addDomain` will update the display name and hidden state of the domain and succeed. When the domain is backed by a NSFileProviderReplicatedExtension, the system will create a disk location where the domain will be replicated. If that location already exists on disk this call will fail with the code NSFileWriteFileExistsError.
|
|
43
45
|
*/
|
|
44
|
-
static addDomain$completionHandler$(domain: _NSFileProviderDomain, completionHandler:
|
|
46
|
+
static addDomain$completionHandler$(domain: _NSFileProviderDomain, completionHandler: ((error: _NSError) => void) | null): void;
|
|
45
47
|
/** Remove a domain. */
|
|
46
|
-
static removeDomain$completionHandler$(domain: _NSFileProviderDomain, completionHandler:
|
|
48
|
+
static removeDomain$completionHandler$(domain: _NSFileProviderDomain, completionHandler: ((error: _NSError) => void) | null): void;
|
|
47
49
|
/** Remove a domain with options */
|
|
48
|
-
static removeDomain$mode$completionHandler$(domain: _NSFileProviderDomain, mode: NSFileProviderDomainRemovalMode, completionHandler:
|
|
50
|
+
static removeDomain$mode$completionHandler$(domain: _NSFileProviderDomain, mode: NSFileProviderDomainRemovalMode, completionHandler: ((_result: _NSURL, error: _NSError) => void) | null): void;
|
|
49
51
|
/** Get all registered domains. */
|
|
50
|
-
static getDomainsWithCompletionHandler$(completionHandler:
|
|
52
|
+
static getDomainsWithCompletionHandler$(completionHandler: ((domains: _NSArray, error: _NSError) => void) | null): void;
|
|
51
53
|
/** Remove all registered domains. */
|
|
52
|
-
static removeAllDomainsWithCompletionHandler$(completionHandler:
|
|
54
|
+
static removeAllDomainsWithCompletionHandler$(completionHandler: ((error: _NSError) => void) | null): void;
|
|
53
55
|
/**
|
|
54
56
|
* Request the creation of a new domain that will take ownership of on-disk data that were previously managed without a file provider. You can use this method in order to migrate from a software that managed a file hierarchy on disk to a NSFileProviderExtension without having to redownload the data that was already on disk. The URL is expected to point to a directory. That directory will be moved away, its ownership being taken by the system. From this point, your extension's createItemFromTemplate method will be called for every item found in the directory with the special NSFileProviderCreateItemMayAlreadyExist option. In case a domain with the same name already exists in the file provider manager, the call will fail with the code NSFileWriteFileExistsError. The URL will remain untouched. In case the system does not allow the extension to request a migration, the call will fail with NSFeatureUnsupportedError. In case of success, the URL will become invalid and the domain will be created. The completion handler is called as soon as the domain is created. Your provider will receive calls to createItemBasedOnTemplate afterward. When the import of the file hierarchy is finished, the system calls -[NSFileProviderExtension signalDidFinishImportingItemsFromDiskWithCompletionHandler:]. In case -[NSFileProviderManager reimportItemsBelowItemWithIdentifier:completionHandler:] is called before the end of the import, a single call to importDidFinishWithCompletionHandler will be received for both the import and the scan.
|
|
55
57
|
*/
|
|
56
|
-
static importDomain$fromDirectoryAtURL$completionHandler$(domain: _NSFileProviderDomain, url: _NSURL, completionHandler:
|
|
58
|
+
static importDomain$fromDirectoryAtURL$completionHandler$(domain: _NSFileProviderDomain, url: _NSURL, completionHandler: ((error: _NSError) => void) | null): void;
|
|
57
59
|
/**
|
|
58
60
|
* Check if a URL is eligible for storing a domain. This returns whether the check has been performed succesfully - NOT whether the drive is eligible. If an error was encountered while checking, this method returns FALSE and an error describing the problem will be set. The eligible parameter will contain the result of the check and indicate whether the volume can be used to store FP domains. Its value is only defined if the call returns YES. The url can be any existing and accessible URL on the volume for which you want to assess eligibility. The checks are volume-wide and the exact location on the volume doesn't impact them. If a drive is eligible, unsupportedReason will be empty (0). Otherwise it will contain the list of identified conditions that currently prevent this drive from being used to store FP domains.
|
|
59
61
|
*/
|
|
@@ -63,15 +65,15 @@ export declare class _NSFileProviderManager extends _NSObject {
|
|
|
63
65
|
/**
|
|
64
66
|
* Call this method either in the app or in the extension to trigger an enumeration, typically in response to a push. When using NSFileProviderExtension, the system will enumerate containers while the user is viewing them in the UI. If there are changes to the container while an enumerator is open, call this method with the identifier of that container. This will trigger another call to -[NSFileProviderEnumerator enumerateChangesForObserver:fromSyncAnchor:] on that enumerator, and the UI will be refreshed, giving the user live updates on the presented enumeration. If there are changes in the working set, call this method with containerItemIdentifier set to NSFileProviderWorkingSetContainerItemIdentifier, even if there is no live enumeration for the working set container. When using NSFileProviderReplicatedExtension, only call this method with NSFileProviderWorkingSetContainerItemIdentifier. Other container identifiers are ignored. The system will automatically propagate working set changes to the UI, without explicitly signaling the containers currently being viewed in the UI. In addition to using this method, your application/extension can register for pushes using the PKPushTypeFileProvider push type. Pushes of the form { "container-identifier": "<identifier>", "domain": "<domain identifier>" } with a topic of "<your application identifier>.pushkit.fileprovider" will be translated into a call to signalEnumeratorForContainerItemIdentifier:completionHandler:.
|
|
65
67
|
*/
|
|
66
|
-
signalEnumeratorForContainerItemIdentifier$completionHandler$(containerItemIdentifier: _NSString, completion:
|
|
68
|
+
signalEnumeratorForContainerItemIdentifier$completionHandler$(containerItemIdentifier: _NSString, completion: ((error: _NSError) => void) | null): void;
|
|
67
69
|
/**
|
|
68
70
|
* Return the security scoped URL to the user visible location for an item identifier. The caller must use file coordination (see NSFileCoordinator) if it wishes to read the content or list the children of the URL. The caller should not try to manipulate files in the user visible location. All changes coming from the provider should go through updates in the working set that will be applied to the user visible items by the system. The location may differ from the logical parentURL/filename. If an item on disk cannot be assigned the requested name (e.g. because the local file system has different case collision rules from the provider), one of the items can be assigned a different local name. In that case, the "com.apple.fileprovider.before-bounce#PX" extended attribute will contain the filename before collision resolution. This attribute is only set if the item has been assigned a different local name following a collision. Such local names are not synced up to the provider; the purpose of the attribute is to enable consistency checkers to detect this case. Before accessing the content of the returned URL, the caller must call `-[NSURL startAccessingSecurityScopedResource] on the returned URL and call `-[NSURL stopAccessingSecurityScopedResource]` when done accessing the content. The returned URL grants read-write access to the user visible location for the corresponding item. On iOS, for replicated domains, the extension process will never be granted access to the user visible location, this function will always fail with `NSFileReadNoPermissionError`.
|
|
69
71
|
*/
|
|
70
|
-
getUserVisibleURLForItemIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler:
|
|
72
|
+
getUserVisibleURLForItemIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler: ((userVisibleFile: _NSURL, error: _NSError) => void) | null): void;
|
|
71
73
|
/**
|
|
72
74
|
* Registers the given NSURLSessionTask to be responsible for the specified item. A given item can only have one task registered at a time. The task must be suspended at the time of calling. The task's progress is displayed on the item when the task is executed.
|
|
73
75
|
*/
|
|
74
|
-
registerURLSessionTask$forItemWithIdentifier$completionHandler$(task: _NSURLSessionTask, identifier: _NSString, completion:
|
|
76
|
+
registerURLSessionTask$forItemWithIdentifier$completionHandler$(task: _NSURLSessionTask, identifier: _NSString, completion: ((error: _NSError) => void) | null): void;
|
|
75
77
|
/**
|
|
76
78
|
* A temporary directory suitable to store files that will be exchanged with the system. The returned URL is guaranteed to be on the same volume as the user visible URL, making sure the system can atomatically clone/move files from that location to the user visible URL. The provider can also use that directory as a target for moves and clones of content URL passed to createItemBasedOnTemplate or modifyItem. If the system cannot find a suitable directory, this calls will fail. This could happen e.g. if the domain does not exist or is in instance of initialization. This call succeeds when called from the extension process with an instance of the extension for the domain unless domain was disconnected by `-[NSFileProviderExternalVolumeHandling shouldConnectExternalDomainWithCompletionHandler:]`. It can also fail in the extension process if the domain (external) is being setup for the very first time (meaning it never existed).
|
|
77
79
|
*/
|
|
@@ -79,7 +81,7 @@ export declare class _NSFileProviderManager extends _NSObject {
|
|
|
79
81
|
/**
|
|
80
82
|
* Calling this method will cause the system to cancel throttling on every item which has been throttled due to the given error. This call supports the following errors: - NSFileProviderErrorNotAuthenticated - NSFileProviderErrorInsufficientQuota - NSFileProviderErrorServerUnreachable - NSFileProviderErrorCannotSynchronize - NSFileProviderErrorExcludedFromSync
|
|
81
83
|
*/
|
|
82
|
-
signalErrorResolved$completionHandler$(error: _NSError, completionHandler:
|
|
84
|
+
signalErrorResolved$completionHandler$(error: _NSError, completionHandler: ((error: _NSError) => void) | null): void;
|
|
83
85
|
/**
|
|
84
86
|
* Returns the global progress for the specified kind of operations This progress tracks all the ongoing kind of operations (from disk to the provider). Uploading operations are the operations from disk to the provider. Downloading operations are the operations from the provider to the disk. The global progress exposes the two following data: - Number of items with an ongoing matching kind operation along with the grand total; - Number of bytes already transferred along with the total amount of bytes to transfer. `totalUnitCount` will only be reset when there are no operations left. If new operations of the matching kind arrive while the global progress is already ongoing, they will just be summed to the existing global progress. By default, when no matching kind operations are active, the progress has its values set to 1 and its state set to finished. The progress will be updated on the main queue. It is to be retained by the caller and to be observed through KVO. The two only supported values for kind are: - NSProgressFileOperationKindUploading - NSProgressFileOperationKindDownloading The returned progress will have its fileOperationKind property set.
|
|
85
87
|
*/
|
|
@@ -95,29 +97,29 @@ export declare class _NSFileProviderManager extends _NSObject {
|
|
|
95
97
|
/**
|
|
96
98
|
* Notify the system that the itemIdentifiers known by the system are not valid anymore. This can be called by an extension in case it has lost track of its synchronisation state and as a consequence is not able to guarantee the stability of the itemIdentifiers anymore. In that case, the system will trigger a scan of any data that is cached on disk and call createItemBasedOnTemplate with the special NSFileProviderCreateItemMayAlreadyExist option so that the extension can specify the new itemIdentifier for those items. The provided item identifier is inclusive, meaning the specified item will be re-import as well as any children in case it is a container. In case the extension has lost its synchronisation state but is still able to guarantee the stability of the itemIdentifiers, it should make sure that querying the working set enumerator with an anchor that predates the synchronisation loss will cause a NSFileProviderErrorSyncAnchorExpired error. In case the extension has lost its synchronisation state and is not interested in preserving the data cached on disk, it can remove and re-add the affected domain. The completion handler is called as soon as the reimport is initiated and does not not reflect the end of the import. When the import of the file hierarchy is finished, the system calls -[NSFileProviderExtension importDidFinishWithCompletionHandler:]. In some circumstances, in particular in case the requested item is the root item, calling reimport will cause the system to stop the extension process. If the call is initiated from the extension, the system does not guarantee that the completion handler will be called before the extension is stopped. When called on the root item, reimport will cause the system to rebuild its backing store for the domain. See `-[NSFileProviderDomain backingStoreIdentity]`. If this method succeeds, the system will reimport at least the requested sub-tree, but may import more. If the requested item has no on-disk representation, the completion handler will be called with a NSFileProviderErrorNoSuchItem error. The same error will be reported if the reimport request happens quickly after a previous import / reimport and the corresponding item hasn't been reimported yet.
|
|
97
99
|
*/
|
|
98
|
-
reimportItemsBelowItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler:
|
|
100
|
+
reimportItemsBelowItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler: ((error: _NSError) => void) | null): void;
|
|
99
101
|
/**
|
|
100
102
|
* Request that the system schedules a call to -[NSFileProviderReplicatedExtension modifyItem:] for the given item identifier. The fields passed to modifyItem will contain at least the set requested via the `fields` parameter. The completion handler is called when the system has persisted the request. There is no guarantee as to when the modifyItem call will be scheduled. The completion handler may be called with an error. If the provider passes the `.content` field when the item is not downloaded, or when the item is a folder, then the system will return CocoaError(.ubiquitousFileUnavailable).
|
|
101
103
|
*/
|
|
102
|
-
requestModificationOfFields$forItemWithIdentifier$options$completionHandler$(fields: NSFileProviderItemFields, itemIdentifier: _NSString, options: NSFileProviderModifyItemOptions, completionHandler:
|
|
104
|
+
requestModificationOfFields$forItemWithIdentifier$options$completionHandler$(fields: NSFileProviderItemFields, itemIdentifier: _NSString, options: NSFileProviderModifyItemOptions, completionHandler: ((error: _NSError) => void) | null): void;
|
|
103
105
|
/**
|
|
104
106
|
* Request that the system remove an item from its cache. When called on a file, the file will be made dataless. When called on a directory, first each of the directory's children will be evicted (child files are made dataless, child directories are recursively evicted). Then the directory itself will be made dataless. If a non-evictable child is encountered, eviction will stop immediately and the completionHandler will be called with the NSFileProviderErrorNonEvictableChildren error. The error will include information on why and which children could not be evicted in -[NSError underlyingErrors]. The materialization state of the remaining items may be either materialized or evicted, depending on the traversal order. The completion handler is called after the items have been evicted from disk or immediately when an error occurs. Eviction might fail with the following errors : - NSFileProviderErrorDomain.NSFileProviderErrorUnsyncedEdits if the item had non-uploaded changes. - NSFileProviderErrorDomain.NSFileProviderErrorNonEvictable if the item has been marked as non-purgeable by the provider. - NSPOSIXErrorDomain.EBUSY : if the item has open file descriptors on it. - NSPOSIXErrorDomain.EMLINK : if the item has several hardlinks. - other NSPOSIXErrorDomain error codes if the system was unable to access or manipulate the corresponding file.
|
|
105
107
|
*/
|
|
106
|
-
evictItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler:
|
|
108
|
+
evictItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler: ((error: _NSError) => void) | null): void;
|
|
107
109
|
/**
|
|
108
110
|
* Wait for all changes on disk in the sub-hierarchy of the item to be acknowledged by the extension. This call can be used to guarantee operation ordering in a sub-hierarchy of the provider. The completion handler is called when all the changes for descendents of the item have been acknowledged by the extension. If any error is met during that process, an error will be raised, in which case the caller should not assume all the changes have been received. This call will only wait for changes affecting items that were already descendents of the requested item in the provider, or items that have been newly created on disk. It will not wait for items that are already known from the provider and are being moved in the directory. As a consequence, that call can be used from within a call to -[NSFileProviderReplicatedExtension modifyItem:baseVersion:changedFields:contents:options:completionHandler:]. Also note that the call will return immediately on items that are not directories. In case a change cannot be applied to the provider, the call will fail with NSFileProviderErrorCannotSynchronize including the NSFileProviderErrorItemKey with the identifier of the item that could not be synced if that item is known by the provider.
|
|
109
111
|
*/
|
|
110
|
-
waitForChangesOnItemsBelowItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler:
|
|
112
|
+
waitForChangesOnItemsBelowItemWithIdentifier$completionHandler$(itemIdentifier: _NSString, completionHandler: ((error: _NSError) => void) | null): void;
|
|
111
113
|
/**
|
|
112
114
|
* Wait for stabilization of the domain. The system will wait until it is caught up with the file system's changes up to the time of the call, then wait until it is caught up with the provider's changes up to the time of the call. The completion handler is called when both sets of changes are caught up to at least the time of the call. This is useful to enforce a consistent state for testing.
|
|
113
115
|
*/
|
|
114
|
-
waitForStabilizationWithCompletionHandler$(completionHandler:
|
|
115
|
-
disconnectWithReason$options$completionHandler$(localizedReason: _NSString, options: NSFileProviderManagerDisconnectionOptions, completionHandler:
|
|
116
|
-
reconnectWithCompletionHandler$(completionHandler:
|
|
116
|
+
waitForStabilizationWithCompletionHandler$(completionHandler: ((error: _NSError) => void) | null): void;
|
|
117
|
+
disconnectWithReason$options$completionHandler$(localizedReason: _NSString, options: NSFileProviderManagerDisconnectionOptions, completionHandler: ((error: _NSError) => void) | null): void;
|
|
118
|
+
reconnectWithCompletionHandler$(completionHandler: ((error: _NSError) => void) | null): void;
|
|
117
119
|
/**
|
|
118
120
|
* Request that the system schedule a download for an item. The completion handler is called when the system acknowledges the download request, or with an error indicating why it didn't (e.g NSFileProviderErrorNoSuchItem.) The system will then call -fetchContentsForItemWithIdentifier at the earliest convenient time. Set rangeToMaterialize to NSMakeRange(offset, nbytes) to request a partial download. The system will then invoke -fetchPartialContentsForItemWithIdentifier instead of fetchContentsForItemWithIdentifier. For a full download, set rangeToMaterialize to NSMakeRange(NSNotFound, 0). -[NSFileProviderManager evictItemWithIdentifier:completionHandler:] must be called on a partially materialized file before requesting an extent to be downloaded from a later version of the file. This method cannot be used to download directories recursively. When invoked on a dataless directory, it will trigger an enumeration of the directory, causing a materialization of the directory one level down only. All the children of the directory will remain dataless after the enumeration.
|
|
119
121
|
*/
|
|
120
|
-
requestDownloadForItemWithIdentifier$requestedRange$completionHandler$(itemIdentifier: _NSString, rangeToMaterialize: NSRange, completionHandler:
|
|
122
|
+
requestDownloadForItemWithIdentifier$requestedRange$completionHandler$(itemIdentifier: _NSString, rangeToMaterialize: NSRange, completionHandler: ((error: _NSError) => void) | null): void;
|
|
121
123
|
/**
|
|
122
124
|
* A directory suitable for storing state information for the domain. The returned URL is guaranteed to be on the same volume as the user visible URL and the temporary URL, making sure the system can atomatically clone/move files from that location to the user visible URL. The caller is responsible for managing the security scope of the returned URL. When syncing a domain on an external volume, all information about the sync state must be kept in this directory if the volume is to be shared between multiple machines. If the system cannot find a suitable directory, this call will fail. This could happen e.g. if the domain does not exist or is in instance of initialization. This call will not fail when called from the extension process with an active instance of the extension for that domain unless the domain is being setup for the very first time (meaning it never existed). Removing the domain will remove the corresponding directory along with it.
|
|
123
125
|
*/
|
|
@@ -125,17 +127,17 @@ export declare class _NSFileProviderManager extends _NSObject {
|
|
|
125
127
|
/**
|
|
126
128
|
* Request diagnostics collection for the item. This will prompt the user about an issue with the sync in the provider and ask their permission to collection diagnostic information and to send them to Apple for further analysis. This call is to be used wisely with care given there's global throttling on it preventing spamming the users. Furthermore it should be used in collaboration with Apple when you detect a misbehavior in the sync in your provider likely caused by a system bug and you need to work with Apple in order to resolve it. This will return whether the call was allowed or not - not if it suceed This method will only return an error if the user was not on a Seed build It is mandatory to provide an error for the item why the collection is requested. The error won't be shown to the user (a generic message will be shown instead) It will surface in the generated report though It is important to note that even if the call is allowed, it might not trigger diagnostic collection nor prompt to the user depending on the system state and other throttling parameters
|
|
127
129
|
*/
|
|
128
|
-
requestDiagnosticCollectionForItemWithIdentifier$errorReason$completionHandler$(itemIdentifier: _NSString, errorReason: _NSError, completionHandler:
|
|
130
|
+
requestDiagnosticCollectionForItemWithIdentifier$errorReason$completionHandler$(itemIdentifier: _NSString, errorReason: _NSError, completionHandler: ((error: _NSError) => void) | null): void;
|
|
129
131
|
/**
|
|
130
132
|
* Request the specified known folders to be synced by this domain. This method allows the provider to claim a set of known folders described by the non-null properties of the knownFolders parameter. The system will only enable sync for those folders in that domain if the set of locations is valid and if the user agrees. This API should only be called as a result of the user requesting, via UI in the provider's application, that they wish to start syncing the Desktop and Document folders. If the provider chooses to implement a UI which invokes this API, the provider should also implement a UI for the user to request to stop syncing the Desktop and Document folders, using the `-[NSFileProviderManager releaseKnownFolders:localizedReason:completionHandler:]` method. The reason specified in this call is a custom string that the provider can pass and will be presented to the user as a way to explain why it is claiming those known folders. One suggested phrasing would be: > Keep your Desktop & Documents in sync with <Provider name> and access them from other devices and from <Provider website>. If the user denies the transition of the known folders, the call will fail with `NSUserCancelledError`. The call will fail if: - one or more locations are not folders - multiple locations are backed by the same folder - a known folder doesn't live on the same volume as the root of the domain - the known folders don't have the same parent folder - ... Currently, only claiming both ~/Desktop and ~/Documents together is allowed.
|
|
131
133
|
*/
|
|
132
|
-
claimKnownFolders$localizedReason$completionHandler$(knownFolders: _NSFileProviderKnownFolderLocations, localizedReason: _NSString, completionHandler:
|
|
134
|
+
claimKnownFolders$localizedReason$completionHandler$(knownFolders: _NSFileProviderKnownFolderLocations, localizedReason: _NSString, completionHandler: ((arg0: _NSError) => void) | null): void;
|
|
133
135
|
/**
|
|
134
136
|
* Request that the system stops replicating the specified known folders in the domain. This call can be used by the provider to immediately disable replication of the specified known folders.
|
|
135
137
|
*/
|
|
136
|
-
releaseKnownFolders$localizedReason$completionHandler$(knownFolders: NSFileProviderKnownFolders, localizedReason: _NSString, completionHandler:
|
|
138
|
+
releaseKnownFolders$localizedReason$completionHandler$(knownFolders: NSFileProviderKnownFolders, localizedReason: _NSString, completionHandler: ((arg0: _NSError) => void) | null): void;
|
|
137
139
|
/** Retrieve the service with the specified named for the specified item. */
|
|
138
|
-
getServiceWithName$itemIdentifier$completionHandler$(serviceName: NSFileProviderServiceName, itemIdentifier: _NSString, completionHandler:
|
|
140
|
+
getServiceWithName$itemIdentifier$completionHandler$(serviceName: NSFileProviderServiceName, itemIdentifier: _NSString, completionHandler: ((_Nullable_result: _NSFileProviderService, arg1: _NSError) => void) | null): void;
|
|
139
141
|
/**
|
|
140
142
|
* List the available operations. This lists all of the operations that are ready to be scheduled by the system. The system waits for all the pending disk and working set updates to be known before returning. The operations that are returned may become invalid if the system receives new disk or working set events, or if some operation are scheduled using -runTestingOperations:error:.
|
|
141
143
|
*/
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
2
2
|
import type { _NSProgress } from "../Foundation/NSProgress.js";
|
|
3
3
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
4
|
+
import type { _NSURL } from "../Foundation/NSURL.js";
|
|
5
|
+
import type { _NSFileProviderItem } from "./NSFileProviderItem.js";
|
|
4
6
|
import type { _NSFileProviderItemVersion } from "./NSFileProviderItemVersion.js";
|
|
5
7
|
import type { _NSFileProviderRequest } from "./NSFileProviderRequest.js";
|
|
6
8
|
import type { NSRange } from "../structs/NSRange.js";
|
|
7
9
|
import type { NSFileProviderFetchContentsOptions } from "./NSFileProviderFetchContentsOptions.js";
|
|
10
|
+
import type { NSFileProviderMaterializationFlags } from "./NSFileProviderMaterializationFlags.js";
|
|
8
11
|
export interface _NSFileProviderPartialContentFetching {
|
|
9
12
|
/**
|
|
10
13
|
* Download the requested extent of an item for the given identifier and return it via the completion handler. If this protocol is not implemented the system defaults to fetchContentsForItemWithIdentifier. The requestedVersion parameter specifies which version should be returned. This version will always be specified by the system so as to prevent extents from different versions from being written into the same file. The system tolerates a version mismatch for the first materialization of a fully dataless file (strictVersion=NO). The requested range is <location , length>. The implementation can provide any properly aligned range that covers the requested range (including the entire item). The system provides the minimal alignment value. The location (or start offset) of the fetched range should be a multiple of this value for it to be considered properly aligned. The length of the fetched range should be a multiple of this value, with an exception for the end of the file, checked against the documentSize attribute the implementation supplied for this item. The alignment value should not be expected to be stable across reboots. It is guaranteed by the system to be a power of two. In addition to the content the extension needs to fill in fetchedRange with either the requestest range, <location , length>, or indicate full materialization with, < 0, file size>. On-disk layout: --------------- The retrieved content at `fileContents` URL must be a regular file on the same volume as the user-visible URL. A suitable location can be retrieved using -[NSFileProviderManager temporaryDirectoryURLWithError:]. The file contents outside of the fetched range are ignored by the system. The system only requires the file to be at least as large as the end of the fetched range. For instance, if the fetchedRange is {offset:0x100000, length:0x1000}, the file size must be at least 0x101000 bytes. Any data (or lack thereof) beyond the fetched range is ignored. The fetched range must be stored in this file at the same offset as the range indicates. For instance if the retrievedRange is {offset:0x100000, length:0x1000} then it should actually be at offset 0x100000 in the `fileContents` file. The ranges {0, 0x100000}, and {0x101000, EOF} can be anything including sparse ranges. Concurrent Downloads: --------------- The system will call fetchContents concurrently if there are multiple outstanding file download requests. The provider can control the concurrency by setting the key NSExtensionFileProviderDownloadPipelineDepth in the Info.plist of the extension to the number of concurrent downloads that the system should create per domain. This number must be between 1 and 128, inclusive. File ownership: --------------- The system clones and unlinks the received fileContents. The extension should not mutate the corresponding file after calling the completion handler. If the extension wishes to keep a copy of the content, it must provide a clone of the that content as the URL passed to the completion handler. In case the extension or the system crashes between the moment the completion handler is called and the moment the system unlinks the file, the file may unexpectedly still be on disk the next time an instance of the extension is created. The extension is then responsible for deleting that file. Disallowing processes from fetching items: --------------- The system automatically downloads files on POSIX accesses. The extension may wish to disallow this class of downloads for specific applications. The extension can set an array of strings into the UserDefault key "NSFileProviderExtensionNonMaterializingProcessNames". A process whose executable's filename on disk is an exact match for an entry in this array will not be allowed to fetch items in the extension's domains. The comparison is case sensitive. In macOS 11.0 and later, this list will be checked when a download is initiated through a POSIX filesystem call. In macOS 11.4 and later, this list will also be checked for downloads initiated through file coordination. Error cases: ------------ If the download fails because the item is unknown, the call should fail with the NSFileProviderErrorNoSuchItem error. In that case, the system will consider the item has been removed from the domain and will attempt to delete it from disk. In case that deletion fails because there are local changes on this item, the system will re-create the item using createItemBasedOnTemplate. If the user does not have access to the content of the file, the provider can fail the call with NSCocoaErrorDomain and code NSFileReadNoPermissionError. That error will then be presented to the user. The extension can also report the NSFileProviderErrorNotAuthenticated, NSFileProviderErrorServerUnreachable in case the item cannot be fetched because of the current state of the system / domain. In those cases, the system will present an appropriate error message and back off until the next time it is signalled. If the requested version cannot be retrieved, the provider can choose to provide a different version of the file, unless NSFileProviderFetchContentsOptionsStrictVersioning is set. In this case, the provider should fail with NSFileProviderErrorVersionNoLongerAvailable. If some content is returned, the item must have the corresponding version. The system will detect any mismatch and handle it as a remote update. For the reading application, the materialization will fail with the same error as reading from a dataless file that got remotely updated (-1/errno=ESTALE). Upon retry the new version will be requested by the system. Any other error will be considered to be transient and will cause the download to be retried. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (nil, nil, someRange, 0, NSUserCancelledError) in the NSProgress cancellation handler. The returned NSProgress is used to show progress to the user. If the user cancels the fetch, the extension should stop fetching the item, as it is no longer required. Execution time: --------------- The system will grant enough time to the extension to download the file. The system will interrupt the call if it stops making progress or if download takes an unexpectedly long time. In that case, the system will call `cancel` on the progress. The extension is then expected to quickly call the completion handler.
|
|
11
14
|
*/
|
|
12
|
-
fetchPartialContentsForItemWithIdentifier$version$request$minimalRange$aligningTo$options$completionHandler$?(itemIdentifier: _NSString, requestedVersion: _NSFileProviderItemVersion, request: _NSFileProviderRequest, requestedRange: NSRange, alignment: number, options: NSFileProviderFetchContentsOptions, completionHandler:
|
|
15
|
+
fetchPartialContentsForItemWithIdentifier$version$request$minimalRange$aligningTo$options$completionHandler$?(itemIdentifier: _NSString, requestedVersion: _NSFileProviderItemVersion, request: _NSFileProviderRequest, requestedRange: NSRange, alignment: number, options: NSFileProviderFetchContentsOptions, completionHandler: ((fileContents: _NSURL, item: _NSFileProviderItem, retrievedRange: NSRange, flags: NSFileProviderMaterializationFlags, error: _NSError) => void) | null): _NSProgress;
|
|
13
16
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSFileProviderDomain } from "./NSFileProviderDomain.js";
|
|
3
2
|
import type { _NSFileProviderEnumerating } from "./NSFileProviderEnumerating.js";
|
|
4
3
|
import type { _NSFileProviderItem } from "./NSFileProviderItem.js";
|
|
5
4
|
import type { _NSFileProviderItemVersion } from "./NSFileProviderItemVersion.js";
|
|
6
5
|
import type { _NSFileProviderRequest } from "./NSFileProviderRequest.js";
|
|
6
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
7
7
|
import type { _NSProgress } from "../Foundation/NSProgress.js";
|
|
8
8
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
9
9
|
import type { _NSURL } from "../Foundation/NSURL.js";
|
|
@@ -21,33 +21,33 @@ export interface _NSFileProviderReplicatedExtension extends _NSFileProviderEnume
|
|
|
21
21
|
/**
|
|
22
22
|
* Fetch the metadata for the item with the provider identifier. Error cases: ------------ If the metadata lookup fails because the item is unknown, the call should fail with the NSFileProviderErrorNoSuchItem error. In that case, the system will consider the item has been removed from the domain and will attempt to delete it from disk. In case that deletion fails because there are local changes on this item, the system will re-create the item using createItemBasedOnTemplate. The extension can also report the NSFileProviderErrorNotAuthenticated, NSFileProviderErrorServerUnreachable in case the item cannot be fetched because of the current state of the system / domain. In that case, the system will present an appropriate error message and back off until the next time it is signalled. Any other error, including crashes of the extension process, will be considered to be transient and will cause the lookup to be retried. Errors must be in one of the following domains: NSCocoaErrorDomain, NSFileProviderErrorDomain. For errors which can not be represented using an existing error code in one of these domains, the extension should construct an NSError with domain NSCocoaErrorDomain and code NSXPCConnectionReplyInvalid. The extension should set the NSUnderlyingErrorKey in the NSError's userInfo to the error which could not be represented. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (nil, NSUserCancelledError) in the NSProgress cancellation handler. Execution time: --------------- This method is not expected to take more than a few seconds to complete the retrieval of the metadata of the item. If the operation may not complete in a reasonable amount of time because, for instance, of bad network conditions, it is recommended to report an error (for instance NSFileProviderErrorServerUnreachable). The system will call `cancel` on the progress if the operation takes too much time. The extension is then expected to quickly call the completion handler.
|
|
23
23
|
*/
|
|
24
|
-
itemForIdentifier$request$completionHandler$?(identifier: _NSString, request: _NSFileProviderRequest, completionHandler:
|
|
24
|
+
itemForIdentifier$request$completionHandler$?(identifier: _NSString, request: _NSFileProviderRequest, completionHandler: ((arg0: _NSFileProviderItem, arg1: _NSError) => void) | null): _NSProgress;
|
|
25
25
|
/**
|
|
26
26
|
* Download the item for the given identifier and return it via the completion handler. The system learns of items through enumerations. Initially, this means that the system is aware that an item (with a specific version) exists on the device. When the user accesses the item, the system makes a request for the contents of the item. The provider can then fulfill the request by providing the item. The system takes ownership of the item and will move it out of the sandbox of the provider. If the provider wishes to force materialization of a given item, the provider should use `-[NSFileProviderManager requestDownloadForItemWithIdentifier:requestedRange:completionHandler:]`, or configure the `-[NSFileProviderItem contentPolicy]`. The requestedVersion parameter specifies which version should be returned. A nil value means that the latest known version should be returned. Except for the error case, the version of the returned item is assumed to be identical to what was requested. requestedVersion is currently always set to nil. Concurrent Downloads: ---------- The system will call fetchContents concurrently if there are multiple outstanding file download requests. The provider can control the concurrency by setting the key NSExtensionFileProviderDownloadPipelineDepth in the Info.plist of the extension to the number of concurrent downloads that the system should create per domain. This number must be between 1 and 128, inclusive. File ownership: --------------- The retrieved content at `fileContents` URL must be a regular file on the same volume as the user-visible URL. A suitable location can be retrieved using -[NSFileProviderManager temporaryDirectoryURLWithError:]. The system clones and unlinks the received fileContents. The extension should not mutate the corresponding file after calling the completion handler. If the extension wishes to keep a copy of the content, it must provide a clone of the that content as the URL passed to the completion handler. In case the extension or the system crashes between the moment the completion handler is called and the moment the system unlinks the file, the file may unexpectedly still be on disk the next time an instance of the extension is created. The extension is then responsible for deleting that file. Disallowing processes from fetching items: --------------- The system automatically downloads files on POSIX accesses. The extension may wish to disallow this class of downloads for specific applications. The extension can set an array of strings into the UserDefault key "NSFileProviderExtensionNonMaterializingProcessNames". A process whose executable's filename on disk is an exact match for an entry in this array will not be allowed to fetch items in the extension's domains. The comparison is case sensitive. In macOS 11.0 and later, this list will be checked when a download is initiated through a POSIX filesystem call. In macOS 11.4 and later, this list will also be checked for downloads initiated through file coordination. Error cases: ------------ If the download fails because the item was deleted on the server, the call should fail with the NSFileProviderErrorNoSuchItem error. In that case, the system will consider the item has been removed from the domain and will attempt to delete it from disk. In case that deletion fails because there are local changes on this item, the system will re-create the item using createItemBasedOnTemplate, passing the NSFileProviderCreateItemDeletionConflicted flag. If the user does not have access to the content of the file, the provider can fail the call with NSCocoaErrorDomain and code NSFileReadNoPermissionError. That error will then be presented to the user. The extension can also report the NSFileProviderErrorNotAuthenticated, NSFileProviderErrorServerUnreachable in case the item cannot be fetched because of the current state of the system / domain. In those cases, the system will present an appropriate error message and back off until the next time it is signalled. Any other error, including crashes of the extension process, will be considered to be transient and will cause the download to be retried. Errors must be in one of the following domains: NSCocoaErrorDomain, NSFileProviderErrorDomain. For errors which can not be represented using an existing error code in one of these domains, the extension should construct an NSError with domain NSCocoaErrorDomain and code NSXPCConnectionReplyInvalid. The extension should set the NSUnderlyingErrorKey in the NSError's userInfo to the error which could not be represented. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (nil, nil, NSUserCancelledError) in the NSProgress cancellation handler. The returned NSProgress is used to show progress to the user. If the user cancels the fetch, the extension should stop fetching the item, as it is no longer required. Execution time: --------------- The system will grant enough time to the extension to download the file. The system will interrupt the call if it stops making progress or if download takes an unexpectedly long time. In that case, the system will call `cancel` on the progress. The extension is then expected to quickly call the completion handler.
|
|
27
27
|
*/
|
|
28
|
-
fetchContentsForItemWithIdentifier$version$request$completionHandler$?(itemIdentifier: _NSString, requestedVersion: _NSFileProviderItemVersion | null, request: _NSFileProviderRequest, completionHandler:
|
|
28
|
+
fetchContentsForItemWithIdentifier$version$request$completionHandler$?(itemIdentifier: _NSString, requestedVersion: _NSFileProviderItemVersion | null, request: _NSFileProviderRequest, completionHandler: ((fileContents: _NSURL, item: _NSFileProviderItem, error: _NSError) => void) | null): _NSProgress;
|
|
29
29
|
/**
|
|
30
30
|
* Create a new item. The itemTemplate object describes the expected state of the newly created item, including its location provided by parentItemIdentifier and filename. The list of fields to conside in that object is defined by the fields parameter. Fields not listed should be considered as not being defined. The url is used to transfer the content of the file from the system to the extension. It can be nil if the item has no content. This will be the case if the item is a folder or if the item is being reimported (flag NSFileProviderCreateItemMayAlreadyExist set) and the file is dataless on disk. If the item is a symbolic link, the target path is provided by the symlinkTargetPath of the itemTemplate. The system is setting the itemIdentifier of the itemTemplate to a unique value that is guaranteed to stay the same for a given item in case the creation is replayed after a crash. That itemIdentifier is not intended to be the identifier assigned to the item by the provider. In the completion block, the createdItem is expected to reflect the properties of the newly created item, which usually means matching the properties passed in by the template. An exception is the itemIdentifier which should be the identifier assigned to that item by the provider rather than the identifier passed in through the template. If the provider reuses an existing identifier, the item that used that identifier will be removed from disk, replaced by the createdItem. If the item is a directory, the two directories will be merged and the items from the existing one will be modified with the NSFileProviderModifyItemMayAlreadyExist option set. If the provider is not able to apply all the fields at once, it should return a set of stillPendingFields in its completion handler. In that case, the system will attempt to modify the item later by calling modifyItem with those fields. The filename and contents fields should be synced together. If synced independently, files may appear corrupted on other devices, due to a mismatch between the file extension and the actual file data. If a field in the returned createdItem does not match the itemTemplate, and is not in the list of stillPendingFields, the value from the createdItem will be propagated to the disk. If the content of the item as described by createdItem does not match the content from url, the provider should set shouldFetchContent in the completion handler. The content from the provider will then be fetched and propagated to disk. In case the deletion of an item from the working set could not be applied to the disk by the system because it conflicted with a local edit of the file, the system will attempt to create the edited item. In that case the creation call will receive the NSFileProviderCreateItemDeletionConflicted option and the itemIdentifier in the template will be set to the itemIdentifier of the item deleted from the working set. The itemVersion will also be set to the last itemVersion of the item that was made available on disk before the item was edited locally. If such a conflict happens on a dataless item on disk, the item will be immediately deleted from the disk instead of issuing a new creation. In case the NSFileProviderCreateItemMayAlreadyExist option is passed, the content may be nil if the item is found by the system without any associated content. In that case, you should return a nil item if you are not able to match the created item with an existing item from the provider. In case of path collision with an already existing item, the provider can either fail using -[NSError (NSFileProviderError) fileProviderErrorForCollisionWithItem:] or resolve the collision by itself (e.g. by returning an item with a different name). If the error is returned, the system will try to resolve the collision by itself by bouncing away one of the items (renaming the item). If the imported item is refused by the extension, it should return nil for the createdItem without any error. In that case, the source item will be deleted from disk. In case the item represents a directory, the content will be deleted recursively. If the extension does not wish to sync the item, while still keeping the item on disk, on macOS 13.0, iOS 16.0, and later, it should return `NSFileProviderErrorExcludedFromSync` on the completion handler. For more details, see the header comment for that error code. On earlier versions of macOS, where `NSFileProviderErrorExcludedFromSync` is unavailable, the extension could choose to respond to FileProvider API calls as if the item is synced to it's server, but the extension only tracks the item in it's own local database on the device. The extension must be careful to respond to all FileProvider API calls as if the file is really synced to it's server, including enumerations of the parent directory of that item, itemForIdentifier calls, etc. The progress returned by createItemBasedOnTemplate is expected to include the upload progress of the item and will be presented in the user interface until the completion handler is called. Creation is gated by the NSFileProviderItemCapabilitiesAllowsAddingSubItems capability on the parent folder on a UI level, but direct file system changes (e.g. from Terminal) can still result in changes that must be handled. Structural consistency: ----------------------- The system guarantees that the creation is called after the creation of the parent completed. File ownership: --------------- The file at `url` is owned by the system and is unlinked after the completion handler is called. If the extension wishes to keep access to the content of file after calling the completion handler, it should clone the file in its container. Atomicity: ---------- By default, the system assumes all the changes are applied non-atomically, which means that the change or an intermediary state from the change can be observed (for instance while enumerating the working set) while the call is in progress (before the completion handler is called). The provider can indicate to the system that it applies changes atomically (that is, the change cannot be observed before the completion handler is called) by setting the key NSExtensionFileProviderAppliesChangesAtomically in the Info.plist of the extension to YES. The atomicity declaration only describes the visibility of the changes, not the ability of the provider to apply all the fields at once: a provider that applies changes atomically might still apply a subset of the changedFields communicated by the system and defer the remaining fields by setting the stillPendingFields parameter in the completion handler. Error cases: ------------ If the creation fails because the target directory does not exist, the extension must fail the creation using the NSFileProviderErrorNoSuchItem error code. In that case, the system will attempt the re-create the parent directory. In case the location of the new item is already in use by another item, the extension can chose to either resolve the collision by moving one of the items away, or reject the creation with the NSFileProviderErrorFilenameCollision error code. In that error case, the system will be responsible for resolving the collision, by renaming one of the colliding items. When the collision is resolved, the system will call createItemBasedOnTemplate again. The extension can also report NSFileProviderErrorNotAuthenticated, NSFileProviderErrorCannotSynchronize, or NSFileProviderErrorExcludedFromSync, in case the modification cannot be applied because of the current state of the system / domain. In that case, the system will present an appropriate error message and back off until the next time it is signalled. The provider can signal the error resolution by calling signalErrorResolved:completionHandler:. Any other error, including crashes of the extension process, will be considered to be transient and will cause the creation to be retried. Errors must be in one of the following domains: NSCocoaErrorDomain, NSFileProviderErrorDomain. For errors which can not be represented using an existing error code in one of these domains, the extension should construct an NSError with domain NSCocoaErrorDomain and code NSXPCConnectionReplyInvalid. The extension should set the NSUnderlyingErrorKey in the NSError's userInfo to the error which could not be represented. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (nil, [], NO, NSUserCancelledError) in the NSProgress cancellation handler. Execution time: --------------- The system will grant enough time to the extension to upload the file if content is passed to the call, otherwise the call is expected to completed within a few seconds. The system will interrupt the call if it stops making progress or if upload takes an unexpectedly long time. In that case, the system will call `cancel` on the progress. The extension is then expected to quickly call the completion handler.
|
|
31
31
|
*/
|
|
32
|
-
createItemBasedOnTemplate$fields$contents$options$request$completionHandler$?(itemTemplate: _NSFileProviderItem, fields: NSFileProviderItemFields, url: _NSURL | null, options: NSFileProviderCreateItemOptions, request: _NSFileProviderRequest, completionHandler:
|
|
32
|
+
createItemBasedOnTemplate$fields$contents$options$request$completionHandler$?(itemTemplate: _NSFileProviderItem, fields: NSFileProviderItemFields, url: _NSURL | null, options: NSFileProviderCreateItemOptions, request: _NSFileProviderRequest, completionHandler: ((createdItem: _NSFileProviderItem, stillPendingFields: NSFileProviderItemFields, shouldFetchContent: boolean, error: _NSError) => void) | null): _NSProgress;
|
|
33
33
|
/**
|
|
34
34
|
* Informs the provider that an item or its metadata have changed. More than one property may have changed, e.g. an item may have been renamed, moved and also changed contents, in which case changedFields might contain [.contents, .filename, .parentItemIdentifier, .contentModificationDate]. If the provider is not able to apply all the fields at once, it should return a set of stillPendingFields in its completion handler. In that case, the system will attempt to modify the item later by calling modifyItem with those fields. The filename and contents fields should be synced together. If synced independently, files may appear corrupted on other devices, due to a mismatch between the file extension and the actual file data. Starting in macOS 12.0, if the set of stillPendingFields returned by the provider is identical to the set of fields passed to modifyItem, then the system will consider that these fields are not supported by the provider. The system will not send these fields to the provider again, until the item is modified. If a field in the returned item does not match the itemTemplate, and is not in the list of stillPendingFields, the value from the item will be propagated to the disk. In case there is a content change and the content of the returned item as described by item does not match the content from url, the provider should set shouldFetchContent in the completion handler. The content from the provider will then be fetched and propagated to disk. If the item modification results from the parent directory being merged into another directory, the NSFileProviderModifyItemMayAlreadyExist flag will be passed to the call. The provider can chose to merge two existing items when receiving modifyItem. In that case, the item returned should carry the itemIdentifier of the item with which the item will be merged and well as the resulting state of that item. The system will then keep one of the items (the one whose itemIdentifier was returned) and remove the other one from disk. In case of directories, the content of the two directories is merged and sub-items will be modified with the NSFileProviderModifyItemMayAlreadyExist flag set. If the extension wishes the modify item to cause the deletion of the item on disk, it can call the completion handler with nil in place of the resulting item. If the item is directory, the item will be kept on disk until all its children has been deleted from the working set. The system will only apply the deletion on the disk if this does not conflict with local edits. Otherwise, the system will attempt to re-create the item with the NSFileProviderCreateItemDeletionConflicted option set. The progress returned by modifyItem is expected to include the upload progress if any, even if the provider chose to call the completion handler before the upload finishes. For example, the provider might decide to call the completion handler as soon as the metadata have been stored in a local database. Modifications are gated by the corresponding capabilities of the item on a UI level, but direct file system changes (e.g. from Terminal) can still result in changes that must be handled. Conflict resolution: ------------------- The system passes a `baseVersion` parameter to the modifyItem call. This baseVersion describes the latest version of the file which was reflected on disk. This parameter can be used to detect conflicts with remote edits. For instance, if content version A of the file was downloaded to the local system, and the content was modified locally, the modifyItem call will receive baseVersion of A. If the server has in the meantime received another content edit of the same file, the server may have content version C. In this case, the extension can detect the mismatching baseVersion, and decide how to resolve the conflict. The extension informs the system of how it wishes to resolve the conflict by returning the resolved metadata on the completion handler. As an example resolution, if the extension informs that it wishes for the remote version of the item to be on disk (and to ignore the local edits), it should return the new contentVersion in the completion handler's item. The system will subsequently call fetchContents to retrieve the new contents and replace them on disk. The `baseVersion` might contain one or both component set to `+[NSFileProviderItemVersion beforeFirstSyncComponent]`, in case there has never been a version for which the item on disk and the item in the provider were known to be in sync. Structural consistency and Cycle handling: ------------------------------------------ In case the parentItemIdentifier is modified, the system guarantees that the new parent has been created and the creation completed before the call to modifyItem is issued. The system guarantees that modifyItem called after local changes from the user will never create a cycle: that is all items will always be a descendent of either the root item or the trash item. However, cycles that are caused by concurrent local changes by the user and changes on the remote server can also create cycles. This is handled by the system as a conflict. This means the provider must validate that the call of modifyItem is not creating a cycle with a change it observed from the server. If such a cycle is detected, the provider must fix the conflict by breaking the cycle, and return the state of the item after resolving that conflict. If the resolution affects other items as well, updates for those other items must be published on the working set. File ownership: --------------- The file at `url` is owned by the system and is unlinked after the completion handler is called. If the extension wishes to keep access to the content of file after calling the completion handler, it should clone the file in its container. Atomicity: ---------- By default, the system assumes all the changes are applied non-atomically, which means that the change or an intermediary state from the change can be observed (for instance while enumerating the working set) while the call is in progress (before the completion handler is called). The provider can indicate to the system that it applies changes atomically (that is, the change cannot be observed before the completion handler is called) by setting the key NSExtensionFileProviderAppliesChangesAtomically in the Info.plist of the extension to YES. The atomicity declaration only describes the visibility of the changes, not the ability of the provider to apply all the fields at once: a provider that applies changes atomically might still apply a subset of the changedFields communicated by the system and defer the remaining fields by setting the stillPendingFields parameter in the completion handler. Error cases: ------------ The extension may fail the modification if the modified item does not exist anymore. In that case, the extension should fail the call the NSFileProviderErrorNoSuchItem error code. The system will attempt to delete the item on disk. If the item on disk actually has changes since this call to modifyItem, then it will be re-created by a call to createItemBasedOnTemplate. Likewise, if the item is reparented to a parent that no longer exists, the extension may return a NSFileProviderErrorNoSuchItem error with the parent item. In case the modification updates the location of the item and another item is already known at this location, the extension can chose to either resolve the collision by moving one of the items away, or reject the modification with the NSFileProviderErrorFilenameCollision error code. In that error case, the system will be responsible for resolving the collision, by renaming one of the colliding items. When the collision is resolved, the system will call modifyItem again. In case the NSFileProviderModifyItemFailOnConflict option is passed, the provider should fail the modification if the baseVersion does not match the version on the server. It will be up to the system to merge the conflict and call modifyItem again with an updated baseVersion. The extension can also report NSFileProviderErrorNotAuthenticated, NSFileProviderErrorCannotSynchronize, or NSFileProviderErrorExcludedFromSync, in case the modification cannot be applied because of the current state of the system / domain. In that case, the system will present an appropriate error message and back off until the next time it is signalled. The provider can signal the error resolution by calling signalErrorResolved:completionHandler:. Any other error, including crashes of the extension process, will be considered to be transient and will cause the modification to be retried. Errors must be in one of the following domains: NSCocoaErrorDomain, NSFileProviderErrorDomain. For errors which can not be represented using an existing error code in one of these domains, the extension should construct an NSError with domain NSCocoaErrorDomain and code NSXPCConnectionReplyInvalid. The extension should set the NSUnderlyingErrorKey in the NSError's userInfo to the error which could not be represented. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (nil, [], NO, NSUserCancelledError) in the NSProgress cancellation handler. Execution time: --------------- The system will grant enough time to the extension to upload the file if content is passed to the call, otherwise the call is expected to completed within a few seconds. The system will interrupt the call if it stops making progress or if upload takes an unexpectedly long time. In that case, the system will call `cancel` on the progress. The extension is then expected to quickly call the completion handler.
|
|
35
35
|
*/
|
|
36
|
-
modifyItem$baseVersion$changedFields$contents$options$request$completionHandler$?(item: _NSFileProviderItem, version: _NSFileProviderItemVersion, changedFields: NSFileProviderItemFields, newContents: _NSURL | null, options: NSFileProviderModifyItemOptions, request: _NSFileProviderRequest, completionHandler:
|
|
36
|
+
modifyItem$baseVersion$changedFields$contents$options$request$completionHandler$?(item: _NSFileProviderItem, version: _NSFileProviderItemVersion, changedFields: NSFileProviderItemFields, newContents: _NSURL | null, options: NSFileProviderModifyItemOptions, request: _NSFileProviderRequest, completionHandler: ((item: _NSFileProviderItem, stillPendingFields: NSFileProviderItemFields, shouldFetchContent: boolean, error: _NSError) => void) | null): _NSProgress;
|
|
37
37
|
/**
|
|
38
38
|
* Delete an item forever. This is called when the user deletes an item that was already in the Trash and the item should no longer appear there after this call. This call should remove the item from the working set. This call receives an optional baseVersion which represent the version of the item we are trying to delete. Unless the NSFileProviderDeleteItemRecursive options is passed, the deletion of a directory should be non-recursive. If the deletion is recursive the provider should take care of reporting the deletion of all the deleted items through the working set. Delete is gated by the capabilities of the removed item with NSFileProviderItemCapabilitiesAllowsDeleting. Modifications are gated by NSFileProviderItemCapabilitiesAllowsDeleting of the item on a UI level, but direct file system changes (e.g. from Terminal) can still result in changes that must be handled. Atomicity: ---------- By default, the system assumes all the changes are applied non-atomically, which means that the change or an intermediary state from the change can be observed (for instance while enumerating the working set) while the call is in progress (before the completion handler is called). The provider can indicate to the system that it applies changes atomically (that is, the change cannot be observed before the completion handler is called) by setting the key NSExtensionFileProviderAppliesChangesAtomically in the Info.plist of the extension to YES. Error cases: ------------ The extension may fail the deletion in different scenarios, for instance because the baseVersion is out of date or because the user does not have permissions to delete the item. In that case the extension should fail the call with the NSFileProviderErrorDeletionRejected error code which will cause the system to re-create the deleted item on disk based on the latest metadata available from the extension. If the options don't include NSFileProviderDeleteItemRecursive and the deletion targets a non-empty directory, the extension must reject the deletion with the NSFileProviderErrorDirectoryNotEmpty error code. This error can also be reported in case some children of the directory cannot be deleted when receiving the NSFileProviderDeleteItemRecursive option. In both cases, the system will re-create the deleted item on disk based on the latest metadata available from the extension. If the deletion targets an item that is unknown from the extension because that item may have already been deleted remotely, then the extension should report a success. The extension can also report the NSFileProviderErrorNotAuthenticated, NSFileProviderErrorServerUnreachable, or NSFileProviderErrorCannotSynchronize in case the deletion cannot be applied because of the current state of the system / domain. In that case, the system will present an appropriate error message and back off until the next time it is signalled. Any other error, including crashes of the extension process, will be considered to be transient and will cause the deletion to be retried. Errors must be in one of the following domains: NSCocoaErrorDomain, NSFileProviderErrorDomain. For errors which can not be represented using an existing error code in one of these domains, the extension should construct an NSError with domain NSCocoaErrorDomain and code NSXPCConnectionReplyInvalid. The extension should set the NSUnderlyingErrorKey in the NSError's userInfo to the error which could not be represented. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (NSUserCancelledError) in the NSProgress cancellation handler. Execution time: --------------- This call is not expected to take more than a few seconds to complete. The system will interrupt the call if it stops making progress or if the deletion takes an unexpectedly long time. In that case,the system will call `cancel` on the progress. The extension is then expected to quickly call the completion handler.
|
|
39
39
|
*/
|
|
40
|
-
deleteItemWithIdentifier$baseVersion$options$request$completionHandler$?(identifier: _NSString, version: _NSFileProviderItemVersion, options: NSFileProviderDeleteItemOptions, request: _NSFileProviderRequest, completionHandler:
|
|
40
|
+
deleteItemWithIdentifier$baseVersion$options$request$completionHandler$?(identifier: _NSString, version: _NSFileProviderItemVersion, options: NSFileProviderDeleteItemOptions, request: _NSFileProviderRequest, completionHandler: ((arg0: _NSError) => void) | null): _NSProgress;
|
|
41
41
|
/**
|
|
42
42
|
* Signal the end of import of on-disk items. This is called after a reimport of on-disk items has been triggered by either `-[NSFileProviderManager reimportItemsBelowItemWithIdentifier:completionHandler:]` or after a new domain is created using `+[NSFileProviderManager importDomain:fromDirectoryAtURL:completionHandler:]` or `+[NSFileProviderManager addDomain:completionHandler:]`. `reimport` can also be started by the system independently from any request by the provider. The provider can detect those events by monitoring `-[NSFileProviderDomain backingStoreIdentity]`. During import, found items will be created via the -[NSFileProviderExtension createItemBasedOnTemplate:fields:contents:options:completionHandler:] call with the NSFileProviderCreateItemMayAlreadyExist flag set. At the end of an import the -[NSFileProviderExtension importDidFinishWithCompletionHandler:] is called. The system will attempt to import items as they are accessed by the user or applications. Import of the other items is scheduled by the system as a background task. That task may be delayed, for instance in low-power situations, or when the system is under heavy load. The provider can force the system to process a folder and its direct children by issuing a coordination request on that folder. Execution time: --------------- This call is not expected to take more than a few seconds to complete.
|
|
43
43
|
*/
|
|
44
|
-
importDidFinishWithCompletionHandler$?(completionHandler:
|
|
44
|
+
importDidFinishWithCompletionHandler$?(completionHandler: () => void): void;
|
|
45
45
|
/**
|
|
46
46
|
* Called by the system if the set of materialized items changes. Materialized items are items that have synced to disk and are not dataless. They may contain a mix of dataless and materialized files and directories, but in any case, all their children are represented on disk. Traversals of dataless directories by applications trigger an enumeration against the file provider extension; traversals of materialized directories do not. It is the responsability of the file provider extension to notify the system on remote changes of these files: there is no alternative cache invalidation mechanism. If the extension doesn't keep track of the materialized set, it will have to notify the system of all remote changes. In that case the working set is the entire dataset. The system may drop items whose parent isn't materialized, to avoid unnecessary disk usage. This saves some I/O, but isn't optimal. The filtering by parentItemIdentifier is better done in the extension; ideally, it would even be done server-side. A hybrid model is possible, where some filtering is done server-side, and some finer filtering is done client-side. The file provider extension should therefore keep a list of the identifiers of the materialized directories. This method is called when a new directory is materialized or when a materialized directory is rendered dataless. To enumerate the set of materialized containers, - Call -enumeratorForMaterializedItems on the instance of NSFileProviderManager corresponding to your domain; - Implement the NSFileProviderEnumerationObserver and NSFileProviderChangeObserver on an object; - Pass that object to the enumerator; - Use the identifiers of items or changes you receive to note the materialization status in your database. When an item is created, modified or deleted remotely, the file provider extension should check whether its parentItemIdentifier is in the materialized set. If it is, the extension needs to inform the system so the system may create, modify or delete the file or directory (initially dataless) on disk. In the case when an item is reparented, the test should be that either the new or the old parentItemIdentifier is in the materialized set. No need to pretend that the iten was deleted if the new parentItemIdentifier is no longer in the materialized set: the system will know what to do with an unknown parent identifier. To notify the system of this created, modified or deleted item, - Call -signalEnumeratorForContainerItemIdentifier: on the working set, i.e the container identified by NSFileProviderWorkingSetContainerItemIdentifier; - Include this item in the next enumeration of the working set. Since this method is called on every change of the set of materialized items, it is advisable to use it to set a flag and perform any resulting work as a timed task rather than performing any work directly. Execution time: --------------- This call is not expected to take more than a few seconds to complete.
|
|
47
47
|
*/
|
|
48
|
-
materializedItemsDidChangeWithCompletionHandler$?(completionHandler:
|
|
48
|
+
materializedItemsDidChangeWithCompletionHandler$?(completionHandler: () => void): void;
|
|
49
49
|
/**
|
|
50
50
|
* Called by the system when the set of pending items is refreshed. The pending enumerator lists all the items for which a change has been observed either on the disk or in the working set more than one second ago and that change hasn't been applied on the other side yet. An item can appear in the pending set for various reasons: - the system is under load and cannot process all the events in a timely fashion - a long running operation is scheduled or running for the item to be in sync (for instance, the download or the upload of a new content) - an error occurred, in which case the error will be set on the item as `downloadError` if it occurred when applying a change to the disk, or `uploadError` in the other way around. The pending set will only include items that comply to the following rules: - They have been queued for changes for more time than the refresh interval; - The items are already known by the provider. These constraints imply that initial transfer of a file from the disk to the provider will not be listed in the pending set, even though the transfer could take several minutes to complete Furthermore, the pending set can only contain a limited number of items. The pending set provides an easy way to design an "in progress" UI containing a few items and to detect whether there's any activity pending on the system. In case the pending set reached its maximum size items, newly pending items won't be included in it. Already present items in the pending set will remain until they no longer are pending. The pending set is refreshed regurlary but only if there are meaningful changes: new pending items, items that were pending but are not anymore (deletions from the set), or domain version changed and set is not empty To enumerate the set of pending items, - Call -enumeratorForPendingItems on the instance of NSFileProviderManager corresponding to your domain; - Implement the NSFileProviderEnumerationObserver and NSFileProviderChangeObserver on an object; - Pass that object to the enumerator; - It will get called upon change to the set. This method is regularly called when changes happen to the pending set. implementeers are advised that this call will not happen as soon as an item is pending. Thus, implementeers should not use the pending set to detect when a change happens. The pending set will only contain items that were pending for a least one second before the last refresh date. Execution time: --------------- This call is not expected to take more than a few seconds to complete.
|
|
51
51
|
*/
|
|
52
|
-
pendingItemsDidChangeWithCompletionHandler$?(completionHandler:
|
|
52
|
+
pendingItemsDidChangeWithCompletionHandler$?(completionHandler: () => void): void;
|
|
53
53
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
2
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
2
3
|
import type { _NSProgress } from "../Foundation/NSProgress.js";
|
|
3
4
|
import type { _NSString } from "../Foundation/NSString.js";
|
|
4
5
|
export interface _NSFileProviderServicing {
|
|
5
6
|
/**
|
|
6
7
|
* A file provider can implemement this method to return service sources that provide custom communication channels to client applications. The service sources must be tied to the item identified by Client applications can retrieve the list of supported services by calling getFileProviderServicesForItemAtURL:] for a specific item URL. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (nil, NSUserCancelledError) in the NSProgress cancellation handler. Execution time: --------------- This method is not expected to take more than a few seconds to complete the retrieval of the thumbnails. The system will call `cancel` on the progress if the operation takes too much time. The extension is then expected to quickly call the completion handler.
|
|
7
8
|
*/
|
|
8
|
-
supportedServiceSourcesForItemIdentifier$completionHandler$?(itemIdentifier: _NSString, completionHandler:
|
|
9
|
+
supportedServiceSourcesForItemIdentifier$completionHandler$?(itemIdentifier: _NSString, completionHandler: ((arg0: _NSArray, arg1: _NSError) => void) | null): _NSProgress;
|
|
9
10
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import type { NobjcObject } from "objc-js";
|
|
2
1
|
import type { _NSArray } from "../Foundation/NSArray.js";
|
|
2
|
+
import type { _NSData } from "../Foundation/NSData.js";
|
|
3
|
+
import type { _NSError } from "../Foundation/NSError.js";
|
|
3
4
|
import type { _NSProgress } from "../Foundation/NSProgress.js";
|
|
5
|
+
import type { _NSString } from "../Foundation/NSString.js";
|
|
4
6
|
import type { CGSize } from "../structs/CGSize.js";
|
|
5
7
|
export interface _NSFileProviderThumbnailing {
|
|
6
8
|
/**
|
|
7
9
|
* The system calls this method to fetch thumbnails. The should be called for each thumbnail, and only after all the per thumbnail completion blocks. In the event of a global error, the implementation is allowed to skip calling the for individual thumbnails. In that case, the error parameter would apply to all item identifiers for which had not been called. If there is no thumbnail for a given item, the should be called with its and parameters both set to nil. If the system decides that an in-flight thumbnail request is not needed anymore, it will call the returned object's method, at which time the implementation should clean up any held resources. The system will cache the thumbnail for the item, and the cache will be invalidated when itemVersion.contentVersion changes. Thread safety: ------------ The may be called from multiple threads concurrently. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (NSUserCancelledError) in the NSProgress cancellation handler. Execution time: --------------- This method is not expected to take more than a few tens seconds to complete the retrieval of the services exposed on the item. The system will call `cancel` on the progress if the operation takes too much time. The extension is then expected to quickly call the completion handler.
|
|
8
10
|
*/
|
|
9
|
-
fetchThumbnailsForItemIdentifiers$requestedSize$perThumbnailCompletionHandler$completionHandler$?(itemIdentifiers: _NSArray, size: CGSize, perThumbnailCompletionHandler:
|
|
11
|
+
fetchThumbnailsForItemIdentifiers$requestedSize$perThumbnailCompletionHandler$completionHandler$?(itemIdentifiers: _NSArray, size: CGSize, perThumbnailCompletionHandler: ((identifier: _NSString, imageData: _NSData, error: _NSError) => void) | null, completionHandler: ((error: _NSError) => void) | null): _NSProgress;
|
|
10
12
|
}
|