mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-15 19:30:38 +08:00
Rename httpd-client to http-client
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
|
||||
import { isLocal } from "@app/lib/utils";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" strictEvents>
|
||||
import type { Comment, Embed } from "@httpd-client";
|
||||
import type { Comment, Embed } from "@http-client";
|
||||
|
||||
import { tick } from "svelte";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { Embed } from "@httpd-client";
|
||||
import type { Embed } from "@http-client";
|
||||
|
||||
import ExtendedTextarea from "@app/components/ExtendedTextarea.svelte";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { CommitHeader } from "@httpd-client";
|
||||
import type { CommitHeader } from "@http-client";
|
||||
|
||||
import * as utils from "@app/lib/utils";
|
||||
import HoverPopover from "./HoverPopover.svelte";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" strictEvents>
|
||||
import type { Embed } from "@httpd-client";
|
||||
import type { Embed } from "@http-client";
|
||||
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { Embed } from "@httpd-client";
|
||||
import type { Embed } from "@http-client";
|
||||
|
||||
import dompurify from "dompurify";
|
||||
import matter from "@radicle/gray-matter";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ProjectListQuery } from "@httpd-client";
|
||||
import type { ProjectListQuery } from "@http-client";
|
||||
|
||||
import { loadProjectActivity, type WeeklyActivity } from "@app/lib/commit";
|
||||
import {
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
type BaseUrl,
|
||||
type Commit,
|
||||
type Project,
|
||||
} from "@httpd-client";
|
||||
} from "@http-client";
|
||||
|
||||
export interface ProjectInfo {
|
||||
project: Project;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { Comment } from "@httpd-client";
|
||||
import type { Comment } from "@http-client";
|
||||
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { Comment } from "@httpd-client";
|
||||
import type { Comment } from "@http-client";
|
||||
|
||||
import IconButton from "./IconButton.svelte";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { Scope, Policy } from "@httpd-client";
|
||||
import type { Scope, Policy } from "@http-client";
|
||||
|
||||
import { capitalize } from "lodash";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" strictEvents>
|
||||
import type { Embed } from "@httpd-client";
|
||||
import type { Comment } from "@httpd-client";
|
||||
import type { Embed } from "@http-client";
|
||||
import type { Comment } from "@http-client";
|
||||
|
||||
import * as utils from "@app/lib/utils";
|
||||
import partial from "lodash/partial";
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
import type { BaseUrl, CommitHeader } from "@httpd-client";
|
||||
import type { BaseUrl, CommitHeader } from "@http-client";
|
||||
|
||||
import { getDaysPassed } from "@app/lib/utils";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
|
||||
// A set of commits grouped by time.
|
||||
interface CommitGroup {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { Embed } from "@httpd-client";
|
||||
import type { Embed } from "@http-client";
|
||||
|
||||
async function parseGitOid(bytes: Uint8Array): Promise<string> {
|
||||
// Create the header
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
import type { Node, Policy, Scope } from "@httpd-client";
|
||||
import type { Node, Policy, Scope } from "@http-client";
|
||||
|
||||
import { get, writable } from "svelte/store";
|
||||
import { withTimeout, Mutex, E_CANCELED, E_TIMEOUT } from "async-mutex";
|
||||
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import config from "virtual:config";
|
||||
import { deduplicateStore } from "@app/lib/deduplicateStore";
|
||||
import { experimental } from "./appearance";
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
import type { BaseUrl, Project } from "@httpd-client";
|
||||
import type { BaseUrl, Project } from "@http-client";
|
||||
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { isFulfilled } from "@app/lib/utils";
|
||||
|
||||
export interface ProjectBaseUrl {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
import type { LoadedRoute, Route } from "@app/lib/router/definitions";
|
||||
|
||||
import { get, writable } from "svelte/store";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type {
|
||||
ResponseError,
|
||||
ResponseParseError,
|
||||
} from "@httpd-client/lib/fetcher";
|
||||
} from "@http-client/lib/fetcher";
|
||||
import type { HomeRoute, HomeLoadedRoute } from "@app/views/home/router";
|
||||
import type {
|
||||
ProjectLoadedRoute,
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
|
||||
import storedWritable from "@efstajas/svelte-stored-writable";
|
||||
import unionBy from "lodash/unionBy";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
|
||||
import md5 from "md5";
|
||||
import bs58 from "bs58";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import type { ComponentProps } from "svelte";
|
||||
import type { ProjectInfo } from "@app/components/ProjectCard";
|
||||
import type { BaseUrl, ProjectListQuery } from "@httpd-client";
|
||||
import type { BaseUrl, ProjectListQuery } from "@http-client";
|
||||
|
||||
import storedWritable from "@efstajas/svelte-stored-writable";
|
||||
import { derived } from "svelte/store";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { HttpdClient, type BaseUrl } from "@httpd-client";
|
||||
import { HttpdClient, type BaseUrl } from "@http-client";
|
||||
|
||||
import config from "virtual:config";
|
||||
import {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ResponseParseError, ResponseError } from "@httpd-client/lib/fetcher";
|
||||
import { ResponseParseError, ResponseError } from "@http-client/lib/fetcher";
|
||||
|
||||
export function handleError(
|
||||
error: Error | ResponseParseError | ResponseError,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
import type { ErrorRoute } from "@app/lib/router/definitions";
|
||||
|
||||
import * as seeds from "@app/lib/seeds";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { Policy, Scope } from "@httpd-client";
|
||||
import type { Policy, Scope } from "@http-client";
|
||||
|
||||
import capitalize from "lodash/capitalize";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, NodeStats, Policy, Scope } from "@httpd-client";
|
||||
import type { BaseUrl, NodeStats, Policy, Scope } from "@http-client";
|
||||
|
||||
import { capitalize } from "lodash";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { ErrorRoute, NotFoundRoute } from "@app/lib/router/definitions";
|
||||
import { ResponseParseError, ResponseError } from "@httpd-client/lib/fetcher";
|
||||
import { ResponseParseError, ResponseError } from "@http-client/lib/fetcher";
|
||||
|
||||
export function handleError(
|
||||
error: Error | ResponseParseError | ResponseError,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import type { BaseUrl, NodeStats, Policy, Scope } from "@httpd-client";
|
||||
import type { BaseUrl, NodeStats, Policy, Scope } from "@http-client";
|
||||
import type { ErrorRoute, NotFoundRoute } from "@app/lib/router/definitions";
|
||||
|
||||
import config from "virtual:config";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { ResponseError, ResponseParseError } from "@httpd-client/lib/fetcher";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { ResponseError, ResponseParseError } from "@http-client/lib/fetcher";
|
||||
import { baseUrlToString } from "@app/lib/utils";
|
||||
import { handleError } from "@app/views/nodes/error";
|
||||
import { unreachableError } from "@app/views/projects/error";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, CommitBlob, Diff } from "@httpd-client";
|
||||
import type { BaseUrl, CommitBlob, Diff } from "@http-client";
|
||||
|
||||
import FileDiff from "@app/views/projects/Changeset/FileDiff.svelte";
|
||||
import FileLocationChange from "@app/views/projects/Changeset/FileLocationChange.svelte";
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
ChangesetWithDiff,
|
||||
DiffContent,
|
||||
HunkLine,
|
||||
} from "@httpd-client";
|
||||
} from "@http-client";
|
||||
|
||||
import { onDestroy, onMount } from "svelte";
|
||||
import { toHtml } from "hast-util-to-html";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, ChangesetWithoutDiff } from "@httpd-client";
|
||||
import type { BaseUrl, ChangesetWithoutDiff } from "@http-client";
|
||||
|
||||
import Badge from "@app/components/Badge.svelte";
|
||||
import IconButton from "@app/components/IconButton.svelte";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" strictEvents>
|
||||
import type { Reaction } from "@httpd-client";
|
||||
import type { Reaction } from "@http-client";
|
||||
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, CommitHeader } from "@httpd-client";
|
||||
import type { BaseUrl, CommitHeader } from "@http-client";
|
||||
|
||||
import { twemoji } from "@app/lib/utils";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" strictEvents>
|
||||
import type { Embed } from "@httpd-client";
|
||||
import type { Embed } from "@http-client";
|
||||
|
||||
import Badge from "@app/components/Badge.svelte";
|
||||
import Clipboard from "@app/components/Clipboard.svelte";
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
PatchState,
|
||||
Revision,
|
||||
Verdict,
|
||||
} from "@httpd-client";
|
||||
} from "@http-client";
|
||||
import type { Timeline } from "@app/views/projects/Patch.svelte";
|
||||
|
||||
import * as utils from "@app/lib/utils";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { closeFocused } from "@app/components/Popover.svelte";
|
||||
import { onMount } from "svelte";
|
||||
import { parseEmbedIntoMap } from "@app/lib/file";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Commit, Node, Project } from "@httpd-client";
|
||||
import type { BaseUrl, Commit, Node, Project } from "@http-client";
|
||||
|
||||
import { formatCommit } from "@app/lib/utils";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { CommitHeader } from "@httpd-client";
|
||||
import type { CommitHeader } from "@http-client";
|
||||
|
||||
import {
|
||||
absoluteTimestamp,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, CommitHeader } from "@httpd-client";
|
||||
import type { BaseUrl, CommitHeader } from "@http-client";
|
||||
|
||||
import { twemoji } from "@app/lib/utils";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Patch, Revision } from "@httpd-client";
|
||||
import type { BaseUrl, Patch, Revision } from "@http-client";
|
||||
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { formatCommit } from "@app/lib/utils";
|
||||
|
||||
import DiffStatBadge from "@app/components/DiffStatBadge.svelte";
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Project } from "@httpd-client";
|
||||
import type { BaseUrl, Project } from "@http-client";
|
||||
|
||||
import Link from "@app/components/Link.svelte";
|
||||
import Button from "@app/components/Button.svelte";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
|
||||
import config from "virtual:config";
|
||||
import { parseRepositoryId } from "@app/lib/utils";
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
Remote,
|
||||
Node,
|
||||
Tree,
|
||||
} from "@httpd-client";
|
||||
} from "@http-client";
|
||||
import type { Route } from "@app/lib/router";
|
||||
|
||||
import { COMMITS_PER_PAGE } from "./router";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { baseUrlToString } from "@app/lib/utils";
|
||||
import { groupCommits } from "@app/lib/commit";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { Reaction } from "@httpd-client/lib/project/comment";
|
||||
import type { Reaction } from "@http-client/lib/project/comment";
|
||||
import type {
|
||||
BaseUrl,
|
||||
Comment,
|
||||
@@ -8,7 +8,7 @@
|
||||
IssueState,
|
||||
Project,
|
||||
Node,
|
||||
} from "@httpd-client";
|
||||
} from "@http-client";
|
||||
import type { Session } from "@app/lib/httpd";
|
||||
|
||||
import capitalize from "lodash/capitalize";
|
||||
@@ -21,7 +21,7 @@
|
||||
import * as router from "@app/lib/router";
|
||||
import * as utils from "@app/lib/utils";
|
||||
import { experimental } from "@app/lib/appearance";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { closeFocused } from "@app/components/Popover.svelte";
|
||||
import { httpdStore } from "@app/lib/httpd";
|
||||
import { parseEmbedIntoMap } from "@app/lib/file";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Issue } from "@httpd-client";
|
||||
import type { BaseUrl, Issue } from "@http-client";
|
||||
|
||||
import {
|
||||
absoluteTimestamp,
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Embed, Node, Project, Reaction } from "@httpd-client";
|
||||
import type { BaseUrl, Embed, Node, Project, Reaction } from "@http-client";
|
||||
|
||||
import * as modal from "@app/lib/modal";
|
||||
import * as router from "@app/lib/router";
|
||||
import * as utils from "@app/lib/utils";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { httpdStore } from "@app/lib/httpd";
|
||||
|
||||
import AssigneeInput from "@app/views/projects/Cob/AssigneeInput.svelte";
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
<script lang="ts">
|
||||
import type {
|
||||
BaseUrl,
|
||||
Issue,
|
||||
IssueState,
|
||||
Node,
|
||||
Project,
|
||||
} from "@httpd-client";
|
||||
import type { BaseUrl, Issue, IssueState, Node, Project } from "@http-client";
|
||||
|
||||
import capitalize from "lodash/capitalize";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { ISSUES_PER_PAGE } from "./router";
|
||||
import { baseUrlToString, isLocal } from "@app/lib/utils";
|
||||
import { closeFocused } from "@app/components/Popover.svelte";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import type { ActiveTab } from "./Header.svelte";
|
||||
import type { BaseUrl, Node, Project } from "@httpd-client";
|
||||
import type { BaseUrl, Node, Project } from "@http-client";
|
||||
|
||||
import AppHeader from "@app/App/Header.svelte";
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
Revision,
|
||||
Diff,
|
||||
Node,
|
||||
} from "@httpd-client";
|
||||
} from "@http-client";
|
||||
|
||||
interface Thread {
|
||||
root: Comment;
|
||||
@@ -42,7 +42,7 @@
|
||||
</script>
|
||||
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Embed, Patch } from "@httpd-client";
|
||||
import type { BaseUrl, Embed, Patch } from "@http-client";
|
||||
import type { PatchView } from "./router";
|
||||
import type { Route } from "@app/lib/router";
|
||||
import type { ComponentProps } from "svelte";
|
||||
@@ -57,7 +57,7 @@
|
||||
import isEqual from "lodash/isEqual";
|
||||
import partial from "lodash/partial";
|
||||
import uniqBy from "lodash/uniqBy";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { httpdStore } from "@app/lib/httpd";
|
||||
import { parseEmbedIntoMap } from "@app/lib/file";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { Patch } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
import type { Patch } from "@http-client";
|
||||
|
||||
import {
|
||||
absoluteTimestamp,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import type { PatchView } from "../router";
|
||||
import type { BaseUrl, Patch, Project } from "@httpd-client";
|
||||
import type { BaseUrl, Patch, Project } from "@http-client";
|
||||
import * as utils from "@app/lib/utils";
|
||||
|
||||
import Button from "@app/components/Button.svelte";
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
<script lang="ts">
|
||||
import type {
|
||||
BaseUrl,
|
||||
Node,
|
||||
Patch,
|
||||
PatchState,
|
||||
Project,
|
||||
} from "@httpd-client";
|
||||
import type { BaseUrl, Node, Patch, PatchState, Project } from "@http-client";
|
||||
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import capitalize from "lodash/capitalize";
|
||||
|
||||
import { PATCHES_PER_PAGE } from "./router";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
|
||||
import debounce from "lodash/debounce";
|
||||
import { api, httpdStore } from "@app/lib/httpd";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import type { ActiveTab } from "./Header.svelte";
|
||||
import type { BaseUrl, Node, Project } from "@httpd-client";
|
||||
import type { BaseUrl, Node, Project } from "@http-client";
|
||||
|
||||
import { onMount } from "svelte";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
import type { Route } from "@app/lib/router/definitions";
|
||||
|
||||
import { activeUnloadedRouteStore } from "@app/lib/router";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Node, Project } from "@httpd-client";
|
||||
import type { BaseUrl, Node, Project } from "@http-client";
|
||||
|
||||
import IconButton from "@app/components/IconButton.svelte";
|
||||
import IconSmall from "@app/components/IconSmall.svelte";
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Node, Project, Remote, Tree } from "@httpd-client";
|
||||
import type { BaseUrl, Node, Project, Remote, Tree } from "@http-client";
|
||||
import type { BlobResult } from "./router";
|
||||
import type { Route } from "@app/lib/router";
|
||||
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
|
||||
import Button from "@app/components/Button.svelte";
|
||||
import Header from "./Source/Header.svelte";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Blob } from "@httpd-client";
|
||||
import type { BaseUrl, Blob } from "@http-client";
|
||||
|
||||
import { afterUpdate, onDestroy, onMount } from "svelte";
|
||||
import { toHtml } from "hast-util-to-html";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Commit, Project } from "@httpd-client";
|
||||
import type { BaseUrl, Commit, Project } from "@http-client";
|
||||
import type { Route } from "@app/lib/router";
|
||||
|
||||
import { activeUnloadedRouteStore } from "@app/lib/router";
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Project, Remote, Tree } from "@httpd-client";
|
||||
import type { BaseUrl, Project, Remote, Tree } from "@http-client";
|
||||
import type { Route } from "@app/lib/router";
|
||||
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { HttpdClient } from "@http-client";
|
||||
|
||||
import BranchSelector from "./BranchSelector.svelte";
|
||||
import PeerSelector from "./PeerSelector.svelte";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Project, Remote } from "@httpd-client";
|
||||
import type { BaseUrl, Project, Remote } from "@http-client";
|
||||
import type { Route } from "@app/lib/router";
|
||||
|
||||
import { closeFocused } from "@app/components/Popover.svelte";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Project } from "@httpd-client";
|
||||
import type { BaseUrl, Project } from "@http-client";
|
||||
|
||||
import { twemoji } from "@app/lib/utils";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" strictEvents>
|
||||
import type { BaseUrl, Tree } from "@httpd-client";
|
||||
import type { BaseUrl, Tree } from "@http-client";
|
||||
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" strictEvents>
|
||||
import type { BaseUrl, Tree } from "@httpd-client";
|
||||
import type { BaseUrl, Tree } from "@http-client";
|
||||
|
||||
import { createEventDispatcher } from "svelte";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl, Commit } from "@httpd-client";
|
||||
import type { BaseUrl, Commit } from "@http-client";
|
||||
|
||||
import Button from "@app/components/Button.svelte";
|
||||
import Link from "@app/components/Link.svelte";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import type { BaseUrl } from "@httpd-client";
|
||||
import type { BaseUrl } from "@http-client";
|
||||
|
||||
import { formatCommit } from "@app/lib/utils";
|
||||
import Link from "@app/components/Link.svelte";
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { ErrorRoute, NotFoundRoute } from "@app/lib/router/definitions";
|
||||
import type { ProjectRoute } from "@app/views/projects/router";
|
||||
|
||||
import { baseUrlToString, isLocal } from "@app/lib/utils";
|
||||
import { ResponseParseError, ResponseError } from "@httpd-client/lib/fetcher";
|
||||
import { ResponseParseError, ResponseError } from "@http-client/lib/fetcher";
|
||||
import { httpdStore } from "@app/lib/httpd";
|
||||
import { get } from "svelte/store";
|
||||
|
||||
|
||||
@@ -19,12 +19,12 @@ import type {
|
||||
Project,
|
||||
Remote,
|
||||
Tree,
|
||||
} from "@httpd-client";
|
||||
} from "@http-client";
|
||||
|
||||
import * as Syntax from "@app/lib/syntax";
|
||||
import * as httpd from "@app/lib/httpd";
|
||||
import { HttpdClient } from "@httpd-client";
|
||||
import { ResponseError, ResponseParseError } from "@httpd-client/lib/fetcher";
|
||||
import { HttpdClient } from "@http-client";
|
||||
import { ResponseError, ResponseParseError } from "@http-client/lib/fetcher";
|
||||
import { experimental } from "@app/lib/appearance";
|
||||
import { get } from "svelte/store";
|
||||
import { handleError, unreachableError } from "@app/views/projects/error";
|
||||
|
||||
Reference in New Issue
Block a user