@wearesage/schema
    Preparing search index...

    Function OneToOne

    • OneToOne decorator - defines a one-to-one relationship

      This decorator stores metadata on the property that can be later processed by SchemaBuilder.

      Type Parameters

      • T

      Parameters

      Returns (target: any, propertyKey: string) => void