Skip to content

feat(functions): improve trigger parameter definitions with enums and examples#127

Merged
binggg merged 1 commit intomainfrom
feature/trigger-params-improvement
Aug 7, 2025
Merged

feat(functions): improve trigger parameter definitions with enums and examples#127
binggg merged 1 commit intomainfrom
feature/trigger-params-improvement

Conversation

@binggg
Copy link
Copy Markdown
Member

@binggg binggg commented Aug 7, 2025

Description

This PR addresses issue #119 by improving the trigger parameter definitions in the functions tools.

Changes

  • Added constant with enum support for trigger types
  • Added with detailed examples for timer triggers
  • Updated both and tools to use enum validation
  • Improved parameter descriptions with cron expression format and examples
  • All comments are in English following project standards

Examples

Now users can see clear examples for timer trigger configuration:

    • Execute at 2:00 AM on the 1st of every month
    • Execute at 9:30 AM every day
    • Execute at 12:00 PM every day
    • Execute at midnight on January 1st every year

Testing

  • All existing tests pass
  • No breaking changes to existing functionality

Closes #119

@binggg binggg merged commit 8d76a51 into main Aug 7, 2025
1 check passed
binggg added a commit that referenced this pull request Sep 4, 2025
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.

函数触发器参数细化

1 participant