Backstage
    Preparing search index...
    • Parses an entity reference, either on string or compound form, and returns a structure with a name, and optional kind and namespace.

      Parameters

      • ref: string | { kind?: string; name: string; namespace?: string }

        The reference to parse

      • Optionalcontext: { defaultKind?: string; defaultNamespace?: string }

        The context of defaults that the parsing happens within

        • OptionaldefaultKind?: string

          The default kind, if none is given in the reference

        • OptionaldefaultNamespace?: string

          The default namespace, if none is given in the reference

      Returns CompoundEntityRef

      The compound form of the reference

      The context object can contain default values for the kind and namespace, that will be used if the input reference did not specify any.