SwiftprotocolAppIntents

protocol AppIntents.AppEntity

Members 28

  1. funcstatic isObserved() async throws -> Bool
  2. funcstatic notificationEvent(for: AppIntents.AppNotificationEvent.EventType, identifiers: [A.ID]) -> AppIntents.AppNotificationEvent
  3. funcstatic notificationEvent(for: AppIntents.AppNotificationEvent.EventType) -> AppIntents.AppNotificationEvent
  4. funcstatic onObservedChanged() async throws -> AppIntents.AppEventObservationStatusStream
  5. varstatic var defaultQuery: A.DefaultQuery { get }
  6. varstatic var defaultResolverSpecification: some AppIntents.ResolverSpecification { get }
  7. varstatic var requiredCapabilities: [AppIntents.RequiredCapability] { get }
  8. varstatic var structuredDataRepresentations: LNStructuredDataRepresentations { get }
  9. varstatic var valueType: LNValueType { get }
  10. associatedtypeassociatedtype DefaultQuery
  11. func_setValue<A where A: AppIntents._UpdatableAppEntity, A == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Sendable>(_: A1.Value, for: KeyPath<A, AppIntents._UpdatableEntityProperty<A, A1>>) async throws -> ()
  12. func_setValue<A where A == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Sendable>(_: A1.Value, for: KeyPath<A, AppIntents.EntityProperty<A1>>) async throws -> ()
  13. func_setValue<A where A: AppIntents._UpdatableAppEntity, A1: AppIntents._IntentValue, A1: Sendable>(_: A1, for: KeyPath<A, AppIntents._UpdatableEntityProperty<A, A1>>) -> ()
  14. func_setValue<A, B, C where A == B1.Entity, A1 == B1.Value, B1: AppIntents._DeferredIntentValue, B1: Sendable, C1: AppIntents._EntityPropertyUpdatingIntent, A1.ValueType == C1.PropertyReference.Value.ValueType, B1.Entity == C1.PropertyReference.Entity>(_: A1, for: KeyPath<A, AppIntents._IntentUpdatableEntityProperty<A, B1, C1>>) async throws -> ()
  15. func_setValue<A where A1: AppIntents._IntentValue, A1: Sendable>(_: A1, for: KeyPath<A, AppIntents.EntityProperty<A1>>) -> ()
  16. func_value<A where A: AppIntents._UpdatableAppEntity, A == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Sendable>(for: KeyPath<A, AppIntents._UpdatableEntityProperty<A, A1>>) async throws -> A1.Value
  17. func_value<A, B where A == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Sendable, B1: AppIntents._EntityPropertyUpdatingIntent, A1.Entity == B1.PropertyReference.Entity, A1.ValueType == B1.PropertyReference.Value.ValueType>(for: KeyPath<A, AppIntents._IntentUpdatableEntityProperty<A, A1, B1>>) async throws -> A1.Value
  18. func_value<A where A == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Sendable>(for: KeyPath<A, AppIntents.EntityProperty<A1>>) async throws -> A1.Value
  19. func_value<A where A: AppIntents._UpdatableAppEntity, A1: AppIntents._IntentValue, A1: Sendable>(for: KeyPath<A, AppIntents._UpdatableEntityProperty<A, A1>>) -> A1
  20. func_value<A where A1: AppIntents._IntentValue, A1: Sendable>(for: KeyPath<A, AppIntents.EntityProperty<A1>>) -> A1
  21. funcasValueWithModelRepresentation(levelOfDetail: LNLevelOfDetailConfiguration, componentKinds: LNModelRepresentationComponentKindConfiguration) async -> LNValue
  22. funcasValueWithModelRepresentation(levelOfDetail: LNLevelOfDetailConfiguration) async -> LNValue
  23. funcnotificationEvent(for: AppIntents.AppNotificationEvent.EventType) -> AppIntents.AppNotificationEvent
  24. varvar asValue: LNValue { get }
  25. varvar asValueWithDisplayRepresentation: (LNValue, AppIntents.DisplayRepresentation) { get }
  26. varvar displayRepresentation: AppIntents.DisplayRepresentation { get }
  27. varvar fullyQualifiedIdentifier: AppIntents.EntityIdentifier { get }
  28. varvar id: A.Identifiable.ID { get }
protocol AppEntity: AppIntents.AppValue, AppIntents.DisplayRepresentable, Swift.Identifiable where Self == Self.ValueType, Self.DefaultQuery: AppIntents.EntityQuery, Self.ID: AppIntents.EntityIdentifierConvertible, Self.ValueType == Self.DefaultQuery.Entity {
    associatedtype DefaultQuery

    static var defaultQuery: Self.DefaultQuery {
        get
    }
}
extension AppIntents.AppEntity where Self: AppIntents.CaseDisplayRepresentable {
    var displayRepresentation: AppIntents.DisplayRepresentation {
        get
    }
}
extension AppIntents.AppEntity where Self: Swift.RawRepresentable, Self.ID == Self.RawValue {
    var id: Self.ID {
        get
    }

    static var defaultQuery: AppIntents._RawRepresentableStringQuery<Self> {
        get
    }
}
extension AppIntents.AppEntity where Self: AppIntents.AppEnum {
    static var defaultResolverSpecification: some AppIntents.ResolverSpecification {
        get
    }
}
extension AppIntents.AppEntity {
    var asValue: __C.LNValue {
        get
    }
    var asValueWithDisplayRepresentation: (__C.LNValue, AppIntents.DisplayRepresentation) {
        get
    }
    var fullyQualifiedIdentifier: AppIntents.EntityIdentifier {
        get
    }

    func notificationEvent(for: AppIntents.AppNotificationEvent.EventType) -> AppIntents.AppNotificationEvent
    func asValueWithModelRepresentation(levelOfDetail: __C.LNLevelOfDetailConfiguration, componentKinds: __C.LNModelRepresentationComponentKindConfiguration) async -> __C.LNValue
    func asValueWithModelRepresentation(levelOfDetail: __C.LNLevelOfDetailConfiguration) async -> __C.LNValue
    func _value<A1>(for: Swift.KeyPath<Self, AppIntents._UpdatableEntityProperty<Self, A1>>) async throws -> A1.Value where Self: AppIntents._UpdatableAppEntity, Self == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Swift.Sendable
    func _value<A1, B1>(for: Swift.KeyPath<Self, AppIntents._IntentUpdatableEntityProperty<Self, A1, B1>>) async throws -> A1.Value where Self == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Swift.Sendable, B1: AppIntents._EntityPropertyUpdatingIntent, A1.Entity == B1.PropertyReference.Entity, A1.ValueType == B1.PropertyReference.Value.ValueType
    func _value<A1>(for: Swift.KeyPath<Self, AppIntents.EntityProperty<A1>>) async throws -> A1.Value where Self == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Swift.Sendable
    func _value<A1>(for: Swift.KeyPath<Self, AppIntents._UpdatableEntityProperty<Self, A1>>) -> A1 where Self: AppIntents._UpdatableAppEntity, A1: AppIntents._IntentValue, A1: Swift.Sendable
    func _value<A1>(for: Swift.KeyPath<Self, AppIntents.EntityProperty<A1>>) -> A1 where A1: AppIntents._IntentValue, A1: Swift.Sendable
    func _setValue<A1>(_: A1.Value, for: Swift.KeyPath<Self, AppIntents._UpdatableEntityProperty<Self, A1>>) async throws where Self: AppIntents._UpdatableAppEntity, Self == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Swift.Sendable
    func _setValue<A1>(_: A1.Value, for: Swift.KeyPath<Self, AppIntents.EntityProperty<A1>>) async throws where Self == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Swift.Sendable
    func _setValue<A1>(_: A1, for: Swift.KeyPath<Self, AppIntents._UpdatableEntityProperty<Self, A1>>) where Self: AppIntents._UpdatableAppEntity, A1: AppIntents._IntentValue, A1: Swift.Sendable
    func _setValue<A1, B1, C1>(_: A1, for: Swift.KeyPath<Self, AppIntents._IntentUpdatableEntityProperty<Self, B1, C1>>) async throws where Self == B1.Entity, A1 == B1.Value, B1: AppIntents._DeferredIntentValue, B1: Swift.Sendable, C1: AppIntents._EntityPropertyUpdatingIntent, A1.ValueType == C1.PropertyReference.Value.ValueType, B1.Entity == C1.PropertyReference.Entity
    func _setValue<A1>(_: A1, for: Swift.KeyPath<Self, AppIntents.EntityProperty<A1>>) where A1: AppIntents._IntentValue, A1: Swift.Sendable

    static var defaultResolverSpecification: AppIntents.EmptyResolverSpecification<Self> {
        get
    }
    static var requiredCapabilities: [any AppIntents.RequiredCapability] {
        get
    }
    static var structuredDataRepresentations: __C.LNStructuredDataRepresentations {
        get
    }
    static var valueType: __C.LNValueType {
        get
    }

    static func isObserved() async throws -> Swift.Bool
    static func notificationEvent(for: AppIntents.AppNotificationEvent.EventType, identifiers: [Self.ID]) -> AppIntents.AppNotificationEvent
    static func notificationEvent(for: AppIntents.AppNotificationEvent.EventType) -> AppIntents.AppNotificationEvent
    static func onObservedChanged() async throws -> any AppIntents.AppEventObservationStatusStream
}