Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

1000 B
Raw Blame
import type { KnipConfig } from 'knip';

const config: KnipConfig = {
  project: ['src/**/*.{ts,tsx}!'],
  ignore: [
    // This file is only used during debugging
    'src/app/store/middleware/debugLoggerMiddleware.ts',
    // Autogenerated types - shouldn't ever touch these
    'src/features/nodes/types/v1/**',
    'src/features/nodes/types/v2/**',
    'src/features/parameters/types/parameterSchemas.ts',
    // TODO(psyche): maybe we can clean up these utils after canvas v2 release
    'src/features/controlLayers/konva/util.ts',
    // Will be using this
    'src/common/hooks/useAsyncState.ts',
    'src/app/store/use-debounced-app-selector.ts',
    // Auth features - exports will be used in follow-up phases
    'src/features/auth/**',
    'src/services/api/endpoints/auth.ts',
  ],
  ignoreBinaries: ['only-allow'],
  ignoreDependencies: ['magic-string', '@babel/preset-typescript', 'babel-plugin-react-compiler'],
  paths: {
    'public/*': ['public/*'],
  },
};

export default config;