peachsim 0.1.1744 → 0.1.1801
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -28
- package/cli/account-gate.ts +97 -0
- package/cli/app-catalog.ts +24 -0
- package/cli/app-stubs.ts +7 -0
- package/cli/auth.ts +48 -18
- package/cli/bin.ts +35 -2
- package/cli/bridge-flow-runner.ts +174 -6
- package/cli/cloud-dispatch.ts +0 -3
- package/cli/command-registry.ts +2 -6
- package/cli/commands/auth.ts +68 -3
- package/cli/commands/compat.ts +1116 -0
- package/cli/commands/control.ts +90 -13
- package/cli/commands/coverage.ts +85 -116
- package/cli/commands/detox.ts +20 -20
- package/cli/commands/device.ts +31 -27
- package/cli/commands/doctor.ts +76 -1032
- package/cli/commands/flow.ts +80 -41
- package/cli/commands/guest-host.ts +2 -2
- package/cli/commands/inspect/core.ts +8 -7
- package/cli/commands/inspect/settling.ts +60 -25
- package/cli/commands/inspect/wait-ready.ts +6 -4
- package/cli/commands/inspect/wait-selector.ts +32 -18
- package/cli/commands/inspect.ts +8 -6
- package/cli/commands/kotlin.ts +15 -6
- package/cli/commands/logout.ts +4 -2
- package/cli/commands/maestro-compare.ts +19 -37
- package/cli/commands/maestro-generate.ts +4 -4
- package/cli/commands/maestro.ts +56 -37
- package/cli/commands/package.ts +136 -57
- package/cli/commands/preview.ts +10 -1
- package/cli/commands/{film.ts → record-three.ts} +33 -28
- package/cli/commands/record.ts +41 -39
- package/cli/commands/screenshots.ts +4 -0
- package/cli/commands/setup.ts +38 -1
- package/cli/commands/shell-url.ts +49 -24
- package/cli/commands/swift.ts +29 -11
- package/cli/commands/test.ts +43 -13
- package/cli/commands/upload.ts +12 -9
- package/cli/drivers/playwright-core-pin.ts +2 -2
- package/cli/flow-export.ts +1 -1
- package/cli/flow-file.ts +1 -1
- package/cli/internal-child.ts +3 -8
- package/cli/maestro-compare.ts +73 -7
- package/cli/maestro-js.ts +1 -1
- package/cli/maestro-report.ts +1 -1
- package/cli/maestro-workspace.ts +66 -4
- package/cli/main.ts +22 -55
- package/cli/native-input.ts +13 -20
- package/cli/outbound-endpoints.ts +40 -7
- package/cli/output-redaction.ts +8 -3
- package/cli/packaged-app-launcher.ts +40 -28
- package/cli/prompt.ts +20 -0
- package/cli/recording-access.ts +7 -7
- package/cli/run-registry.ts +1 -1
- package/cli/scene-video.ts +0 -4
- package/cli/ws-bridge.ts +7 -4
- package/detox/index.ts +293 -50
- package/detox/jest-preset.cjs +6 -0
- package/detox/launch-permissions.ts +1 -21
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +2 -8
- package/dist-lib/bridge-contract.mjs +2 -7
- package/dist-lib/bundle-channel.cjs +45273 -38265
- package/dist-lib/capture-contract.cjs +37 -14
- package/dist-lib/capture-contract.mjs +36 -13
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +2 -2
- package/dist-lib/cloud.mjs +2 -2
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +562 -126
- package/dist-lib/detox/jest-preset.cjs +6 -0
- package/dist-lib/dev-bundle-resolution.cjs +18 -13
- package/dist-lib/expo-swift-bundle.cjs +28566 -23874
- package/dist-lib/expo-swift-metadata.cjs +104 -2
- package/dist-lib/expo-swift-metadata.mjs +104 -2
- package/dist-lib/home-paths.cjs +8 -5
- package/dist-lib/host/bridge-host.cjs +36618 -29846
- package/dist-lib/host/fetch-proxy-handler.cjs +23 -20
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +5 -2
- package/dist-lib/index.cjs +1921 -1549
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +21 -7
- package/dist-lib/menu.mjs +21 -7
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +1877 -1584
- package/dist-lib/native-app-identity-project.cjs +1274 -951
- package/dist-lib/native-app-identity-project.mjs +1414 -963
- package/dist-lib/native-app-identity.cjs +64 -58
- package/dist-lib/native-app-identity.mjs +64 -58
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +79 -33
- package/dist-lib/public-origins-lib-static.json +1 -1
- package/dist-lib/public-origins-lib.json +484 -280
- package/dist-lib/react-native-host-modules.cjs +3 -1
- package/dist-lib/react-native-host-modules.mjs +3 -1
- package/dist-lib/reap-browser.cjs +23 -26
- package/dist-lib/scripts/dev-server-scanner.cjs +13 -10
- package/dist-lib/sdk.cjs +69 -36
- package/dist-lib/sdk.mjs +69 -36
- package/dist-lib/skills.cjs +33781 -27141
- package/dist-lib/swift-compile.cjs +3759 -2520
- package/dist-lib/swift-compile.mjs +3680 -2441
- package/dist-lib/swift-package.cjs +33 -1
- package/dist-lib/swift-package.mjs +31 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +102 -5
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +16480 -14579
- package/dist-lib/vite.cjs +269 -295
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/secure-item-store.d.ts +38 -0
- package/dist-types/packages/peach-compat/src/stubs/ring-mode-state.d.ts +4 -0
- package/dist-types/packages/peach-compat/src/stubs/screen-transition-math.d.ts +21 -12
- package/dist-types/packages/peach-engine/src/billing/plans.d.ts +1 -2
- package/dist-types/packages/peach-engine/src/capture/browser-composite-provider.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/capture/browser-composite.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/animated-driven-style.d.ts +10 -10
- package/dist-types/packages/peach-engine/src/engine/animated.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/animation-graph.d.ts +6 -2
- package/dist-types/packages/peach-engine/src/engine/canvaskit-api.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/canvaskit-renderer.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/engine/fiber-debug-metadata.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/lottie-runtime.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/engine/native-animation-driver.d.ts +18 -1
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/nativeReplayContract.d.ts +71 -0
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +31 -3
- package/dist-types/packages/peach-engine/src/engine/paint-boundary-types.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +7 -2
- package/dist-types/packages/peach-engine/src/engine/portals.d.ts +2 -4
- package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +7 -1
- package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +3 -3
- package/dist-types/packages/peach-engine/src/engine/scroll-velocity.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +10 -0
- package/dist-types/packages/peach-engine/src/engine/secureItemHostContract.d.ts +30 -0
- package/dist-types/packages/peach-engine/src/engine/shell-owned-values.d.ts +55 -0
- package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +85 -26
- package/dist-types/packages/peach-engine/src/graphite-stats-fields.d.ts +28 -0
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/ios/aux-home-scene.d.ts +3 -4
- package/dist-types/packages/peach-engine/src/ios/aux-shell-animated-sources.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/ios/home-app-catalog.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/ios/photo-store.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/ios/photoLibraryContract.d.ts +15 -0
- package/dist-types/packages/peach-engine/src/ios/shell-controller-types.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/metro-asset-path.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/react-native/platform-colors.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/canvaskit-webgpu.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/canvaskit-worker-init.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +31 -12
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/scroll-drag-presentation.d.ts +23 -0
- package/dist-types/packages/peach-engine/src/render-worker/expo-widgetContract.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/render-worker/expo-widgets-activityContract.d.ts +15 -0
- package/dist-types/packages/peach-engine/src/render-worker/graph-linked-value.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +12 -2
- package/dist-types/packages/peach-engine/src/render-worker/image-pixel-contract.d.ts +12 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +30 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +4 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +15 -9
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror-tenant.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +24 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +8 -4
- package/dist-types/packages/peach-engine/src/render-worker/shell-scene-schema.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +3 -2
- package/dist-types/packages/peach-engine/src/render-worker/text-inputContract.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +10 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-sab.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/rolldown-production-module.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +4 -0
- package/dist-types/packages/peach-globals/src/eventBridgeContract.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +7 -0
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +3 -1
- package/dist-types/packages/peach-globals/src/recordingBridgeContract.d.ts +5 -1
- package/dist-types/packages/peach-globals/src/shellBridgeContract.d.ts +2 -0
- package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +3 -1
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +23 -1
- package/dist-types/packages/peach-kit/src/internal.d.ts +2 -1
- package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +2 -0
- package/dist-types/packages/peach-kit/src/ui/keyboard-toolbar.d.ts +5 -0
- package/install.sh +20 -1
- package/package.json +6 -5
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSession.h +629 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionDeprecated.h +90 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionRoute.h +256 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioSessionTypes.h +1006 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.apinotes +246 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Headers/AVFAudio.h +5 -0
- package/sdk/ios/System/Library/Frameworks/AVFAudio.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAnimation.h +52 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAudioSession.h +11 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVBase.h +264 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureDevice.h +88 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSession.h +1360 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureSessionPreset.h +167 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h +13 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMediaFormat.h +508 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataItem.h +1 -1
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVPlayerItem.h +31 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVSampleBufferDisplayLayer.h +18 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureDeviceDirectionCoordinator.h +113 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h +82 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h +114 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventSound.h +50 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVError.h +51 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVInputPickerInteraction.h +93 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVInterstitialTimeRange.h +39 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVKit.apinotes +112 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h +110 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h +79 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVKitTypes.h +54 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVLegibleMediaOptionsMenuController.h +193 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController.h +271 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h +135 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_VideoCallSupport.h +66 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackRouteSelecting.h +46 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h +71 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackUserInterfaceControllable.h +551 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerItem+AVKitAdditions.h +42 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h +704 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Headers/AVRoutePickerView.h +186 -0
- package/sdk/ios/System/Library/Frameworks/AVKit.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Headers/AudioSessionTypes.h +104 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioBaseTypes.h +1621 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.apinotes +42 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Headers/CoreAudioTypes.h +9 -0
- package/sdk/ios/System/Library/Frameworks/CoreAudioTypes.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBAttribute.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCentralManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBCharacteristic.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBDescriptor.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBPeripheral.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBService.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreBluetooth.framework/Headers/CBUUID.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreRequest.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h +195 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h +220 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h +501 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +3 -18
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconIdentityConstraint.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLBeaconRegion.h +2 -2
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLGeocoder.h +2 -2
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLHeading.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager+CLVisitExtensions.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLPlacemark.h +2 -2
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLVisit.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h +443 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h +8 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMSync.h +996 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h +9 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.h +3 -0
- package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFMessage.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFPayload.h +2 -2
- package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCNDEFReaderSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreNFC.framework/Headers/NFCReaderSession.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularData.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreTelephony.framework/Headers/CTTelephonyNetworkInfo.h +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h +1811 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h +360 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h +574 -17
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h +109 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h +336 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h +203 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h +264 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h +531 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h +496 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h +326 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h +547 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h +213 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h +496 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h +158 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h +286 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h +80 -1
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h +1833 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h +482 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DDDevicePickerViewController.h +41 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUI.h +9 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Headers/DeviceDiscoveryUIDefines.h +14 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Modules/DeviceDiscoveryUI.swiftcrossimport/SwiftUI.swiftoverlay +4 -0
- package/sdk/ios/System/Library/Frameworks/DeviceDiscoveryUI.framework/Modules/module.modulemap +9 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +1 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +49 -1
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h +2 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h +15 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h +30 -0
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKAchievement.h +3 -3
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKChallenge.h +6 -6
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h +4 -4
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKLocalPlayer.h +6 -6
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmaker.h +2 -2
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKNotificationBanner.h +1 -1
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKPlayer.h +3 -3
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKSavedGame.h +2 -2
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatch.h +4 -4
- package/sdk/ios/System/Library/Frameworks/GameKit.framework/Headers/GKTurnBasedMatchmakerViewController.h +3 -3
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummary.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummaryQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKCategorySample.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h +6 -6
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObject.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h +5 -5
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKObserverQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantity.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuantitySample.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKQuery.h +14 -14
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSample.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSampleQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKStatistics.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKStatisticsQuery.h +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKUnit.h +20 -20
- package/sdk/ios/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h +1 -1
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h +2 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h +6 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSBase.h +195 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContext.h +245 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSContextRef.h +178 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSExport.h +151 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSManagedValue.h +81 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSObjectRef.h +755 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSStringRef.h +148 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSStringRefCF.h +60 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSTypedArray.h +180 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValue.h +824 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSValueRef.h +555 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JSVirtualMachine.h +92 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JavaScript.h +37 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/JavaScriptCore.h +38 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Headers/WebKitAvailability.h +36 -0
- package/sdk/ios/System/Library/Frameworks/JavaScriptCore.framework/Modules/module.modulemap +8 -0
- package/sdk/ios/System/Library/Frameworks/MobileCoreServices.framework/Headers/UTType.h +19 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCAdvertiserAssistant.h +76 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCBrowserViewController.h +88 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCError.h +34 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCNearbyServiceAdvertiser.h +84 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCNearbyServiceBrowser.h +94 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCPeerID.h +37 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MCSession.h +215 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MultipeerConnectivity.apinotes +5 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Headers/MultipeerConnectivity.h +15 -0
- package/sdk/ios/System/Library/Frameworks/MultipeerConnectivity.framework/Modules/module.modulemap +7 -0
- package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEHotspotHelper.h +1 -1
- package/sdk/ios/System/Library/Frameworks/NetworkExtension.framework/Headers/NEHotspotNetwork.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h +1 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/ModelIO.h +6 -6
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNAction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNAudioSource.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNCamera.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNConstraint.h +2 -2
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNGeometry.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNHitTest.h +2 -2
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNLight.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNMaterial.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNMaterialProperty.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNNode.h +4 -4
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNParametricGeometry.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNParticleSystem.h +2 -2
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNScene.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNTransaction.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SCNView.h +1 -1
- package/sdk/ios/System/Library/Frameworks/SceneKit.framework/Headers/SceneKitDeprecated.h +3 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h +14 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +172 -27
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSText.h +59 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h +13 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextList.h +63 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h +10 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSToolbar+UIKitAdditions.h +142 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +20 -20
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h +103 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h +6 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h +131 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h +8 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h +80 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h +191 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h +259 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h +9 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h +5 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h +6 -3
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h +37 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes +4248 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +66 -102
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h +55 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h +62 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h +283 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuDisplayPreferences.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h +86 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMenuLeaf.h +68 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +1 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIView.h +3 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap +2 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Headers/UIKitText.apinotes +135 -0
- package/sdk/ios/System/Library/Frameworks/UIKitText.framework/Modules/module.modulemap +8 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTAdditions.h +167 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UTCoreTypes.h +1332 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes +53 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.h +18 -0
- package/sdk/ios/System/Library/Frameworks/UniformTypeIdentifiers.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h +19 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h +69 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationActionIcon.h +23 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h +44 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttributedMessageContext.h +24 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h +82 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h +152 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h +34 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h +41 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h +27 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h +90 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h +64 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h +107 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes +17 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h +23 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCDefines.h +14 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCError.h +38 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCSession.h +200 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCSessionFile.h +30 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WCSessionUserInfoTransfer.h +22 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WatchConnectivity.apinotes +19 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Headers/WatchConnectivity.h +15 -0
- package/sdk/ios/System/Library/Frameworks/WatchConnectivity.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/NSAttributedString.h +120 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardList.h +77 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKBackForwardListItem.h +54 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleList.h +37 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentRuleListStore.h +47 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorld.h +87 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContentWorldConfiguration.h +71 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKContextMenuElementInfo.h +47 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDOMNodeSnapshot.h +57 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDataDetectorTypes.h +60 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDownload.h +67 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKDownloadDelegate.h +146 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKError.h +71 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindConfiguration.h +52 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFindResult.h +41 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFormInfo.h +63 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFoundation.h +72 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKFrameInfo.h +62 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKHTTPCookieStore.h +108 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironment.h +50 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKImmersiveEnvironmentDelegate.h +69 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKJSHandle.h +80 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigation.h +45 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationAction.h +118 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationDelegate.h +219 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKNavigationResponse.h +60 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKOpenPanelParameters.h +47 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPDFConfiguration.h +49 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h +117 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreviewActionItem.h +39 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreviewActionItemIdentifiers.h +38 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKPreviewElementInfo.h +43 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKProcessPool.h +39 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessage.h +64 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessageHandler.h +52 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKScriptMessageHandlerWithReply.h +95 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSecurityOrigin.h +57 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKSnapshotConfiguration.h +59 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUIDelegate.h +316 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKURLSchemeHandler.h +61 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKURLSchemeTask.h +75 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserContentController.h +162 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKUserScript.h +76 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtension.h +237 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionAction.h +164 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionCommand.h +106 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionContext.h +790 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionController.h +255 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionControllerConfiguration.h +89 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionControllerDelegate.h +207 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionDataRecord.h +90 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionDataType.h +43 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionMatchPattern.h +175 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionMessagePort.h +99 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionPermission.h +95 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionTab.h +396 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionTabConfiguration.h +94 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionWindow.h +170 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebExtensionWindowConfiguration.h +87 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h +800 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h +275 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h +150 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h +90 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h +137 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WKWindowFeatures.h +72 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes +204 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WebKit.h +93 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Headers/WebKitLegacy.h +3 -0
- package/sdk/ios/System/Library/Frameworks/WebKit.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/WiFiAware.framework/Modules/WiFiAware.swiftmodule/arm64-apple-ios-simulator.swiftinterface +605 -0
- package/sdk/ios/System/Library/Frameworks/_DeviceDiscoveryUI_SwiftUI.framework/Modules/_DeviceDiscoveryUI_SwiftUI.swiftmodule/arm64-apple-ios-simulator.swiftinterface +79 -0
- package/sdk/ios/usr/include/MacTypes.h +8 -0
- package/sdk/ios/usr/include/objc/NSObjCRuntime.h +5 -0
- package/sdk/ios/wasm/include/fcntl.h +1 -0
- package/sdk/ios/wasm/include/pthread.h +2 -0
- package/sdk/ios/wasm/include/stdlib.h +1 -0
- package/sdk/native-hashes.json +11 -1
- package/skills/contrast/SKILL.md +4 -9
- package/skills/peach-perf/SKILL.md +3 -1
- package/skills/peach-perf/references/profiling.md +1 -1
- package/skills/peach-test/SKILL.md +20 -17
- package/skills/peach-test/references/detox.md +7 -7
- package/skills/peach-test/references/maestro.md +20 -18
- package/src/admitted-mac-build.ts +7 -0
- package/src/android-autolinking.ts +2 -2
- package/src/android-drawables.ts +5 -5
- package/src/android-string-value.ts +1 -1
- package/src/android-strings.ts +1 -1
- package/src/android-theme.ts +2 -2
- package/src/appPackageContract.ts +1 -1
- package/src/bridge-contract.ts +12 -16
- package/src/build-cache.ts +65 -0
- package/src/bundle-channel.mjs +69 -9
- package/src/capture-contract.ts +55 -17
- package/src/chromium-admission.ts +24 -21
- package/src/conformance-comparison-contract.ts +105 -40
- package/src/dev-bundle-resolution.ts +23 -10
- package/src/device-catalog.ts +35 -2
- package/src/disk-cleanup.ts +18 -8
- package/src/expo-autolinking.ts +24 -0
- package/src/expo-discovery-cache.ts +168 -23
- package/src/expo-native-workspace.ts +551 -191
- package/src/expo-swift-host.ts +711 -314
- package/src/expo-swift-ready.ts +39 -5
- package/src/expo-widget-assets.ts +2 -2
- package/src/expo-widgets-bundle.ts +56 -0
- package/src/expo-workspace-exclusion.ts +62 -0
- package/src/expoSwiftContract.ts +27 -4
- package/src/forked-script-contract.ts +3 -0
- package/src/home-paths.ts +10 -6
- package/src/host/bridge-host.ts +27 -0
- package/src/host/network-policy.ts +1 -1
- package/src/kotlin-app.ts +9 -11
- package/src/kotlin-host.ts +2 -2
- package/src/launchMetadataContract.ts +5 -0
- package/src/menu.ts +19 -5
- package/src/native-app-identity-project.ts +35 -49
- package/src/native-app-identity.ts +5 -6
- package/src/native-firebase-config.ts +10 -48
- package/src/native-prebuilt.ts +3 -2
- package/src/native-slices.ts +39 -0
- package/src/native-static-libraries.ts +73 -0
- package/src/nitro-adapter.lock.json +249 -249
- package/src/nitro-adapter.ts +16 -5
- package/src/nitro-bundle.ts +35 -16
- package/src/nitro-compile.ts +254 -16
- package/src/nitro-compiler-digest.ts +39 -0
- package/src/nitro-dependencies.ts +368 -28
- package/src/nitro-source.ts +432 -77
- package/src/nitro-superset.lock.json +27 -36
- package/src/nitro-superset.ts +6 -0
- package/src/nitroAdapterContract.ts +52 -0
- package/src/nitroContract.ts +40 -4
- package/src/numbered-lock.ts +2 -2
- package/src/one-native-app-accent.ts +32 -0
- package/src/one-widget-discovery.ts +6 -1
- package/src/one-widget-metadata.ts +2 -2
- package/src/portable-expo-contract.ts +103 -0
- package/src/portable-expo-workspace.ts +94 -0
- package/src/prepared-native-inventory.ts +93 -0
- package/src/prepared-xcode-phases.ts +194 -0
- package/src/process-group.ts +8 -15
- package/src/process-table.ts +117 -0
- package/src/react-native-bridge-modules.ts +240 -14
- package/src/react-native-coverage/native-typescript-parser.ts +11 -2
- package/src/react-native-coverage/verified-reach.ts +12 -6
- package/src/react-native-host-modules.ts +2 -0
- package/src/reap-browser.ts +13 -9
- package/src/retired-cache-directory.ts +34 -0
- package/src/runtime-assets.ts +1 -0
- package/src/screenshots/orchestrate.ts +4 -0
- package/src/screenshots/schema.ts +2 -2
- package/src/storageSnapshotContract.ts +9 -2
- package/src/stub-pattern-matcher.ts +53 -19
- package/src/swift-compile.ts +1011 -327
- package/src/swift-compiler-digest.ts +3 -0
- package/src/swift-coverage/indexing.ts +1 -1
- package/src/swift-coverage/xcode-asset-symbols.ts +72 -39
- package/src/swift-coverage/xcode-assets.ts +2 -1
- package/src/swift-cxx-declarations.ts +114 -130
- package/src/swift-cxx-standin.ts +3 -3
- package/src/swift-darwin-records.ts +88 -0
- package/src/swift-distribution.lock.json +15 -12
- package/src/swift-distribution.ts +25 -9
- package/src/swift-host.ts +443 -142
- package/src/swift-icu.ts +72 -4
- package/src/swift-link-roots.ts +2 -0
- package/src/swift-objc-compile.ts +312 -65
- package/src/swift-objc-import.ts +8 -1
- package/src/swift-objc-standin.ts +20 -2
- package/src/swift-package-manifest.ts +189 -57
- package/src/swift-package.ts +51 -0
- package/src/swift-packages.ts +117 -45
- package/src/swift-pdf-raster.ts +7 -4
- package/src/swift-project-user.ts +183 -0
- package/src/swift-reproducible.ts +26 -0
- package/src/swift-root-lock.ts +34 -62
- package/src/swift-shared-sdk.ts +232 -21
- package/src/swift-source-pods.ts +9 -2
- package/src/swift-standin-emit.ts +248 -7
- package/src/swift-standins.ts +130 -108
- package/src/swift-submit.ts +3 -0
- package/src/swift-toolchain.ts +109 -8
- package/src/swift-wasm-prune.ts +210 -55
- package/src/swiftContract.ts +14 -0
- package/src/swiftGuestImageContract.ts +113 -0
- package/src/turbo-bundle.ts +5 -8
- package/src/turbo-codegen-intake.ts +134 -0
- package/src/turbo-compile.ts +198 -21
- package/src/turbo-native-libraries.ts +98 -0
- package/src/turbo-runtime.lock.json +25 -18
- package/src/turbo-source.ts +1519 -147
- package/src/vite-plugin-one.ts +25 -3
- package/src/vite-plugin-swift.ts +5 -1
- package/src/vite-plugin.ts +40 -18
- package/src/worker-system-chunks.ts +103 -15
- package/src/worklets-babel.ts +50 -29
- package/src/xcode-header-search.ts +15 -5
- package/src/xcode-project.ts +444 -88
- package/src/xcode-target-members.ts +72 -63
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/scroll-drag-resample.d.ts +0 -44
|
@@ -17,7 +17,7 @@ typedef void(^HKObserverQueryCompletionHandler)(void);
|
|
|
17
17
|
HK_EXTERN
|
|
18
18
|
NS_SWIFT_SENDABLE
|
|
19
19
|
API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
20
|
-
@interface HKObserverQuery : HKQuery
|
|
20
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKObserverQuery : HKQuery
|
|
21
21
|
|
|
22
22
|
/*!
|
|
23
23
|
@method initWithSampleType:predicate:updateHandler:
|
|
@@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
19
19
|
HK_EXTERN
|
|
20
20
|
NS_SWIFT_SENDABLE
|
|
21
21
|
API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
22
|
-
@interface HKQuantity : NSObject <NSSecureCoding, NSCopying>
|
|
22
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuantity : NSObject <NSSecureCoding, NSCopying>
|
|
23
23
|
|
|
24
24
|
- (instancetype)init NS_UNAVAILABLE;
|
|
25
25
|
|
|
@@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
21
21
|
HK_EXTERN
|
|
22
22
|
NS_SWIFT_SENDABLE
|
|
23
23
|
API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
24
|
-
@interface HKQuantitySample : HKSample
|
|
24
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuantitySample : HKSample
|
|
25
25
|
|
|
26
26
|
@property (readonly, copy) HKQuantityType *quantityType;
|
|
27
27
|
@property (readonly, copy) HKQuantity *quantity;
|
|
@@ -26,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
26
26
|
HK_EXTERN
|
|
27
27
|
NS_SWIFT_SENDABLE
|
|
28
28
|
API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
29
|
-
@interface HKQuery : NSObject
|
|
29
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery : NSObject
|
|
30
30
|
|
|
31
31
|
@property (readonly, strong, nullable) HKObjectType *objectType API_AVAILABLE(ios(9.3), watchos(2.2), macCatalyst(13.0), macos(13.0));
|
|
32
32
|
@property (readonly, strong, nullable) HKSampleType *sampleType API_DEPRECATED_WITH_REPLACEMENT("objectType", ios(8.0, 9.3), watchos(2.0, 2.2));
|
|
@@ -52,7 +52,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
52
52
|
HKQueryOptionStrictEndDate = 1 << 1,
|
|
53
53
|
} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
|
|
54
54
|
|
|
55
|
-
@interface HKQuery (HKObjectPredicates)
|
|
55
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKObjectPredicates)
|
|
56
56
|
|
|
57
57
|
/*!
|
|
58
58
|
@method predicateForObjectsWithMetadataKey:
|
|
@@ -194,7 +194,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
194
194
|
@end
|
|
195
195
|
|
|
196
196
|
|
|
197
|
-
@interface HKQuery (HKSamplePredicates)
|
|
197
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKSamplePredicates)
|
|
198
198
|
|
|
199
199
|
/*!
|
|
200
200
|
@method predicateForSamplesWithStartDate:endDate:options:
|
|
@@ -211,7 +211,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
211
211
|
@end
|
|
212
212
|
|
|
213
213
|
|
|
214
|
-
@interface HKQuery (HKQuantitySamplePredicates)
|
|
214
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKQuantitySamplePredicates)
|
|
215
215
|
|
|
216
216
|
/*!
|
|
217
217
|
@method predicateForQuantitySamplesWithOperatorType:quantity:
|
|
@@ -227,7 +227,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
227
227
|
|
|
228
228
|
@end
|
|
229
229
|
|
|
230
|
-
@interface HKQuery (HKCategorySamplePredicates)
|
|
230
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKCategorySamplePredicates)
|
|
231
231
|
|
|
232
232
|
/*!
|
|
233
233
|
@method predicateForCategorySamplesWithOperatorType:value:
|
|
@@ -254,7 +254,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
254
254
|
|
|
255
255
|
@end
|
|
256
256
|
|
|
257
|
-
@interface HKQuery (HKWorkoutPredicates)
|
|
257
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKWorkoutPredicates)
|
|
258
258
|
|
|
259
259
|
/*!
|
|
260
260
|
@method predicateForWorkoutsWithWorkoutActivityType:
|
|
@@ -383,7 +383,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
383
383
|
|
|
384
384
|
@end
|
|
385
385
|
|
|
386
|
-
@interface HKQuery (HKWorkoutActivityPredicates)
|
|
386
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKWorkoutActivityPredicates)
|
|
387
387
|
|
|
388
388
|
/*!
|
|
389
389
|
@method predicateForWorkoutActivitiesWithWorkoutActivityType:
|
|
@@ -498,7 +498,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
498
498
|
|
|
499
499
|
@end
|
|
500
500
|
|
|
501
|
-
@interface HKQuery (HKActivitySummaryPredicates)
|
|
501
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKActivitySummaryPredicates)
|
|
502
502
|
|
|
503
503
|
/*!
|
|
504
504
|
@method predicateForActivitySummaryWithDateComponents:
|
|
@@ -525,7 +525,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
525
525
|
|
|
526
526
|
@end
|
|
527
527
|
|
|
528
|
-
@interface HKQuery (HKClinicalRecordPredicates)
|
|
528
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKClinicalRecordPredicates)
|
|
529
529
|
|
|
530
530
|
/*!
|
|
531
531
|
@method predicateForClinicalRecordsWithFHIRResourceType:
|
|
@@ -551,7 +551,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
551
551
|
|
|
552
552
|
@end
|
|
553
553
|
|
|
554
|
-
@interface HKQuery (HKElectrocardiogramPredicates)
|
|
554
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKElectrocardiogramPredicates)
|
|
555
555
|
|
|
556
556
|
/*!
|
|
557
557
|
@method predicateForElectrocardiogramsWithClassification:
|
|
@@ -573,7 +573,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
573
573
|
|
|
574
574
|
@end
|
|
575
575
|
|
|
576
|
-
@interface HKQuery (HKVerifiableClinicalRecordPredicates)
|
|
576
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKVerifiableClinicalRecordPredicates)
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
579
|
@method predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval:
|
|
@@ -586,7 +586,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
586
586
|
|
|
587
587
|
@end
|
|
588
588
|
|
|
589
|
-
@interface HKQuery (HKStateOfMind)
|
|
589
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKStateOfMind)
|
|
590
590
|
|
|
591
591
|
/**
|
|
592
592
|
@method predicateForStatesOfMindWithValence:operatorType:
|
|
@@ -628,7 +628,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
628
628
|
|
|
629
629
|
@end
|
|
630
630
|
|
|
631
|
-
@interface HKQuery (HKMedicationDoseEvent)
|
|
631
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKMedicationDoseEvent)
|
|
632
632
|
|
|
633
633
|
/*!
|
|
634
634
|
@method predicateForMedicationDoseEventWithStatus:
|
|
@@ -697,7 +697,7 @@ typedef NS_OPTIONS(NSUInteger, HKQueryOptions) {
|
|
|
697
697
|
|
|
698
698
|
@end
|
|
699
699
|
|
|
700
|
-
@interface HKQuery (HKUserAnnotatedMedications)
|
|
700
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKQuery (HKUserAnnotatedMedications)
|
|
701
701
|
|
|
702
702
|
/*!
|
|
703
703
|
@method predicateForUserAnnotatedMedicationsWithIsArchived:
|
|
@@ -20,7 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
20
20
|
HK_EXTERN
|
|
21
21
|
NS_SWIFT_SENDABLE
|
|
22
22
|
API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
23
|
-
@interface HKSample : HKObject
|
|
23
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKSample : HKObject
|
|
24
24
|
|
|
25
25
|
@property (readonly, copy) HKSampleType *sampleType;
|
|
26
26
|
|
|
@@ -26,7 +26,7 @@ API_DEPRECATED("Use HKSampleQueryDescriptor", ios(8.0, API_TO_BE_DEPRECATED), wa
|
|
|
26
26
|
#else
|
|
27
27
|
API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
28
28
|
#endif
|
|
29
|
-
@interface HKSampleQuery : HKQuery
|
|
29
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKSampleQuery : HKQuery
|
|
30
30
|
|
|
31
31
|
/*!
|
|
32
32
|
@property limit
|
|
@@ -52,7 +52,7 @@ typedef NS_OPTIONS(NSUInteger, HKStatisticsOptions) {
|
|
|
52
52
|
HK_EXTERN
|
|
53
53
|
NS_SWIFT_SENDABLE
|
|
54
54
|
API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
55
|
-
@interface HKStatistics : NSObject <NSSecureCoding, NSCopying>
|
|
55
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKStatistics : NSObject <NSSecureCoding, NSCopying>
|
|
56
56
|
|
|
57
57
|
@property (readonly, strong) HKQuantityType *quantityType;
|
|
58
58
|
@property (readonly, strong) NSDate *startDate;
|
|
@@ -25,7 +25,7 @@ API_DEPRECATED("Use HKStatisticsQueryDescriptor", ios(8.0, API_TO_BE_DEPRECATED)
|
|
|
25
25
|
#else
|
|
26
26
|
API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
27
27
|
#endif
|
|
28
|
-
@interface HKStatisticsQuery : HKQuery
|
|
28
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKStatisticsQuery : HKQuery
|
|
29
29
|
|
|
30
30
|
- (instancetype)initWithQuantityType:(HKQuantityType *)quantityType
|
|
31
31
|
quantitySamplePredicate:(nullable NSPredicate *)quantitySamplePredicate
|
|
@@ -13,7 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
13
13
|
HK_EXTERN
|
|
14
14
|
NS_SWIFT_SENDABLE
|
|
15
15
|
API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
16
|
-
@interface HKUnit : NSObject <NSSecureCoding, NSCopying>
|
|
16
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit : NSObject <NSSecureCoding, NSCopying>
|
|
17
17
|
|
|
18
18
|
/// Returns a unique string representation for the unit that could be used with +unitFromString:
|
|
19
19
|
@property (readonly, strong) NSString *unitString;
|
|
@@ -140,7 +140,7 @@ typedef NS_ENUM(NSInteger, HKMetricPrefix) {
|
|
|
140
140
|
} API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0));
|
|
141
141
|
|
|
142
142
|
/* Mass Units */
|
|
143
|
-
@interface HKUnit (Mass)
|
|
143
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Mass)
|
|
144
144
|
+ (instancetype)gramUnitWithMetricPrefix:(HKMetricPrefix)prefix; // g
|
|
145
145
|
+ (instancetype)gramUnit; // g
|
|
146
146
|
+ (instancetype)ounceUnit; // oz
|
|
@@ -151,7 +151,7 @@ typedef NS_ENUM(NSInteger, HKMetricPrefix) {
|
|
|
151
151
|
@end
|
|
152
152
|
|
|
153
153
|
/* Length Units */
|
|
154
|
-
@interface HKUnit (Length)
|
|
154
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Length)
|
|
155
155
|
+ (instancetype)meterUnitWithMetricPrefix:(HKMetricPrefix)prefix; // m
|
|
156
156
|
+ (instancetype)meterUnit; // m
|
|
157
157
|
+ (instancetype)inchUnit; // in
|
|
@@ -161,7 +161,7 @@ typedef NS_ENUM(NSInteger, HKMetricPrefix) {
|
|
|
161
161
|
@end
|
|
162
162
|
|
|
163
163
|
/* Volume Units */
|
|
164
|
-
@interface HKUnit (Volume)
|
|
164
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Volume)
|
|
165
165
|
+ (instancetype)literUnitWithMetricPrefix:(HKMetricPrefix)prefix; // L
|
|
166
166
|
+ (instancetype)literUnit; // L
|
|
167
167
|
+ (instancetype)fluidOunceUSUnit; // fl_oz_us
|
|
@@ -173,7 +173,7 @@ typedef NS_ENUM(NSInteger, HKMetricPrefix) {
|
|
|
173
173
|
@end
|
|
174
174
|
|
|
175
175
|
/* Pressure Units */
|
|
176
|
-
@interface HKUnit (Pressure)
|
|
176
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Pressure)
|
|
177
177
|
+ (instancetype)pascalUnitWithMetricPrefix:(HKMetricPrefix)prefix; // Pa
|
|
178
178
|
+ (instancetype)pascalUnit; // Pa
|
|
179
179
|
+ (instancetype)millimeterOfMercuryUnit; // mmHg
|
|
@@ -184,7 +184,7 @@ typedef NS_ENUM(NSInteger, HKMetricPrefix) {
|
|
|
184
184
|
@end
|
|
185
185
|
|
|
186
186
|
/* Time Units */
|
|
187
|
-
@interface HKUnit (Time)
|
|
187
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Time)
|
|
188
188
|
+ (instancetype)secondUnitWithMetricPrefix:(HKMetricPrefix)prefix; // s
|
|
189
189
|
+ (instancetype)secondUnit; // s
|
|
190
190
|
+ (instancetype)minuteUnit; // min
|
|
@@ -193,7 +193,7 @@ typedef NS_ENUM(NSInteger, HKMetricPrefix) {
|
|
|
193
193
|
@end
|
|
194
194
|
|
|
195
195
|
/* Energy Units */
|
|
196
|
-
@interface HKUnit (Energy)
|
|
196
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Energy)
|
|
197
197
|
+ (instancetype)jouleUnitWithMetricPrefix:(HKMetricPrefix)prefix; // J
|
|
198
198
|
+ (instancetype)jouleUnit; // J
|
|
199
199
|
+ (instancetype)kilocalorieUnit; // 1 kcal = 4184.0 J
|
|
@@ -203,35 +203,35 @@ typedef NS_ENUM(NSInteger, HKMetricPrefix) {
|
|
|
203
203
|
@end
|
|
204
204
|
|
|
205
205
|
/* Temperature Units */
|
|
206
|
-
@interface HKUnit (Temperature)
|
|
206
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Temperature)
|
|
207
207
|
+ (instancetype)degreeCelsiusUnit; // degC
|
|
208
208
|
+ (instancetype)degreeFahrenheitUnit; // degF
|
|
209
209
|
+ (instancetype)kelvinUnit; // K
|
|
210
210
|
@end
|
|
211
211
|
|
|
212
212
|
/* Electrical Conductance Units */
|
|
213
|
-
@interface HKUnit (Conductance)
|
|
213
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Conductance)
|
|
214
214
|
+ (instancetype)siemenUnitWithMetricPrefix:(HKMetricPrefix)prefix; // S
|
|
215
215
|
+ (instancetype)siemenUnit; // S
|
|
216
216
|
@end
|
|
217
217
|
|
|
218
218
|
/* Pharmacology Units */
|
|
219
|
-
@interface HKUnit (Pharmacology)
|
|
219
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Pharmacology)
|
|
220
220
|
+ (instancetype)internationalUnit NS_SWIFT_NAME(internationalUnit()) API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0)); // IU
|
|
221
221
|
@end
|
|
222
222
|
|
|
223
223
|
/* Scalar Units */
|
|
224
|
-
@interface HKUnit (Scalar)
|
|
224
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Scalar)
|
|
225
225
|
+ (instancetype)countUnit; // count
|
|
226
226
|
+ (instancetype)percentUnit; // % (0.0 - 1.0)
|
|
227
227
|
@end
|
|
228
228
|
|
|
229
229
|
/* Hearing Sensitivity */
|
|
230
|
-
@interface HKUnit (HearingSensitivity)
|
|
230
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (HearingSensitivity)
|
|
231
231
|
+ (instancetype)decibelHearingLevelUnit API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0)); // dBHL
|
|
232
232
|
@end
|
|
233
233
|
|
|
234
|
-
@interface HKUnit (Math)
|
|
234
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Math)
|
|
235
235
|
- (HKUnit *)unitMultipliedByUnit:(HKUnit *)unit;
|
|
236
236
|
- (HKUnit *)unitDividedByUnit:(HKUnit *)unit;
|
|
237
237
|
- (HKUnit *)unitRaisedToPower:(NSInteger)power;
|
|
@@ -239,45 +239,45 @@ typedef NS_ENUM(NSInteger, HKMetricPrefix) {
|
|
|
239
239
|
@end
|
|
240
240
|
|
|
241
241
|
/* Frequency Units */
|
|
242
|
-
@interface HKUnit (Frequency)
|
|
242
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Frequency)
|
|
243
243
|
+ (instancetype)hertzUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0)); // Hz
|
|
244
244
|
+ (instancetype)hertzUnit API_AVAILABLE(ios(13.0), watchos(6.0), macCatalyst(13.0), macos(13.0)); // Hz
|
|
245
245
|
@end
|
|
246
246
|
|
|
247
247
|
/* Electrical Potential Difference Units */
|
|
248
|
-
@interface HKUnit (ElectricPotentialDifference)
|
|
248
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (ElectricPotentialDifference)
|
|
249
249
|
+ (instancetype)voltUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)); // V
|
|
250
250
|
+ (instancetype)voltUnit API_AVAILABLE(ios(14.0), watchos(7.0), macCatalyst(14.0), macos(13.0)); // V
|
|
251
251
|
@end
|
|
252
252
|
|
|
253
253
|
/* Power Units */
|
|
254
|
-
@interface HKUnit (Power)
|
|
254
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Power)
|
|
255
255
|
+ (instancetype)wattUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)); // W
|
|
256
256
|
+ (instancetype)wattUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)); // W
|
|
257
257
|
@end
|
|
258
258
|
|
|
259
259
|
/* Optical Power */
|
|
260
|
-
@interface HKUnit (OpticalPower)
|
|
260
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (OpticalPower)
|
|
261
261
|
+ (instancetype)diopterUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)); // D
|
|
262
262
|
+ (instancetype)prismDiopterUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)); // pD
|
|
263
263
|
@end
|
|
264
264
|
|
|
265
265
|
/* Angle Units */
|
|
266
|
-
@interface HKUnit (Angle)
|
|
266
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Angle)
|
|
267
267
|
+ (instancetype)radianAngleUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)); // rad
|
|
268
268
|
+ (instancetype)radianAngleUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)); // rad
|
|
269
269
|
+ (instancetype)degreeAngleUnit API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)); // deg
|
|
270
270
|
@end
|
|
271
271
|
|
|
272
272
|
/* Illuminance Units */
|
|
273
|
-
@interface HKUnit (Illuminance)
|
|
273
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (Illuminance)
|
|
274
274
|
+ (instancetype)luxUnitWithMetricPrefix:(HKMetricPrefix)prefix API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0)); // lx
|
|
275
275
|
+ (instancetype)luxUnit API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0)); // lx
|
|
276
276
|
|
|
277
277
|
@end
|
|
278
278
|
|
|
279
279
|
/* UnitLess Unit */
|
|
280
|
-
@interface HKUnit (UnitLess)
|
|
280
|
+
PEACH_SWIFT_CLASS(HealthKit) @interface HKUnit (UnitLess)
|
|
281
281
|
+ (instancetype)appleEffortScoreUnit API_AVAILABLE(ios(18.0), watchos(11.0), macCatalyst(18.0), macos(15.0), visionos(2.0)); // appleEffortScore
|
|
282
282
|
@end
|
|
283
283
|
|
|
@@ -109,7 +109,7 @@ extern IOSurfacePropertyKey IOSurfacePropertyKeyName API_
|
|
|
109
109
|
// Note: IOSurface objects are "toll free bridged" to IOSurfaceRef objects
|
|
110
110
|
API_AVAILABLE(macos(10.12), ios(11.0), watchos(4.0), tvos(11.0))
|
|
111
111
|
NS_SWIFT_SENDABLE
|
|
112
|
-
@interface IOSurface : NSObject <NSSecureCoding>
|
|
112
|
+
PEACH_SWIFT_CLASS(IOSurface) @interface IOSurface : NSObject <NSSecureCoding>
|
|
113
113
|
{
|
|
114
114
|
@package
|
|
115
115
|
void * _impl;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
#include <CoreGraphics/CoreGraphics.h>
|
|
13
13
|
|
|
14
14
|
CF_IMPLICIT_BRIDGING_ENABLED
|
|
15
|
+
IMAGEIO_EXTERN_C_BEGIN
|
|
15
16
|
CF_ASSUME_NONNULL_BEGIN
|
|
16
17
|
|
|
17
18
|
|
|
@@ -101,6 +102,7 @@ extern OSStatus CGAnimateImageDataWithBlock(CFDataRef data, CFDictionaryRef _iio
|
|
|
101
102
|
|
|
102
103
|
CF_ASSUME_NONNULL_END
|
|
103
104
|
|
|
105
|
+
IMAGEIO_EXTERN_C_END
|
|
104
106
|
CF_IMPLICIT_BRIDGING_DISABLED
|
|
105
107
|
|
|
106
108
|
#endif /* CGIMAGEANIMATION_H_ */
|
|
@@ -25,6 +25,7 @@ typedef struct IIO_BRIDGED_TYPE(id) CGImageDestination * CGImageDestinationRef;
|
|
|
25
25
|
#include <ImageIO/CGImageMetadata.h>
|
|
26
26
|
|
|
27
27
|
CF_IMPLICIT_BRIDGING_ENABLED
|
|
28
|
+
IMAGEIO_EXTERN_C_BEGIN
|
|
28
29
|
|
|
29
30
|
/** Properties which may be passed to "CGImageDestinationAddImage"
|
|
30
31
|
** or "CGImageDestinationAddImageFromSource" to effect the output.
|
|
@@ -424,6 +425,7 @@ extern const CFStringRef kCGImageDestinationEncodeAlternateColorSpace
|
|
|
424
425
|
|
|
425
426
|
CF_ASSUME_NONNULL_END
|
|
426
427
|
|
|
428
|
+
IMAGEIO_EXTERN_C_END
|
|
427
429
|
CF_IMPLICIT_BRIDGING_DISABLED
|
|
428
430
|
|
|
429
431
|
#endif /* CGIMAGEDESTINATION_H_ */
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
#include <ImageIO/ImageIOBase.h>
|
|
11
11
|
|
|
12
12
|
CF_IMPLICIT_BRIDGING_ENABLED
|
|
13
|
+
IMAGEIO_EXTERN_C_BEGIN
|
|
13
14
|
|
|
14
15
|
CF_ASSUME_NONNULL_BEGIN
|
|
15
16
|
|
|
@@ -660,6 +661,7 @@ typedef CF_ENUM(int32_t, CGImageMetadataErrors) {
|
|
|
660
661
|
|
|
661
662
|
CF_ASSUME_NONNULL_END
|
|
662
663
|
|
|
664
|
+
IMAGEIO_EXTERN_C_END
|
|
663
665
|
CF_IMPLICIT_BRIDGING_DISABLED
|
|
664
666
|
|
|
665
667
|
#endif // CGIMAGEMETADATA_H_
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
#include <ImageIO/ImageIOBase.h>
|
|
12
12
|
|
|
13
13
|
CF_IMPLICIT_BRIDGING_ENABLED
|
|
14
|
+
IMAGEIO_EXTERN_C_BEGIN
|
|
14
15
|
|
|
15
16
|
CF_ASSUME_NONNULL_BEGIN
|
|
16
17
|
|
|
@@ -2499,6 +2500,7 @@ extern const CFStringRef kCGImageProviderPreferredTileWidth __attribute__((avail
|
|
|
2499
2500
|
extern const CFStringRef kCGImageProviderPreferredTileHeight __attribute__((availability(macos,introduced=16.0), availability(ios,introduced=19.0)));
|
|
2500
2501
|
CF_ASSUME_NONNULL_END
|
|
2501
2502
|
|
|
2503
|
+
IMAGEIO_EXTERN_C_END
|
|
2502
2504
|
CF_IMPLICIT_BRIDGING_DISABLED
|
|
2503
2505
|
|
|
2504
2506
|
#endif /* __CGIMAGEPROPERTIES__ */
|
|
@@ -24,6 +24,7 @@ typedef struct IIO_BRIDGED_TYPE(id) CGImageSource * CGImageSourceRef;
|
|
|
24
24
|
#include <ImageIO/CGImageMetadata.h>
|
|
25
25
|
|
|
26
26
|
CF_IMPLICIT_BRIDGING_ENABLED
|
|
27
|
+
IMAGEIO_EXTERN_C_BEGIN
|
|
27
28
|
|
|
28
29
|
CF_ASSUME_NONNULL_BEGIN
|
|
29
30
|
|
|
@@ -628,6 +629,7 @@ extern OSStatus CGImageSourceSetAllowableTypes(CFArrayRef allowableTypes) __attr
|
|
|
628
629
|
|
|
629
630
|
CF_ASSUME_NONNULL_END
|
|
630
631
|
|
|
632
|
+
IMAGEIO_EXTERN_C_END
|
|
631
633
|
CF_IMPLICIT_BRIDGING_DISABLED
|
|
632
634
|
|
|
633
635
|
|
|
@@ -7,9 +7,15 @@
|
|
|
7
7
|
#include <TargetConditionals.h>
|
|
8
8
|
#define _iio_Nullable _Nullable
|
|
9
9
|
#define _iio_Nonnull _Nonnull
|
|
10
|
+
#ifdef __cplusplus
|
|
11
|
+
#define IMAGEIO_EXTERN extern "C" __attribute__((visibility("default")))
|
|
12
|
+
#define IMAGEIO_EXTERN_C_BEGIN extern "C" {
|
|
13
|
+
#define IMAGEIO_EXTERN_C_END }
|
|
14
|
+
#else
|
|
10
15
|
#define IMAGEIO_EXTERN extern __attribute__((visibility("default")))
|
|
11
16
|
#define IMAGEIO_EXTERN_C_BEGIN
|
|
12
17
|
#define IMAGEIO_EXTERN_C_END
|
|
18
|
+
#endif
|
|
13
19
|
#define IIO_HAS_IOSURFACE 1
|
|
14
20
|
#if defined(__has_feature) && __has_feature(objc_bridge_id)
|
|
15
21
|
#define IIO_BRIDGED_TYPE(type) CF_BRIDGED_TYPE(type)
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2006-2026 Apple Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Redistribution and use in source and binary forms, with or without
|
|
5
|
+
* modification, are permitted provided that the following conditions
|
|
6
|
+
* are met:
|
|
7
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
8
|
+
* notice, this list of conditions and the following disclaimer.
|
|
9
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
10
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
11
|
+
* documentation and/or other materials provided with the distribution.
|
|
12
|
+
*
|
|
13
|
+
* THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
|
|
14
|
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
15
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
16
|
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
|
|
17
|
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
18
|
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
19
|
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
20
|
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
|
21
|
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
22
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
23
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
#ifndef JSBase_h
|
|
27
|
+
#define JSBase_h
|
|
28
|
+
|
|
29
|
+
#ifndef __cplusplus
|
|
30
|
+
#include <stdbool.h>
|
|
31
|
+
#endif
|
|
32
|
+
|
|
33
|
+
#ifdef __OBJC__
|
|
34
|
+
#import <Foundation/Foundation.h>
|
|
35
|
+
#endif
|
|
36
|
+
|
|
37
|
+
/* JavaScript engine interface */
|
|
38
|
+
|
|
39
|
+
/*! @typedef JSContextGroupRef A group that associates JavaScript contexts with one another. Contexts in the same group may share and exchange JavaScript objects. */
|
|
40
|
+
typedef const struct OpaqueJSContextGroup* JSContextGroupRef;
|
|
41
|
+
|
|
42
|
+
/*! @typedef JSContextRef A JavaScript execution context. Holds the global object and other execution state. */
|
|
43
|
+
typedef const struct OpaqueJSContext* JSContextRef;
|
|
44
|
+
|
|
45
|
+
/*! @typedef JSGlobalContextRef A global JavaScript execution context. A JSGlobalContext is a JSContext. */
|
|
46
|
+
typedef struct OpaqueJSContext* JSGlobalContextRef;
|
|
47
|
+
|
|
48
|
+
/*! @typedef JSStringRef A UTF16 character buffer. The fundamental string representation in JavaScript. */
|
|
49
|
+
typedef struct OpaqueJSString* JSStringRef;
|
|
50
|
+
|
|
51
|
+
/*! @typedef JSClassRef A JavaScript class. Used with JSObjectMake to construct objects with custom behavior. */
|
|
52
|
+
typedef struct OpaqueJSClass* JSClassRef;
|
|
53
|
+
|
|
54
|
+
/*! @typedef JSPropertyNameArrayRef An array of JavaScript property names. */
|
|
55
|
+
typedef struct OpaqueJSPropertyNameArray* JSPropertyNameArrayRef;
|
|
56
|
+
|
|
57
|
+
/*! @typedef JSPropertyNameAccumulatorRef An ordered set used to collect the names of a JavaScript object's properties. */
|
|
58
|
+
typedef struct OpaqueJSPropertyNameAccumulator* JSPropertyNameAccumulatorRef;
|
|
59
|
+
|
|
60
|
+
/*! @typedef JSTypedArrayBytesDeallocator A function used to deallocate bytes passed to a Typed Array constructor. The function should take two arguments. The first is a pointer to the bytes that were originally passed to the Typed Array constructor. The second is a pointer to additional information desired at the time the bytes are to be freed. */
|
|
61
|
+
typedef void (*JSTypedArrayBytesDeallocator)(void* bytes, void* deallocatorContext);
|
|
62
|
+
|
|
63
|
+
/* JavaScript data types */
|
|
64
|
+
|
|
65
|
+
/*! @typedef JSValueRef A JavaScript value. The base type for all JavaScript values, and polymorphic functions on them. */
|
|
66
|
+
typedef const struct OpaqueJSValue* JSValueRef;
|
|
67
|
+
|
|
68
|
+
/*! @typedef JSObjectRef A JavaScript object. A JSObject is a JSValue. */
|
|
69
|
+
typedef struct OpaqueJSValue* JSObjectRef;
|
|
70
|
+
|
|
71
|
+
/* Clang's __has_declspec_attribute emulation */
|
|
72
|
+
/* https://clang.llvm.org/docs/LanguageExtensions.html#has-declspec-attribute */
|
|
73
|
+
|
|
74
|
+
#ifndef __has_declspec_attribute
|
|
75
|
+
#define __has_declspec_attribute(x) 0
|
|
76
|
+
#endif
|
|
77
|
+
|
|
78
|
+
/* JavaScript symbol exports */
|
|
79
|
+
/* These rules should stay the same as in WebKit/Shared/API/c/WKDeclarationSpecifiers.h */
|
|
80
|
+
|
|
81
|
+
#undef JS_EXPORT
|
|
82
|
+
#if defined(JS_NO_EXPORT)
|
|
83
|
+
#define JS_EXPORT
|
|
84
|
+
#elif defined(WIN32) || defined(_WIN32) || defined(__CC_ARM) || defined(__ARMCC__) || (__has_declspec_attribute(dllimport) && __has_declspec_attribute(dllexport))
|
|
85
|
+
#if defined(BUILDING_JavaScriptCore) || defined(STATICALLY_LINKED_WITH_JavaScriptCore)
|
|
86
|
+
#define JS_EXPORT __declspec(dllexport)
|
|
87
|
+
#else
|
|
88
|
+
#define JS_EXPORT __declspec(dllimport)
|
|
89
|
+
#endif
|
|
90
|
+
#elif defined(__GNUC__)
|
|
91
|
+
#define JS_EXPORT __attribute__((visibility("default")))
|
|
92
|
+
#else /* !defined(JS_NO_EXPORT) */
|
|
93
|
+
#define JS_EXPORT
|
|
94
|
+
#endif /* defined(JS_NO_EXPORT) */
|
|
95
|
+
|
|
96
|
+
#ifdef __cplusplus
|
|
97
|
+
extern "C" {
|
|
98
|
+
#endif
|
|
99
|
+
|
|
100
|
+
/* Script Evaluation */
|
|
101
|
+
|
|
102
|
+
/*!
|
|
103
|
+
@function JSEvaluateScript
|
|
104
|
+
@abstract Evaluates a string of JavaScript.
|
|
105
|
+
@param ctx The execution context to use.
|
|
106
|
+
@param script A JSString containing the script to evaluate.
|
|
107
|
+
@param thisObject The object to use as "this," or NULL to use the global object as "this."
|
|
108
|
+
@param sourceURL A JSString containing a URL for the script's source file. This is used by debuggers and when reporting exceptions. Pass NULL if you do not care to include source file information.
|
|
109
|
+
@param startingLineNumber An integer value specifying the script's starting line number in the file located at sourceURL. This is only used when reporting exceptions. The value is one-based, so the first line is line 1 and invalid values are clamped to 1.
|
|
110
|
+
@param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
|
|
111
|
+
@result The JSValue that results from evaluating script, or NULL if an exception is thrown.
|
|
112
|
+
*/
|
|
113
|
+
JS_EXPORT JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);
|
|
114
|
+
|
|
115
|
+
/*!
|
|
116
|
+
@function JSCheckScriptSyntax
|
|
117
|
+
@abstract Checks for syntax errors in a string of JavaScript.
|
|
118
|
+
@param ctx The execution context to use.
|
|
119
|
+
@param script A JSString containing the script to check for syntax errors.
|
|
120
|
+
@param sourceURL A JSString containing a URL for the script's source file. This is only used when reporting exceptions. Pass NULL if you do not care to include source file information in exceptions.
|
|
121
|
+
@param startingLineNumber An integer value specifying the script's starting line number in the file located at sourceURL. This is only used when reporting exceptions. The value is one-based, so the first line is line 1 and invalid values are clamped to 1.
|
|
122
|
+
@param exception A pointer to a JSValueRef in which to store a syntax error exception, if any. Pass NULL if you do not care to store a syntax error exception.
|
|
123
|
+
@result true if the script is syntactically correct, otherwise false.
|
|
124
|
+
*/
|
|
125
|
+
JS_EXPORT bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception);
|
|
126
|
+
|
|
127
|
+
/*!
|
|
128
|
+
@function JSGarbageCollect
|
|
129
|
+
@abstract Performs a JavaScript garbage collection.
|
|
130
|
+
@param ctx The execution context to use.
|
|
131
|
+
@discussion JavaScript values that are on the machine stack, in a register,
|
|
132
|
+
protected by JSValueProtect, set as the global object of an execution context,
|
|
133
|
+
or reachable from any such value will not be collected.
|
|
134
|
+
|
|
135
|
+
During JavaScript execution, you are not required to call this function; the
|
|
136
|
+
JavaScript engine will garbage collect as needed. JavaScript values created
|
|
137
|
+
within a context group are automatically destroyed when the last reference
|
|
138
|
+
to the context group is released.
|
|
139
|
+
*/
|
|
140
|
+
JS_EXPORT void JSGarbageCollect(JSContextRef ctx);
|
|
141
|
+
|
|
142
|
+
#ifdef __cplusplus
|
|
143
|
+
}
|
|
144
|
+
#endif
|
|
145
|
+
|
|
146
|
+
/* Enable the Objective-C API for platforms with a modern runtime. NOTE: This is duplicated in VM.h. */
|
|
147
|
+
#if !defined(JSC_OBJC_API_ENABLED)
|
|
148
|
+
#if (defined(__clang__) && defined(__APPLE__) && (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)))
|
|
149
|
+
#define JSC_OBJC_API_ENABLED 1
|
|
150
|
+
#else
|
|
151
|
+
#define JSC_OBJC_API_ENABLED 0
|
|
152
|
+
#endif
|
|
153
|
+
#endif
|
|
154
|
+
|
|
155
|
+
#if JSC_OBJC_API_ENABLED
|
|
156
|
+
#if defined(__cplusplus)
|
|
157
|
+
// In C++, avoid the forward declaration pattern from CF_ENUM
|
|
158
|
+
// that triggers -Welaborated-enum-base warnings.
|
|
159
|
+
#define JSC_CF_ENUM(enumName, ...) \
|
|
160
|
+
enum enumName : uint32_t { \
|
|
161
|
+
__VA_ARGS__ \
|
|
162
|
+
}
|
|
163
|
+
#else
|
|
164
|
+
// In Objective-C, use CF_ENUM for full Swift interop support.
|
|
165
|
+
#define JSC_CF_ENUM(enumName, ...) \
|
|
166
|
+
typedef CF_ENUM(uint32_t, enumName) { \
|
|
167
|
+
__VA_ARGS__ \
|
|
168
|
+
}
|
|
169
|
+
#endif
|
|
170
|
+
#else
|
|
171
|
+
#define JSC_CF_ENUM(enumName, ...) \
|
|
172
|
+
typedef enum { \
|
|
173
|
+
__VA_ARGS__ \
|
|
174
|
+
} enumName
|
|
175
|
+
#endif
|
|
176
|
+
|
|
177
|
+
#if JSC_OBJC_API_ENABLED
|
|
178
|
+
#define JSC_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
|
|
179
|
+
#define JSC_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
|
|
180
|
+
#else
|
|
181
|
+
#define JSC_ASSUME_NONNULL_BEGIN
|
|
182
|
+
#define JSC_ASSUME_NONNULL_END
|
|
183
|
+
#endif
|
|
184
|
+
|
|
185
|
+
#if JSC_OBJC_API_ENABLED
|
|
186
|
+
#define JSC_NULL_UNSPECIFIED _Null_unspecified
|
|
187
|
+
#define JSC_NULLABLE _Nullable
|
|
188
|
+
#define JSC_NONNULL _Nonnull
|
|
189
|
+
#else
|
|
190
|
+
#define JSC_NULL_UNSPECIFIED
|
|
191
|
+
#define JSC_NULLABLE
|
|
192
|
+
#define JSC_NONNULL
|
|
193
|
+
#endif
|
|
194
|
+
|
|
195
|
+
#endif /* JSBase_h */
|