SwiftclassWorkflowKit

class WorkflowKit.AppShortcutDataSource

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 19

  1. deinitdeinit
  2. fieldvar _collections: Combine.Published<[WorkflowKit.RunnableCollection<WFExecutableAppShortcut>]>
  3. fieldlet appShortcutsProvider: WorkflowKit.StoredAppShortcutsProvider
  4. fieldvar latestReload: Task<(), Error>?
  5. fieldlet organizationStyle: WorkflowKit.AppShortcutDataSource.OrganizationStyle
  6. funcaction(for: WFExecutableAppShortcut) async throws -> WFAction
  7. funcappShortcut(for: String, signature: String) throws -> WFExecutableAppShortcut?
  8. funcfetchAppShortcuts(for: [String], localeIdentifier: String) throws -> [String : [WFExecutableAppShortcut]]
  9. funcfetchAppShortcuts(forBundleIdentifier: String, localeIdentifier: String) async throws -> [WFExecutableAppShortcut]
  10. funclnAction(for: WFExecutableAppShortcut) async throws -> LNAction
  11. funcreloadWithReason(String) async throws -> ()
  12. funcreloadWithReason(_: String, bundleIdentifiers: [String]) async throws -> ()
  13. initWorkflowKit.AppShortcutDataSource.__allocating_init(appShortcutsProvider: WorkflowKit.StoredAppShortcutsProvider, organizationStyle: WorkflowKit.AppShortcutDataSource.OrganizationStyle) -> WorkflowKit.AppShortcutDataSource
  14. initWorkflowKit.AppShortcutDataSource.__allocating_init(appShortcutsProvider: WorkflowKit.StoredAppShortcutsProvider, denyListEnvironment: WFAppShortcutsDenyListEnvironment, organizationStyle: WorkflowKit.AppShortcutDataSource.OrganizationStyle) -> WorkflowKit.AppShortcutDataSource
  15. initWorkflowKit.AppShortcutDataSource.__allocating_init() -> WorkflowKit.AppShortcutDataSource
  16. typealiastypealias Entry = __C.WFExecutableAppShortcut
  17. typealiastypealias ObjectWillChangePublisher = Combine.ObservableObjectPublisher
  18. varvar $collections: Combine.Published<[WorkflowKit.RunnableCollection<WFExecutableAppShortcut>]>.Publisher { get }
  19. varvar collections: [WorkflowKit.RunnableCollection<WFExecutableAppShortcut>] { get }
class AppShortcutDataSource: __C.NSObject {
    enum OrganizationStyle {
        case default
        case drawer
        case spotlight
    }
    enum Error {
        case actionNotFound
    }
    let appShortcutsProvider: any WorkflowKit.StoredAppShortcutsProvider
    let organizationStyle: WorkflowKit.AppShortcutDataSource.OrganizationStyle
    var latestReload: Swift.Task<(), any Swift.Error>?

    @Combine.Published var collections: [WorkflowKit.RunnableCollection<__C.WFExecutableAppShortcut>] {
        get
    }
    init(appShortcutsProvider: any WorkflowKit.StoredAppShortcutsProvider, organizationStyle: WorkflowKit.AppShortcutDataSource.OrganizationStyle)
    func reloadWithReason(_: Swift.String) async throws
    func reloadWithReason(_: Swift.String, bundleIdentifiers: [Swift.String]) async throws
    func fetchAppShortcuts(for: [Swift.String], localeIdentifier: Swift.String) throws -> [Swift.String : [__C.WFExecutableAppShortcut]]
    func fetchAppShortcuts(forBundleIdentifier: Swift.String, localeIdentifier: Swift.String) async throws -> [__C.WFExecutableAppShortcut]
    func lnAction(for: __C.WFExecutableAppShortcut) async throws -> __C.LNAction
    func appShortcut(for: Swift.String, signature: Swift.String) throws -> __C.WFExecutableAppShortcut?
    func action(for: __C.WFExecutableAppShortcut) async throws -> __C.WFAction

    init(appShortcutsProvider: any WorkflowKit.StoredAppShortcutsProvider, denyListEnvironment: __C.WFAppShortcutsDenyListEnvironment, organizationStyle: WorkflowKit.AppShortcutDataSource.OrganizationStyle)
    @objc override init()

    deinit
}