persona-community-5/.pnpm-store/v3/files/e7/622b6fbb731f8f48252e9c2893bf69705ac17a1c30bde10920f6e68a3fe6aaac16807722f15d1ab0409350612ba804be2c592cae885d7e865d581d8ca6da18
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
591 B
Plaintext

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