Skip to content

fix(ai): allow configFiles to be null in template generator Details type#4736

Merged
Siumauricio merged 1 commit into
canaryfrom
fix/ai-configfiles-nullable-type
Jul 5, 2026
Merged

fix(ai): allow configFiles to be null in template generator Details type#4736
Siumauricio merged 1 commit into
canaryfrom
fix/ai-configfiles-nullable-type

Conversation

@Siumauricio

Copy link
Copy Markdown
Contributor

Problem

apps/dokploy typecheck fails on canary since #4732, which changed configFiles from optional to nullable in the AI suggestion schema (packages/server/src/services/ai.ts). The Details type in template-generator.tsx was not updated to match, so assigning AI suggestions to it fails type checking in step-two.tsx.

Solution

Update Details.configFiles to Mount[] | null | undefined to match the nullable schema.

@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Jul 5, 2026
@Siumauricio Siumauricio merged commit 38de9ef into canary Jul 5, 2026
4 checks passed
@Siumauricio Siumauricio deleted the fix/ai-configfiles-nullable-type branch July 5, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant