feat: initial commit

This commit is contained in:
Krise
2023-08-02 11:42:48 +00:00
parent 91ad3a16b6
commit 681e14ab9f
17 changed files with 2663 additions and 54785 deletions

View File

@@ -2,8 +2,11 @@ import { defineHook } from '@directus/extensions-sdk';
import { getAccountabilityForToken } from './external-jwt/get-accountability-for-token';
import type { Request } from 'express';
import jwt from 'jsonwebtoken';
import { HookConfig } from '@directus/types';
export default defineHook(({ filter }) => {
export default defineHook<HookConfig>(({ filter }) => {
// get all configuration