@triply/triplydb
    Preparing search index...

    Type Alias DuplicateOptions

    DuplicateOptions: Partial<AddQueryOptions> & {
        updateRenderConfig?: (
            renderConfig: QueryRenderConfig["settings"] | undefined,
        ) => QueryRenderConfig["settings"];
    }

    What Query.copy may change on the copy.

    Type Declaration

    • OptionalupdateRenderConfig?: (
          renderConfig: QueryRenderConfig["settings"] | undefined,
      ) => QueryRenderConfig["settings"]

      Rewrites the copy's visualization settings.

      Receives the original query's settings, or undefined when it has none, and returns the settings to give the copy.

    Everything not named here is carried over from the query being copied.