@incremunica/context-entries
Version:
A collection of reusable Incremunica context key definitions.
37 lines • 1.67 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.KeysGraphQLSource = exports.KeysSourceWatch = exports.KeysBindings = exports.KeysStreamingSource = exports.KeysDetermineChanges = void 0;
const core_1 = require("@comunica/core");
/**
* When adding entries to this file, also add a shortcut for them in the contextKeyShortcuts TSDoc comment in
* ActorIniQueryBase in @comunica/actor-init-query if it makes sense to use this entry externally.
* Also, add this shortcut to IQueryContextCommon in @comunica/types.
*/
exports.KeysDetermineChanges = {
/**
* Events sent by the determine-changes actor.
*/
events: new core_1.ActionContextKey('@incremunica/determine-changes:events'),
};
exports.KeysStreamingSource = {
matchOptions: new core_1.ActionContextKey('@incremunica/streaming-source:matchOptions'),
};
exports.KeysBindings = {
isAddition: new core_1.ActionContextKey('@incremunica/bindings:isAddition'),
order: new core_1.ActionContextKey('@incremunica/bindings:order'),
};
exports.KeysSourceWatch = {
pollingPeriod: new core_1.ActionContextKey('@incremunica/source-watch:pollingPeriod'),
deferredEvaluationTrigger: new core_1.ActionContextKey('@incremunica/source-watch:deferredEvaluationTrigger'),
};
exports.KeysGraphQLSource = {
/**
* The GraphQL schema linked to the source
*/
schema: new core_1.ActionContextKey('@incremunica/actor-query-source-identify-graphql:schema'),
/**
* The LD-context for that source
*/
context: new core_1.ActionContextKey('@incremunica/actor-query-source-identify-graphql:context'),
};
//# sourceMappingURL=Keys.js.map