Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ellipse and Rectangle Schema #375

Merged
merged 12 commits into from
Dec 19, 2023
5 changes: 3 additions & 2 deletions packages/common/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export const Dict = z.object({
bulkUpdateFieldName: z.string(),
hexColorPrompt: z.string(),
// -----------------used in schemas-----------------
'schemas.color': z.string(),
'schemas.borderWidth': z.string(),
'schemas.borderColor': z.string(),
'schemas.textColor': z.string(),
'schemas.bgColor': z.string(),
'schemas.horizontal': z.string(),
Expand All @@ -51,8 +54,6 @@ export const Dict = z.object({
'schemas.text.dynamicFontSize': z.string(),

'schemas.barcodes.barColor': z.string(),

'schemas.line.color': z.string(),
});
export const Mode = z.enum(['viewer', 'form', 'designer']);

Expand Down
Binary file modified packages/generator/__tests__/assets/pdfs/assert/background.pdf
Binary file not shown.
Binary file not shown.
Loading
Loading