// Name: Expose Script API
// Description: REST API for script execution
// Author: erauner12
import '@johnlindquist/kit'
import express, { Express, Request, Response } from 'express'
/**
* Interface defining the structure of a script object.
*/
interface Script {
name: string
filePath: string}
/**
* Fetches all scripts available in the Script Kit environment.
*/
const scripts = await getScripts()
/**