Class: Ecoportal::API::GraphQL::Query::PageDelta

Inherits:
Logic::QueryArray show all
Defined in:
lib/ecoportal/api/graphql/query/page_delta.rb

Overview

Cache-invalidation query: given a list of (id, deltaAt) pairs, returns which pages have been UPDATED since that timestamp, are NOT_FOUND (deleted/ inaccessible), or are NEW (id not recognised by the server).

Usage: Query::PageDelta.new(client).query( deltaInput: [ { id: 'abc', deltaAt: '2026-01-01T00:00:00Z' }, { id: 'def', deltaAt: '2026-03-15T12:00:00Z' } ] ) # => [DeltaResult(id: 'abc', delta: 'UPDATED'), ...]

Method Summary

Methods inherited from Logic::QueryArray

#each, #response_class