cleanup
This commit is contained in:
parent
a79ec67d9c
commit
7c72d987f9
8 changed files with 20 additions and 20 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { z } from "zod";
|
||||
import { githubRequest } from "../common/utils";
|
||||
import { GitHubReferenceSchema } from "../common/types";
|
||||
import { githubRequest } from "../common/utils.js";
|
||||
import { GitHubReferenceSchema } from "../common/types.js";
|
||||
|
||||
// Schema definitions
|
||||
export const CreateBranchOptionsSchema = z.object({
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { z } from "zod";
|
||||
import { githubRequest, buildUrl } from "../common/utils";
|
||||
import { GitHubCommitSchema, GitHubListCommitsSchema } from "../common/types";
|
||||
import { githubRequest, buildUrl } from "../common/utils.js";
|
||||
import { GitHubCommitSchema, GitHubListCommitsSchema } from "../common/types.js";
|
||||
|
||||
// Schema definitions
|
||||
export const ListCommitsSchema = z.object({
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { z } from "zod";
|
||||
import { githubRequest } from "../common/utils";
|
||||
import { githubRequest } from "../common/utils.js";
|
||||
import {
|
||||
GitHubContentSchema,
|
||||
GitHubAuthorSchema,
|
||||
|
|
@ -7,7 +7,7 @@ import {
|
|||
GitHubCommitSchema,
|
||||
GitHubReferenceSchema,
|
||||
GitHubFileContentSchema,
|
||||
} from "../common/types";
|
||||
} from "../common/types.js";
|
||||
|
||||
// Schema definitions
|
||||
export const FileOperationSchema = z.object({
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
import { z } from "zod";
|
||||
import { githubRequest, buildUrl } from "../common/utils";
|
||||
import { githubRequest, buildUrl } from "../common/utils.js";
|
||||
import {
|
||||
GitHubIssueSchema,
|
||||
GitHubLabelSchema,
|
||||
GitHubIssueAssigneeSchema,
|
||||
GitHubMilestoneSchema,
|
||||
} from "../common/types";
|
||||
} from "../common/types.js";
|
||||
|
||||
// Schema definitions
|
||||
export const CreateIssueOptionsSchema = z.object({
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import { z } from "zod";
|
||||
import { githubRequest } from "../common/utils";
|
||||
import { githubRequest } from "../common/utils.js";
|
||||
import {
|
||||
GitHubIssueAssigneeSchema,
|
||||
GitHubRepositorySchema
|
||||
} from "../common/types";
|
||||
} from "../common/types.js";
|
||||
|
||||
// Schema definitions
|
||||
export const GitHubPullRequestHeadSchema = z.object({
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { z } from "zod";
|
||||
import { githubRequest } from "../common/utils";
|
||||
import { GitHubRepositorySchema, GitHubSearchResponseSchema } from "../common/types";
|
||||
import { githubRequest } from "../common/utils.js";
|
||||
import { GitHubRepositorySchema, GitHubSearchResponseSchema } from "../common/types.js";
|
||||
|
||||
// Schema definitions
|
||||
export const CreateRepositoryOptionsSchema = z.object({
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { z } from "zod";
|
||||
import { githubRequest, buildUrl } from "../common/utils";
|
||||
import { githubRequest, buildUrl } from "../common/utils.js";
|
||||
|
||||
// Schema definitions
|
||||
export const SearchCodeSchema = z.object({
|
||||
|
|
|
|||
Loading…
Reference in a new issue