UNPKG

shyft

Version:

Model driven GraphQL API framework

27 lines (26 loc) 1.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StorageTypeNull = void 0; var StorageType_1 = require("./StorageType"); exports.StorageTypeNull = new StorageType_1.StorageType({ name: 'StorageTypeNull', description: 'Default storage without any implementation', findOne: function () { throw new Error("'StorageTypeNull' is not a real storage type implementation"); }, findOneByValues: function () { throw new Error("'StorageTypeNull' is not a real storage type implementation"); }, find: function () { throw new Error("'StorageTypeNull' is not a real storage type implementation"); }, count: function () { throw new Error("'StorageTypeNull' is not a real storage type implementation"); }, mutate: function () { throw new Error("'StorageTypeNull' is not a real storage type implementation"); }, checkLookupPermission: function () { throw new Error("'StorageTypeNull' is not a real storage type implementation"); }, });