Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/mql-typescript/mql-specifications
1,517 changes: 802 additions & 715 deletions packages/mql-typescript/out/schema.d.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/mql-typescript/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ async function main() {
}

main().catch((err) => {
console.error(err);
console.dir(err, { depth: Infinity });
process.exit(1);
});
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ export class DriverSchemaGenerator extends GeneratorBase {
console.error(`No docs reference found for ${test.name}`);
return '// TODO: No docs reference found';
}
if (!test.pipeline) {
console.error(`No pipeline found for ${test.name} at ${test.link}`);
return '// TODO: No pipeline found';
if (
(!('pipeline' in test) || !test.pipeline) &&
(!('update' in test) || !test.update) &&
(!('filter' in test) || !test.filter)
) {
console.error(
`No pipeline, update, or filter found for ${test.name} at ${test.link}`,
);
return '// TODO: No pipeline, update, or filter found';
}

const docsCrawler = new DocsCrawler(test.link);
Expand Down
Loading
Loading