diff --git a/packages/docs/pages/build-integrations/auth.md b/packages/docs/pages/build-integrations/auth.md index 226d0c6d..dfac83b2 100644 --- a/packages/docs/pages/build-integrations/auth.md +++ b/packages/docs/pages/build-integrations/auth.md @@ -118,8 +118,6 @@ export default { Let's create the `verify-credentials.ts` file inside the `auth` folder. ```typescript -import { IGlobalVariable } from '@automatisch/types'; - const verifyCredentials = async ($: IGlobalVariable) => { // TODO: Implement verification of the credentials }; @@ -132,8 +130,6 @@ We generally use the `users/me` endpoint or any other endpoint that we can valid Let's implement the authentication logic that we mentioned above in the `verify-credentials.ts` file. ```typescript -import { IGlobalVariable } from '@automatisch/types'; - const verifyCredentials = async ($: IGlobalVariable) => { await $.http.get('/v1/images/search'); @@ -174,7 +170,6 @@ export default { Let's create the `is-still-verified.ts` file inside the `auth` folder. ```typescript -import { IGlobalVariable } from '@automatisch/types'; import verifyCredentials from './verify-credentials'; const isStillVerified = async ($: IGlobalVariable) => { diff --git a/packages/docs/pages/build-integrations/triggers.md b/packages/docs/pages/build-integrations/triggers.md index 18283924..197900de 100644 --- a/packages/docs/pages/build-integrations/triggers.md +++ b/packages/docs/pages/build-integrations/triggers.md @@ -94,7 +94,6 @@ Let's briefly explain what we defined here. Implement the `run` function by adding highlighted lines. ```typescript{1,7-30} -import { IJSONObject } from '@automatisch/types'; import defineTrigger from '../../../../helpers/define-trigger'; export default defineTrigger({