SwiftstructAppIntentSchemas

struct AppIntentSchemas.FacetSchema

Structure

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

Members 13

  1. fieldlet description: String+0x10
  2. fieldlet entities: [AppIntentSchemas.EntitySchema]+0x28
  3. fieldlet enums: [AppIntentSchemas.EnumSchema]+0x30
  4. fieldlet intents: [AppIntentSchemas.IntentSchema]+0x20
  5. fieldlet name: String+0x0
  6. fieldlet queries: [AppIntentSchemas.QuerySchema]+0x38
  7. funcwithRelatedData(from: GRDBInternal.Database) throws -> AppIntentSchemas.FacetSchema
  8. initinit(row: GRDBInternal.Row) -> AppIntentSchemas.FacetSchema
  9. initinit(name: String, description: String, intents: [AppIntentSchemas.IntentSchema], entities: [AppIntentSchemas.EntitySchema], enums: [AppIntentSchemas.EnumSchema], queries: [AppIntentSchemas.QuerySchema]) -> AppIntentSchemas.FacetSchema
  10. initinit(name: String, description: String, schemas: () -> [AppIntentSchemas.Schema]) -> AppIntentSchemas.FacetSchema
  11. initinit(_: String, description: String, schemas: () -> [AppIntentSchemas.Schema]) -> AppIntentSchemas.FacetSchema
  12. varvar _visibility: AppIntentSchemas.DomainVisibility { get }
  13. varvar schemas: [AppIntentSchemas.Schema] { get }
struct FacetSchema {
    enum CodingKeys {
        case name
        case description
        case intents
        case entities
        case enums
        case queries
    }
    let name: Swift.String
    let description: Swift.String
    let intents: [AppIntentSchemas.IntentSchema]
    let entities: [AppIntentSchemas.EntitySchema]
    let enums: [AppIntentSchemas.EnumSchema]
    let queries: [AppIntentSchemas.QuerySchema]

    init(row: GRDBInternal.Row)
    init(name: Swift.String, description: Swift.String, intents: [AppIntentSchemas.IntentSchema], entities: [AppIntentSchemas.EntitySchema], enums: [AppIntentSchemas.EnumSchema], queries: [AppIntentSchemas.QuerySchema])
    init(name: Swift.String, description: Swift.String, schemas: () -> [any AppIntentSchemas.Schema])
    init(_: Swift.String, description: Swift.String, schemas: () -> [any AppIntentSchemas.Schema])

    var _visibility: AppIntentSchemas.DomainVisibility {
        get
    }
    var schemas: [any AppIntentSchemas.Schema] {
        get
    }

    func withRelatedData(from: GRDBInternal.Database) throws -> AppIntentSchemas.FacetSchema
}