UNPKG

apple-targets-hugo-patch

Version:
30 lines (29 loc) 1.12 kB
import { ConfigPlugin } from "@expo/config-plugins"; import { ExtensionType } from "./target"; import { SwiftPackage } from "./config"; export type XcodeSettings = { name: string; /** Optional custom value for CFBundleDisplayName */ displayName?: string; /** Name used for internal purposes. This has more strict rules and should be generated. */ productName: string; /** Directory relative to the project root, (i.e. outside of the `ios` directory) where the widget code should live. */ cwd: string; bundleId: string; deploymentTarget: string; currentProjectVersion: number; frameworks: string[]; swiftPackages: SwiftPackage[]; type: ExtensionType; hasAccentColor?: boolean; colors?: Record<string, any>; teamId?: string; icon?: string; exportJs?: boolean; /** File path to the extension config file. */ configPath: string; orientation?: "default" | "portrait" | "landscape"; deviceFamilies?: DeviceFamily[]; }; export type DeviceFamily = "phone" | "tablet"; export declare const withXcodeChanges: ConfigPlugin<XcodeSettings>;