6f9aa1e870
- improvements on serverless function behavior (autosave performances, deploy on execution only) - add versioning to serverless functions - add a publish endpoint to create a new version of a serverless function - add deploy and reset to lastVersion button in the settings section: <img width="736" alt="image" src="https://github.com/user-attachments/assets/2001f8d2-07a4-4f79-84dd-ec74b6f301d3">
15 lines
296 B
TypeScript
15 lines
296 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const EXECUTE_ONE_SERVERLESS_FUNCTION = gql`
|
|
mutation ExecuteOneServerlessFunction(
|
|
$input: ExecuteServerlessFunctionInput!
|
|
) {
|
|
executeOneServerlessFunction(input: $input) {
|
|
data
|
|
duration
|
|
status
|
|
error
|
|
}
|
|
}
|
|
`;
|