SwiftstructWorkflowUI

struct WorkflowUI.GalleryShortcutPageView

Structure

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

inherits{}

Members 13

  1. fieldvar __loadingState: SwiftUI.LazyState<WorkflowUI.GalleryShortcutPageView.LoadingState?>
  2. fieldvar __workflow: SwiftUI.LazyState<WFWorkflow?>
  3. fieldvar _rootNavigator: SwiftUI.Environment<WorkflowUI.RootNavigator?>
  4. fieldvar _state: SwiftUI.ObservedObject<WorkflowUI.GalleryShortcutPageView.PageState>
  5. fieldvar _userInterface: SwiftUI.Environment<WFUserInterfaceHost?>
  6. fieldlet description: String?
  7. fieldlet icon: WFWorkflowIcon
  8. fieldlet item: WorkflowUI.GalleryShortcutPageView.Item
  9. fieldlet name: String
  10. fieldvar record: WFWorkflowRecord?
  11. fieldlet sharedAt: String?
  12. fieldlet workflowLoader: ((Result<WFWorkflowRecord, Error>) -> ()) -> ()+0x0
  13. typealiastypealias Body = SwiftUI._ConditionalContent<SwiftUI._ConditionalContent<SwiftUI.ModifiedContent<WorkflowUI.GalleryShortcutPageLoadingView, SwiftUI._AppearanceActionModifier>, SwiftUI._ConditionalContent<WorkflowUI.GalleryShortcutPageiOSView, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.Text, SwiftUI._EnvironmentKeyWritingModifier<SwiftUI.TextAlignment>>, SwiftUI._PaddingLayout>>>, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.Text, SwiftUI._EnvironmentKeyWritingModifier<SwiftUI.TextAlignment>>, SwiftUI._PaddingLayout>>
struct GalleryShortcutPageView {
    class PageState {
        // synthesized from the backing storage `_showDetailSheet`; the property's own accessors are stripped
        @Combine.Published var showDetailSheet: Swift.Bool {
            get
            set
        }
        // synthesized from the backing storage `_showShareSheet`; the property's own accessors are stripped
        @Combine.Published var showShareSheet: Swift.Bool {
            get
            set
        }
        // synthesized from the backing storage `_showImportQuestionsSheet`; the property's own accessors are stripped
        @Combine.Published var showImportQuestionsSheet: Swift.Bool {
            get
            set
        }
    }
    enum LoadingState {
        case loaded(__C.WFWorkflowRecord)
        case error(any Swift.Error)
        case loading
    }
    enum Item {
        case galleryWorkflow(__C.WFGalleryWorkflow)
        case sharedShortcut(__C.WFSharedShortcut)
    }
    let workflowLoader: (_: @escaping (_: Swift.Result<__C.WFWorkflowRecord, any Swift.Error>) -> ()) -> ()
    // synthesized from the backing storage `__loadingState`; the property's own accessors are stripped
    @SwiftUI.LazyState var _loadingState: WorkflowUI.GalleryShortcutPageView.LoadingState? {
        get
        set
    }
    // synthesized from the backing storage `_state`; the property's own accessors are stripped
    @SwiftUI.ObservedObject var state: WorkflowUI.GalleryShortcutPageView.PageState {
        get
        set
    }
    // synthesized from the backing storage `_userInterface`; the property's own accessors are stripped
    @SwiftUI.Environment var userInterface: (any __C.WFUserInterfaceHost)? {
        get
    }
    // synthesized from the backing storage `_rootNavigator`; the property's own accessors are stripped
    @SwiftUI.Environment var rootNavigator: (any WorkflowUI.RootNavigator)? {
        get
    }
    let item: WorkflowUI.GalleryShortcutPageView.Item
    var record: __C.WFWorkflowRecord?
    let name: Swift.String
    let icon: __C.WFWorkflowIcon
    let description: Swift.String?
    let sharedAt: Swift.String?
    // synthesized from the backing storage `__workflow`; the property's own accessors are stripped
    @SwiftUI.LazyState var _workflow: __C.WFWorkflow? {
        get
        set
    }
}