Skip to content

Commit

Permalink
Initialized the solution with structure
Browse files Browse the repository at this point in the history
  • Loading branch information
vr-varad authored and rajdip-b committed Jul 27, 2024
1 parent eb271d4 commit e86f895
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/api-client/src/controllers/project/project.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import client from '@package/client'

export default class ProjectController {
private static apiClient = client

static async createProject() {}
static async updateProject() {}
static async deleteProject() {}
static async getProject() {}
static async forkProject() {}
static async syncFork() {}
static async unlinkFork() {}
static async getForks() {}
static async getAllProjects() {}
}
18 changes: 18 additions & 0 deletions packages/api-client/src/types/project.types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export interface CreateProjectRequest {}
export interface CreateProjectResponse {}
export interface UpdateProjectRequest {}
export interface UpdateProjectResponse {}
export interface DeleteProjectRequest {}
export interface DeleteProjectResponse {}
export interface GetProjectRequest {}
export interface GetProjectResponse {}
export interface ForkProjectRequest {}
export interface ForkProjectResponse {}
export interface SyncProjectRequest {}
export interface SyncProjectResponse {}
export interface UnlinkProjectRequest {}
export interface UnlinkProjectResponse {}
export interface GetForkRequest {}
export interface GetForkResponse {}
export interface GetAllProjectsRequest {}
export interface GetAllProjectsResponse {}

0 comments on commit e86f895

Please sign in to comment.