mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 18:20:30 +08:00
Rename files from project(s) to repo(s)
This commit is contained in:
@@ -7,14 +7,14 @@ import type {
|
||||
RepoListQuery,
|
||||
Tree,
|
||||
TreeStats,
|
||||
} from "./lib/project.js";
|
||||
} from "./lib/repo.js";
|
||||
import type {
|
||||
Author,
|
||||
Config,
|
||||
SeedingPolicy,
|
||||
DefaultSeedingPolicy,
|
||||
} from "./lib/shared.js";
|
||||
import type { Comment, Embed, Reaction } from "./lib/project/comment.js";
|
||||
import type { Comment, Embed, Reaction } from "./lib/repo/comment.js";
|
||||
import type {
|
||||
Commit,
|
||||
CommitBlob,
|
||||
@@ -26,8 +26,8 @@ import type {
|
||||
DiffContent,
|
||||
DiffFile,
|
||||
HunkLine,
|
||||
} from "./lib/project/commit.js";
|
||||
import type { Issue, IssueState } from "./lib/project/issue.js";
|
||||
} from "./lib/repo/commit.js";
|
||||
import type { Issue, IssueState } from "./lib/repo/issue.js";
|
||||
import type {
|
||||
LifecycleState,
|
||||
Merge,
|
||||
@@ -36,13 +36,13 @@ import type {
|
||||
Review,
|
||||
Revision,
|
||||
Verdict,
|
||||
} from "./lib/project/patch.js";
|
||||
} from "./lib/repo/patch.js";
|
||||
import type { RequestOptions } from "./lib/fetcher.js";
|
||||
import type { ZodSchema } from "zod";
|
||||
|
||||
import { z, array, literal, number, object, string, union } from "zod";
|
||||
|
||||
import * as repo from "./lib/project.js";
|
||||
import * as repo from "./lib/repo.js";
|
||||
import { Fetcher } from "./lib/fetcher.js";
|
||||
import {
|
||||
nodeConfigSchema,
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import type { ZodSchema } from "zod";
|
||||
import type { Fetcher, RequestOptions } from "./fetcher.js";
|
||||
import type { Commit, Commits } from "./project/commit.js";
|
||||
import type { Issue } from "./project/issue.js";
|
||||
import type { Patch } from "./project/patch.js";
|
||||
import type { Commit, Commits } from "./repo/commit.js";
|
||||
import type { Issue } from "./repo/issue.js";
|
||||
import type { Patch } from "./repo/patch.js";
|
||||
|
||||
import {
|
||||
array,
|
||||
@@ -23,9 +23,9 @@ import {
|
||||
commitsSchema,
|
||||
diffBlobSchema,
|
||||
diffSchema,
|
||||
} from "./project/commit.js";
|
||||
import { issueSchema, issuesSchema } from "./project/issue.js";
|
||||
import { patchSchema, patchesSchema } from "./project/patch.js";
|
||||
} from "./repo/commit.js";
|
||||
import { issueSchema, issuesSchema } from "./repo/issue.js";
|
||||
import { patchSchema, patchesSchema } from "./repo/patch.js";
|
||||
import { authorSchema } from "./shared.js";
|
||||
|
||||
const repoSchema = object({
|
||||
Reference in New Issue
Block a user