iya-sts
    Preparing search index...
    define: (
        body?: Record<string, any>,
    ) =>
        | { errors: string[]; ok: boolean }
        | { definition: Definition; message: string; ok: boolean } = ...

    Type Declaration

      • (
            body?: Record<string, any>,
        ):
            | { errors: string[]; ok: boolean }
            | { definition: Definition; message: string; ok: boolean }
      • Defines a custom attribute in this realm.

        Parameters

        • Optionalbody: Record<string, any>

          name, label, syntax, multiValued (or values: single or multiple), an optional description, and the portal flags portalVisible and portalEditable (#700), both off unless sent

        Returns
            | { errors: string[]; ok: boolean }
            | { definition: Definition; message: string; ok: boolean }

        { ok: true, definition, message }, or a refusal with a code