28 lines
521 B
TypeScript
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";
|