Skip to main content
RecommendedStrictAuto-fixableScope
warnerrorfalseModel action files
Related Gadget documentation: Gadget docs
What the linter reports:
actionType “value” must be create, update, delete, or custom.

Examples

api/models/widget/actions/create.ts
export const options: ActionOptions = {
  // "scheduler" is not valid - must be create, update, delete, or custom
  actionType: "scheduler",
};
Last modified on March 10, 2026