persona-community-5/.pnpm-store/v3/files/9c/2c115a698f5dc9bb37cd7131d7d6a733c7e0cb22d1db45a1349bfe8fb304acfe61fe99c50d4a85157b412746501b82795fbc9005bd0fa4a92d0194e7069905
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

23 lines
917 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SourceDescriptionType = void 0;
const SourceDescriptionType = () => {
return {
SourceDescriptions: {
enter(sourceDescriptions, { report, location }) {
if (!sourceDescriptions.length)
return;
for (const sourceDescription of sourceDescriptions) {
if (!['openapi', 'arazzo'].includes(sourceDescription?.type)) {
report({
message: 'The `type` property of the `sourceDescription` object must be either `openapi` or `arazzo`.',
location: location.child([sourceDescriptions.indexOf(sourceDescription)]),
});
}
}
},
},
};
};
exports.SourceDescriptionType = SourceDescriptionType;