⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
import { z } from "../openapi";
const tokenType = z.enum(["private", "bearer"]).optional().openapi({
description:
"`private` sends the token in PRIVATE-TOKEN, which is what personal, project and group access tokens expect. `bearer` sends it in Authorization, for an OAuth2 token you already hold. Defaults to `private`.",
});
const gitlabCredentials = {
projectId: z.string().min(1),
baseUrl: z.url(),
accessToken: z.string().min(1),
tokenType,
};
export const listGitlabProjectsBody = z.object(gitlabCredentials);
export const verifyGitlabBody = z.object({
...gitlabCredentials,
projectPath: z.string().min(1).openapi({
description:
"Full path of the GitLab project, including any nested groups, for example acme/platform/web.",
}),
});
export const createGitlabBody = z.object({
baseUrl: z.url(),
accessToken: z.string().optional().openapi({
description:
"Omit to keep the stored token only when the GitLab base URL is unchanged. A changed URL requires a new token.",
}),
tokenType,
projectPath: z.string().min(1),
});
export const updateGitlabBody = z.object({
isActive: z.boolean().optional(),
commentTaskLinkOnGitlabIssue: z.boolean().optional(),
});