Skip to content

Commit

Permalink
test: add integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Apr 23, 2024
1 parent 3df0d0f commit 875ecba
Show file tree
Hide file tree
Showing 8 changed files with 384 additions and 31 deletions.
13 changes: 2 additions & 11 deletions dist/schema/output.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions dist/schema/output.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/schema/output.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions src/schema/output.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import { z } from 'zod';

const outputPolicySchema = z.object({
template: z.string(),
section: z.record(z.array(z.string())),
});

export type OutputPolicy = z.infer<typeof outputPolicySchema>;
export type OutputPolicy = {
template: string;
section: Record<string, string[]>;
};
Loading

0 comments on commit 875ecba

Please sign in to comment.