UNPKG

@intuitionrobotics/db-api-generator

Version:
33 lines 938 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ErrorKey_BadInput = exports.DefaultApiDefs = void 0; const thunderstorm_1 = require("@intuitionrobotics/thunderstorm"); exports.DefaultApiDefs = { Create: { method: thunderstorm_1.HttpMethod.POST, key: "create", suffix: "create" }, Update: { method: thunderstorm_1.HttpMethod.POST, key: "update", suffix: "update" }, Delete: { method: thunderstorm_1.HttpMethod.GET, // delete doesn't works, so we changed it to get key: "delete", suffix: "delete" }, Unique: { method: thunderstorm_1.HttpMethod.GET, key: "unique", suffix: "unique" }, Query: { method: thunderstorm_1.HttpMethod.POST, key: "query", suffix: "query" }, }; exports.ErrorKey_BadInput = "bad-input"; //# sourceMappingURL=types.js.map