UNPKG

@n0safe/indirectus

Version:
24 lines 643 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Context = void 0; exports.createContext = createContext; exports.contextFromSchema = contextFromSchema; exports.contextToJson = contextToJson; exports.contextFromJson = contextFromJson; class Context { constructor() { } } exports.Context = Context; function createContext(schema) { return new Context(); } function contextFromSchema(schema) { return createContext(schema); } function contextToJson(context) { return JSON.stringify(context); } function contextFromJson(json) { return JSON.parse(json); } //# sourceMappingURL=context.js.map