Skip to content

feat: add TypeScript type generation task and create generated.d.ts file - #26

Merged
roble merged 1 commit into
mainfrom
dev
Mar 17, 2026
Merged

feat: add TypeScript type generation task and create generated.d.ts file#26
roble merged 1 commit into
mainfrom
dev

Conversation

@roble

@roble roble commented Mar 17, 2026

Copy link
Copy Markdown
Collaborator

This pull request adds a new code generation task to the Taskfile.yml, making it easier to generate TypeScript types from PHP DTOs and enums for the Settings module.

Code Generation:

  • Added a types:generate task that runs php artisan module:generate-types Settings to generate TypeScript types from PHP DTOs and enums.

Copilot AI review requested due to automatic review settings March 17, 2026 17:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a Taskfile entry intended to standardize generating TypeScript declaration types for the Settings module from PHP DTOs/enums.

Changes:

  • Added a types:generate Taskfile task that runs php artisan module:generate-types Settings.
  • Added resources/js/types/generated.d.ts as the expected output location for generated TypeScript declarations.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
Taskfile.yml Adds a dedicated task to run the Settings type-generation artisan command.
resources/js/types/generated.d.ts Introduces the generated TypeScript declaration file intended to hold DTO/enum typings.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@roble
roble merged commit dc90b8d into main Mar 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants