UNPKG

@fabrix/spool-tapestries

Version:

Spool - Tapestries, Easy RESTful Services

32 lines (31 loc) 1.45 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const common_1 = require("@fabrix/fabrix/dist/common"); const errors_1 = require("../../errors"); class TapestryService extends common_1.FabrixService { find(model, criteria, options) { return Promise.reject(new errors_1.TapestryServiceNotInstalledError()); } create(model, body, options) { return Promise.reject(new errors_1.TapestryServiceNotInstalledError()); } update(model, criteria, body, options) { return Promise.reject(new errors_1.TapestryServiceNotInstalledError()); } destroy(model, criteria, options) { return Promise.reject(new errors_1.TapestryServiceNotInstalledError()); } findAssociation(parentModel, parentId, childAttribute, childId, options) { return Promise.reject(new errors_1.TapestryServiceNotInstalledError()); } createAssociation(parentModel, parentId, childAttribute, body, options) { return Promise.reject(new errors_1.TapestryServiceNotInstalledError()); } updateAssociation(parentModel, parentId, childAttribute, childId, body, options) { return Promise.reject(new errors_1.TapestryServiceNotInstalledError()); } destroyAssociation(parentModel, parentId, childAttribute, childId, options) { return Promise.reject(new errors_1.TapestryServiceNotInstalledError()); } } exports.TapestryService = TapestryService;