a68e05682b
follow up of https://github.com/twentyhq/twenty/pull/17317
43 lines
711 B
TypeScript
43 lines
711 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const SERVERLESS_FUNCTION_FRAGMENT = gql`
|
|
fragment ServerlessFunctionFields on ServerlessFunction {
|
|
id
|
|
name
|
|
description
|
|
runtime
|
|
timeoutSeconds
|
|
latestVersion
|
|
publishedVersions
|
|
sourceHandlerPath
|
|
builtHandlerPath
|
|
handlerName
|
|
cronTriggers {
|
|
id
|
|
settings
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
databaseEventTriggers {
|
|
id
|
|
settings
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
routeTriggers {
|
|
id
|
|
path
|
|
isAuthRequired
|
|
httpMethod
|
|
forwardedRequestHeaders
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
toolInputSchema
|
|
isTool
|
|
applicationId
|
|
createdAt
|
|
updatedAt
|
|
}
|
|
`;
|