SwiftprotocolAppIntents
protocol AppIntents.AppEntity
Members 28
- func
static isObserved() async throws -> Bool - func
static notificationEvent(for: AppIntents.AppNotificationEvent.EventType, identifiers: [A.ID]) -> AppIntents.AppNotificationEvent - func
static notificationEvent(for: AppIntents.AppNotificationEvent.EventType) -> AppIntents.AppNotificationEvent - func
static onObservedChanged() async throws -> AppIntents.AppEventObservationStatusStream - var
static var defaultQuery: A.DefaultQuery { get } - var
static var defaultResolverSpecification: some AppIntents.ResolverSpecification { get } - var
static var requiredCapabilities: [AppIntents.RequiredCapability] { get } - var
static var structuredDataRepresentations: LNStructuredDataRepresentations { get } - var
static var valueType: LNValueType { get } - associatedtype
associatedtype DefaultQuery - 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 -> () - func
_setValue<A where A == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Sendable>(_: A1.Value, for: KeyPath<A, AppIntents.EntityProperty<A1>>) async throws -> () - func
_setValue<A where A: AppIntents._UpdatableAppEntity, A1: AppIntents._IntentValue, A1: Sendable>(_: A1, for: KeyPath<A, AppIntents._UpdatableEntityProperty<A, A1>>) -> () - 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 -> () - func
_setValue<A where A1: AppIntents._IntentValue, A1: Sendable>(_: A1, for: KeyPath<A, AppIntents.EntityProperty<A1>>) -> () - 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 - 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 - func
_value<A where A == A1.Entity, A1: AppIntents._DeferredIntentValue, A1: Sendable>(for: KeyPath<A, AppIntents.EntityProperty<A1>>) async throws -> A1.Value - func
_value<A where A: AppIntents._UpdatableAppEntity, A1: AppIntents._IntentValue, A1: Sendable>(for: KeyPath<A, AppIntents._UpdatableEntityProperty<A, A1>>) -> A1 - func
_value<A where A1: AppIntents._IntentValue, A1: Sendable>(for: KeyPath<A, AppIntents.EntityProperty<A1>>) -> A1 - func
asValueWithModelRepresentation(levelOfDetail: LNLevelOfDetailConfiguration, componentKinds: LNModelRepresentationComponentKindConfiguration) async -> LNValue - func
asValueWithModelRepresentation(levelOfDetail: LNLevelOfDetailConfiguration) async -> LNValue - func
notificationEvent(for: AppIntents.AppNotificationEvent.EventType) -> AppIntents.AppNotificationEvent - var
var asValue: LNValue { get } - var
var asValueWithDisplayRepresentation: (LNValue, AppIntents.DisplayRepresentation) { get } - var
var displayRepresentation: AppIntents.DisplayRepresentation { get } - var
var fullyQualifiedIdentifier: AppIntents.EntityIdentifier { get } - var
var id: A.Identifiable.ID { get }
Header
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 }