What actually is a Glue?
A Glue is a single TypeScript file that can respond to external events and take actions. We run your Glue code using Deno both locally and in the cloud.The nouns
Glues: represents a single script you write that can respond to external events and take actions Deployments: represents a deployed version of your Glue code. There is only ever one live deployment for a Glue. Triggers: configuration for events you want to listen to for a particular external service. For example, if you want to listen for Stripe payment failures, you’ll create a trigger for theonStripePaymentFailed event. Triggers are specified completely in your code as well as the handling code.
CredentialFetchers: give you credentials to an account you’ve authenticated with. This is typically used to when you use a client library that requires credentials. For example, if one of the actions you want to take when you is to send a slack message, you’ll interact with Slack using the standard Slack client library which requires credentials.
Accounts: credentials Glue will store for services you use in your Glues. An account can be used by multiple Glues. It has a selector (email address, account id, etc.), optional scopes and the actual credentials. For OAuth based accounts, Glue will handle refreshing your access tokens.
Executions: represents a single run of your Glue. The input data and any logging your Glue does is stored for later viewing. If your Glue throws an error, the execution is considered Failed.