Use atproto actions with ease in iOS shortcuts
at main 753 B view raw
1// 2// shortcut 3// 4// Created by Bailey Townsend on 6/29/25. 5// 6 7import ATProtoKit 8import AppIntents 9import Foundation 10 11struct RepoCarEntity: TransientAppEntity, Codable { 12 13 @Property(title: "Car File") 14 public var car: IntentFile? 15 16 static var typeDisplayName: LocalizedStringResource = "Repo" 17 18 static var typeDescription: LocalizedStringResource? = 19 "The CAR file of a user's repository" 20 21 var displayRepresentation: AppIntents.DisplayRepresentation { 22 return DisplayRepresentation( 23 title: "A .CAR file") 24 } 25 26 static var typeDisplayRepresentation: TypeDisplayRepresentation { 27 TypeDisplayRepresentation( 28 name: LocalizedStringResource("Repo", table: "AppIntents") 29 30 ) 31 } 32 33}