Skip to content

Actions: expose utility types#11438

Merged
bholmesdev merged 3 commits intomainfrom
feat/expose-astro-error-code
Jul 10, 2024
Merged

Actions: expose utility types#11438
bholmesdev merged 3 commits intomainfrom
feat/expose-astro-error-code

Conversation

@bholmesdev
Copy link
Copy Markdown
Contributor

Changes

Expose astro:actions utility types for library authors per feedback in the RFC.

  • Expose ACTION_ERROR_CODES const with ActionErrorCode type
  • Expose ActionHandler type
  • Rename Accept to ActionAccept and InputSchema to ActionInputSchema. These types were already use-facing and deserve a namespace.

Testing

N/A

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jul 9, 2024

🦋 Changeset detected

Latest commit: 22796f2

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review labels Jul 9, 2024
@bholmesdev bholmesdev force-pushed the feat/expose-astro-error-code branch from 55487eb to 22796f2 Compare July 10, 2024 11:04
@bholmesdev bholmesdev merged commit 619f07d into main Jul 10, 2024
@bholmesdev bholmesdev deleted the feat/expose-astro-error-code branch July 10, 2024 12:02
@astrobot-houston astrobot-houston mentioned this pull request Jul 10, 2024
ematipico pushed a commit that referenced this pull request Jul 18, 2024
* feat: expose ACTION_ERROR_CODES util

* feat: expose ActionHandler util type

* chore: changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope) pr: docs A PR that includes documentation for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants