Websites v4 docs v12.7.0
    Preparing search index...

    Hierarchy

    • default
      • AiResponse
    Index
    aiResponseData: AiResponseData | null
    serializer: (model: any) => any

    serializer is a pure function that takes a model instance and returns a plain object that describes how to convert the model to JSON

    • Retrieves a value from raw API data. Prioritises DBAPI data if available

      Parameters

      • key: string

      Returns any

    • Special method to define behaviour of JSON.stringify() on model instance

      Returns any

    • Parameters

      Returns Promise<
          {
              errors: ModelError[]
              | null;
              result: { description: string; title: string } | null;
          },
      >