Member Junction
    Preparing search index...

    Server implementation of the Query.RefreshExtraction remote operation: refreshes one saved query, or a selection, through QueryExtractionService, reporting each query as a progress event as it finishes.

    Authorize refuses a caller without Update on MJ: Queries and Create, Update and Delete on its child entities; the service applies the same check and the per-query non-disclosure guard for every entry point. An API-key caller also needs the operation's query:refresh scope. A request for exactly one query ID, and nothing else, reports a query that does not exist and one the caller may not refresh with the same message.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    AuthorizedWriteEntities?: readonly string[]

    Optional allow-list of entity names (or ['*']) that this Remote Operation is authorized to mutate when GrantsServerWriteAuthority is true. Forwarded into the active ServerOperationScopeFrame.allowedEntities by DispatchRemoteOperationInProcess.

    ContractFingerprint: "ro_fp_3db4b7e8e79d83f6"

    Optional structural contract fingerprint emitted by CodeGen (or set by a hand-authored operation). Automatically forwarded on Execute when the caller didn't override options.contractFingerprint, allowing the server resolver to detect stale client bundles.

    ExecutionMode: "LongRunning"

    Whether this operation is a plain Sync request/response or a LongRunning run.

    ExposeAsAgentTool?: boolean

    When true, exposes this operation for automatic discovery by MJ AI Agent tool adapters.

    ExposeAsMCPTool?: boolean

    When true, exposes this operation for automatic discovery by MJ MCP server tool adapters.

    OperationKey: "Query.RefreshExtraction"

    Stable registry key and wire token for this operation (e.g. RecordProcess.RunNow).

    RequiredScope: "query:refresh"

    Optional API-key scope string (e.g. recordprocess:execute) enforced for API-key / MCP callers by the server resolver. undefined means no scope gate; interactive users remain bounded by their entity permissions. Informational here — the server applies it.

    RequiresSystemUser: false

    When true, the server only permits the system user to invoke this operation.

    ToolDescription?: string

    Human/LLM-readable description when exposed as an Agent or MCP tool.

    ToolInputSchema?: Record<string, RemoteOpToolSchemaValue>

    Optional JSON-Schema object describing TInput when exposed as an Agent or MCP tool.

    Accessors

    • get GrantsServerWriteAuthority(): boolean

      Whether executing this Remote Operation on the server establishes an authorized ServerOperationScope for entities configured with WriteAuthority = 'ServerOperationOnly'.

      Domain operations default to true. Generic client CRUD transports (such as SaveEntityGraphOperation) override this to false so clients cannot bypass ServerOperationOnly gates by wrapping entity writes in a generic graph mutation.

      Returns boolean

    Methods