weareinreach / InReach

Avoid using wildcard imports JS-C1003
Anti-pattern
Minor
23 days ago2 years old
Explicitly import the specific method needed
 1import { defineRouter, importHandler, permissionedProcedure, publicProcedure } from '~api/lib/trpc'
 2
 3import * as schema from './schemas' 4
 5const NAMESPACE = 'orgPhone'
 6
Explicitly import the specific method needed
 1import { defineRouter, importHandler, permissionedProcedure, publicProcedure } from '~api/lib/trpc'
 2
 3import * as schema from './schemas' 4
 5const NAMESPACE = 'orgSocialMedia'
 6
Explicitly import the specific method needed
 1import { defineRouter, importHandler, permissionedProcedure, publicProcedure } from '~api/lib/trpc'
 2
 3import * as schema from './schemas' 4
 5const NAMESPACE = 'orgWebsite'
 6
Explicitly import the specific method needed
 1import { defineRouter, importHandler, permissionedProcedure, publicProcedure } from '~api/lib/trpc'
 2
 3import * as schema from './schemas' 4
 5const NAMESPACE = 'component'
 6
Explicitly import the specific method needed
 15import { downloadFromDatastore, formatMessage } from '~db/prisma/common'
 16import { createLogger, type JobDef, jobPostRunner } from '~db/prisma/jobPreRun'
 17
 18import * as jobList from './data-migrations' 19
 20/**
 21 * Job Runner