{"size": 1010, "ext": "js", "max_stars_repo_path": "templates/supabase/create-user/input.js", "max_stars_repo_name": "buildable/templates", "max_stars_repo_stars_event_min_datetime": "2022-02-24T01:15:29.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T14:09:29.000Z", "max_issues_repo_path": "templates/supabase/create-user/input.js", "max_issues_repo_name": "buildable/templates", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "templates/supabase/create-user/input.js", "max_forks_repo_name": "buildable/templates", "max_forks_repo_forks_event_min_datetime": "2022-02-28T04:15:27.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-18T14:08:48.000Z"}
{"max_stars_count": 50, "max_issues_count": null, "max_forks_count": 3, "avg_line_length": 27.2972972973, "max_line_length": 103, "alphanum_fraction": 0.4821782178}
/**
 * ----------------------------------------------------------------------------------------------------
 * Create User [Input]
 *
 * @author    Buildable Technologies Inc.
 * @access    open
 * @license   MIT
 * @docs      https://supabase.com/docs/reference/javascript/auth-signup
 *
 * ----------------------------------------------------------------------------------------------------
 */

/**
 * Lets you select the input for your Node's run function
 *
 * @param {Params} params
 * @param {Object} $trigger - This Flow's request object
 * @param {Object} $nodes - Data from above Nodes
 */
const nodeInput = ({ $trigger, $nodes }) => {
  return {
    SUPABASE_URL: $trigger.env.SUPABASE_URL, // Required
    SUPABASE_KEY: $trigger.env.SUPABASE_KEY, // Required

    email: "example@domain.com", // Required
    password: "+fY9-/YeHYPyPQG9ng$", // Required

    options: {
      data: {
        name: "John Doe",
        username: "thejdoe",
        organization: "Buildable",
      },
    },
  };
};
