persona-community-5/.pnpm-store/v3/files/df/ee7e8e4bab7250e7ae00d32027e95543c8f3b342bac8d9182504c8553927e7d0574876fdd975b358cf357f89a881467278c1644b275e94ffdfa440744b79e3
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

21 lines
711 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OperationIdUnique = void 0;
const OperationIdUnique = () => {
const seenOperations = new Set();
return {
Operation(operation, { report, location }) {
if (!operation.operationId)
return;
if (seenOperations.has(operation.operationId)) {
report({
message: 'Every operation must have a unique `operationId`.',
location: location.child([operation.operationId]),
});
}
seenOperations.add(operation.operationId);
},
};
};
exports.OperationIdUnique = OperationIdUnique;