External Nodes

In order to reduce bundle size, installation time and clutter some nodes will not be in the core @aigur/client package. Instead, they will be in separate packages but they are no different than the packages in the core package.

index.ts

import { supabaseUpload } from '@aigur/supabase';
// ...
flow.node(supabaseUpload, ({ prev }) => ({
bucket: 'results',
extension: 'png',
file: prev.result,
supabaseServiceKey: process.env.SUPABASE_SERVICE_KEY!,
supabaseUrl: process.env.SUPABASE_URL!,
}))
// ...

  • More to come soon...