Skip to content

Commit ef41f25

Browse files
committed
feat: delete unused exports
1 parent 59fe032 commit ef41f25

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

src/schema/app/form-layout.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,19 @@ const hrFieldSchema = z.object({
8080
.describe("Field size configuration"),
8181
});
8282

83-
export const layoutFieldSchema = z.union([
83+
const layoutFieldSchema = z.union([
8484
standardFieldSchema,
8585
labelFieldSchema,
8686
spacerFieldSchema,
8787
hrFieldSchema,
8888
]);
8989

90-
export const layoutRowSchema = z.object({
90+
const layoutRowSchema = z.object({
9191
type: z.literal("ROW").describe("Row type identifier"),
9292
fields: z.array(layoutFieldSchema).describe("Array of fields in this row"),
9393
});
9494

95-
export const layoutSubtableSchema = z.object({
95+
const layoutSubtableSchema = z.object({
9696
type: z.literal("SUBTABLE").describe("Subtable type identifier"),
9797
code: z.string().describe("Subtable field code"),
9898
fields: z
@@ -112,7 +112,7 @@ export const layoutElementSchema: z.ZodType<LayoutElement> = z.lazy(() =>
112112
z.union([layoutRowSchema, layoutSubtableSchema, layoutGroupSchema]),
113113
);
114114

115-
export const layoutGroupSchema = z.object({
115+
const layoutGroupSchema = z.object({
116116
type: z.literal("GROUP").describe("Group type identifier"),
117117
code: z.string().describe("Group field code"),
118118
layout: z

src/schema/app/index.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
export {
2-
layoutFieldSchema,
3-
layoutRowSchema,
4-
layoutSubtableSchema,
5-
layoutGroupSchema,
6-
layoutElementSchema,
7-
} from "./form-layout.js";
1+
export { layoutElementSchema } from "./form-layout.js";

0 commit comments

Comments
 (0)