Files
kandev/apps/web/lib/diff/index.ts
T
2026-02-02 00:17:23 +00:00

27 lines
497 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,
type FileMutation,
type ModifyFilePayload,
} from './adapter';