Sanity Library Reference Docs
    Preparing search index...

    Class ObservableAgentsActionClient

    Index

    Constructors

    Methods

    • Transform a target document based on a source.

      Type Parameters

      • DocumentShape extends Record<string, any>

      Parameters

      Returns Observable<
          { [key: string]: any } & { _id: string } & { [key: string]: any } & {
              _type: string;
          } & DocumentShape,
      >

    • Translate a target document based on a source.

      Type Parameters

      • DocumentShape extends Record<string, any>

      Parameters

      Returns Observable<
          { [key: string]: any } & { _id: string } & { [key: string]: any } & {
              _type: string;
          } & DocumentShape,
      >