"[σϞΞϓϦ]ນΛ։͘" static var openAppWhenRun: Bool = true // title γϣʔτΧοτΞϓϦͰϓϨʔεϗϧμʔ @Parameter(title: "ນ໊") var bakufu: BakufuType @MainActor func perform() async throws -> some IntentResult { // γϯάϧτϯͳViewModelͰೖྗΛΞϓϦຊମ͢ ViewModel.shared.update(bakufuType: bakufu) return .result() } static var parameterSummary: some ParameterSummary { Summary("Open \(\.$bakufu)") } } enum BakufuType: String { case kamakura = "חນ" case muromachi = "ࣨொນ" case edo = "ߐށນ" } extension BakufuType: AppEnum { // ΧελϜλΠϓͷදࣔ static var typeDisplayRepresentation: TypeDisplayRepresentation = "ນ" // ਓ͕ಡΉͨΊͷࣙॻϦςϥϧ static var caseDisplayRepresentations: [BakufuType: DisplayRepresentation] = [ .kamakura: "חນ", .muromachi: "ࣨொນ", .edo: "ߐށນ", ] } 10