-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathStyleHelperTool.schema.ts
More file actions
25 lines (23 loc) · 1.21 KB
/
StyleHelperTool.schema.ts
File metadata and controls
25 lines (23 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { z } from 'zod';
export const StyleHelperToolSchema = z.object({
step: z
.enum(['start', 'features', 'colors', 'generate'])
.optional()
.describe('Current step in the wizard'),
name: z.string().optional().describe('Name for the style'),
// Feature toggles
show_pois: z.boolean().optional().describe('Show POI labels'),
show_road_labels: z.boolean().optional().describe('Show road labels'),
show_place_labels: z.boolean().optional().describe('Show city/town labels'),
show_transit: z.boolean().optional().describe('Show transit features'),
show_buildings: z.boolean().optional().describe('Show buildings'),
show_parks: z.boolean().optional().describe('Show parks and green spaces'),
// Colors
road_color: z.string().optional().describe('Road color (hex)'),
water_color: z.string().optional().describe('Water color (hex)'),
building_color: z.string().optional().describe('Building color (hex)'),
land_color: z.string().optional().describe('Land/background color (hex)'),
park_color: z.string().optional().describe('Park color (hex)'),
label_color: z.string().optional().describe('Label text color (hex)')
});
export type StyleHelperToolInput = z.infer<typeof StyleHelperToolSchema>;