sebastienrousseau / crypto-service

Avoid using wildcard imports JS-C1003
Anti-pattern
Minor
7 months agoa year old
Explicitly import the specific method needed
26import fastifyRateLimit from "@fastify/rate-limit";
27import logger from "./lib/logger";
28import routes from './routes';
29import * as fastify from "fastify";30
31/**
32 * Initializes and configures the Fastify application instance.
Explicitly import the specific method needed
10 * @license Apache-2.0 OR MIT
11 */
12
13import * as fastify from 'fastify';14import verify from '@sebastienrousseau/crypto-lib/dist/lib/verify';
15import fastifyRateLimit from "@fastify/rate-limit";
16import { IHeadersVerify } from '../../@types/types';
Explicitly import the specific method needed
10 * @license Apache-2.0 OR MIT
11 */
12
13import * as fastify from 'fastify';14import revoke from '@sebastienrousseau/crypto-lib/dist/lib/revoke';
15import { IHeadersRevoke } from '../../@types/types';
16
Explicitly import the specific method needed
10 * @license Apache-2.0 OR MIT
11 */
12
13import * as fastify from 'fastify';14import { v4 as uuidv4 } from "uuid";
15import { LIB_VERSION } from '../../config/constants';
16
Explicitly import the specific method needed
10 * @license Apache-2.0 OR MIT
11 */
12
13import * as fastify from 'fastify';14import generate from '@sebastienrousseau/crypto-lib/dist/lib/generate';
15import { IHeadersGenerate } from '../../@types/types';
16