00fea17920
https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=36235-120877 Did not do the file manager part. A Function is defined using one unique file at the moment Feature protected by featureFlag `IS_FUNCTION_SETTINGS_ENABLED` ## Demo https://github.com/user-attachments/assets/0acb8291-47b4-4521-a6fa-a88b9198609b
14 lines
438 B
TypeScript
14 lines
438 B
TypeScript
import { gql } from '@apollo/client';
|
|
import { SERVERLESS_FUNCTION_FRAGMENT } from '@/settings/serverless-functions/graphql/fragments/serverlessFunctionFragment';
|
|
|
|
export const CREATE_ONE_SERVERLESS_FUNCTION = gql`
|
|
${SERVERLESS_FUNCTION_FRAGMENT}
|
|
mutation CreateOneServerlessFunctionItem(
|
|
$input: CreateServerlessFunctionInput!
|
|
) {
|
|
createOneServerlessFunction(input: $input) {
|
|
...ServerlessFunctionFields
|
|
}
|
|
}
|
|
`;
|