You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: consolidate flow registration in index.ts and remove flows.ts (#437)
# Update Flow Registration to Use Single File
This PR simplifies the pgflow architecture by consolidating flow registration into a single file. Instead of using a separate `flows.ts` file, flows are now registered directly in the `index.ts` file of the pgflow edge function.
Key changes:
- Removed `flows.ts` and moved flow registration directly into `index.ts`
- Updated error messages and documentation to reference `index.ts` instead of `flows.ts`
- Added a new documentation page explaining the auto-compilation architecture
- Updated the getting started guide to reflect the new registration pattern
- Modified tests to match the new file structure
This change makes flow registration more straightforward for users and reduces the number of files they need to manage. The documentation now clearly explains how to register flows and how the auto-compilation process works.
0 commit comments