Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add DiffContent type to @httpd-client
Sebastian Martinez committed 2 years ago
commit 00905afea4165d66125466d93a328576ea040939
parent ca6762fc956bc06b152e72a8f7334954630b1d38
2 files changed +3 -2
modified httpd-client/index.ts
@@ -11,6 +11,7 @@ import type {
  Commit,
  CommitHeader,
  Diff,
+
  DiffContent,
  HunkLine,
} from "./lib/project/commit.js";
import type { Issue, IssueState } from "./lib/project/issue.js";
@@ -42,6 +43,7 @@ export type {
  Commit,
  CommitHeader,
  Diff,
+
  DiffContent,
  DiffResponse,
  HunkLine,
  Issue,
modified src/views/projects/Changeset/FileDiff.svelte
@@ -1,7 +1,6 @@
<script lang="ts">
  import { onDestroy, onMount } from "svelte";
-
  import type { DiffContent } from "@httpd-client/lib/project/commit";
-
  import type { BaseUrl, HunkLine } from "@httpd-client";
+
  import type { BaseUrl, DiffContent, HunkLine } from "@httpd-client";

  import Badge from "@app/components/Badge.svelte";
  import Icon from "@app/components/Icon.svelte";