File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ /* eslint-disable @typescript-eslint/no-unused-vars */
2+ import { type FastifyRequest , type FastifyInstance , type FastifyReply } from 'fastify' ;
3+ import { type AppRoles , type RunEnvironment } from '@common/roles.js' ;
4+ import type NodeCache from 'node-cache' ;
5+ import { type DynamoDBClient } from '@aws-sdk/client-dynamodb' ;
6+ import { type SecretsManagerClient } from '@aws-sdk/client-secrets-manager' ;
7+ import { type SQSClient } from '@aws-sdk/client-sqs' ;
8+ import { type CloudFrontKeyValueStoreClient } from '@aws-sdk/client-cloudfront-keyvaluestore' ;
9+ import { type AvailableAuthorizationPolicy } from '@common/policies/definition.js' ;
10+
11+ declare module 'fastify' {
12+ interface FastifyRequest {
13+ startTime : number ;
14+ username ?: string ;
15+ userRoles ?: Set < AppRoles > ;
16+ tokenPayload ?: AadToken ;
17+ policyRestrictions ?: AvailableAuthorizationPolicy [ ] ;
18+ }
19+ }
20+
21+ export type NoDataRequest = {
22+ Params : undefined ;
23+ Querystring : undefined ;
24+ Body : undefined ;
25+ } ;
You can’t perform that action at this time.
0 commit comments