docs: Remove imports of automatisch types

This commit is contained in:
Faruk AYDIN
2024-01-15 12:55:55 +01:00
parent aa76007fd0
commit 476aa6e3aa
2 changed files with 0 additions and 6 deletions

View File

@@ -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) => {

View File

@@ -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({