Files
kandev/apps/web/lib/diff/index.ts
T
2026-02-16 22:43:47 +00:00

28 lines
521 B
TypeScript

// Types
export type {
AnnotationSide,
DiffComment,
FileDiffData,
CommentAnnotation,
DiffCommentsState,
DiffCommentsActions,
DiffCommentsSlice,
CommentBlockData,
DiffViewerProps,
DiffViewInlineProps,
} from './types';
// Adapter functions
export {
formatLineRange,
transformFileMutation,
transformGitDiff,
commentsToAnnotations,
normalizeDiffString,
extractCodeFromDiff,
extractCodeFromContent,
computeLineDiffStats,
type FileMutation,
type ModifyFilePayload,
} from './adapter';