persona-community-5/.pnpm-store/v3/files/37/9764a33aa918c9a4ef922a2f7815a371ddb2ad58ed942d7aeeaca1657fa1a25a0afcc39a4fa83417d2da868ccbd3c2e025782d3b4c70e9f632c9fcb69ee833
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

18 lines
595 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ResponseMimeType = void 0;
const utils_1 = require("../../utils");
const ResponseMimeType = ({ allowedValues }) => {
return {
Root(root, ctx) {
(0, utils_1.validateMimeType)({ type: 'produces', value: root }, ctx, allowedValues);
},
Operation: {
leave(operation, ctx) {
(0, utils_1.validateMimeType)({ type: 'produces', value: operation }, ctx, allowedValues);
},
},
};
};
exports.ResponseMimeType = ResponseMimeType;