Skip to content

Commit

Permalink
refactor: remove unused references to issues, MRs, collaboration (#2256
Browse files Browse the repository at this point in the history
…) (#2365)
  • Loading branch information
cramakri committed Feb 10, 2023
1 parent 665529a commit 074a827
Show file tree
Hide file tree
Showing 29 changed files with 4 additions and 2,573 deletions.
4 changes: 0 additions & 4 deletions client/src/api-client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ import addDatasetMethods from "./dataset";
import addEnvironmentMethods from "./environment";
import addGraphMethods from "./graph";
import addInstanceMethods from "./instance";
import addIssueMethods from "./issue";
import addJobMethods from "./job";
import addMergeRequestMethods from "./merge-request";
import addMigrationMethods from "./migration";
import addNotebookServersMethods from "./notebook-servers";
import addPipelineMethods from "./pipeline";
Expand Down Expand Up @@ -71,9 +69,7 @@ class APIClient {
addEnvironmentMethods(this);
addGraphMethods(this);
addInstanceMethods(this);
addIssueMethods(this);
addJobMethods(this);
addMergeRequestMethods(this);
addMigrationMethods(this);
addNotebookServersMethods(this);
addPipelineMethods(this);
Expand Down
113 changes: 0 additions & 113 deletions client/src/api-client/issue.js

This file was deleted.

145 changes: 0 additions & 145 deletions client/src/api-client/merge-request.js

This file was deleted.

20 changes: 0 additions & 20 deletions client/src/api-client/test-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,34 +47,14 @@ const methods = {
getProjectFile: {
response: samples.projectNotebookFile
},
getProjectIssues: {
response: {
data: samples.issues
}
},
getProjectIssue: {
response: {
data: samples.issues[0]
}
},
getModifiedFiles: {
response: {
data: []
}
},
getContributions: {
response: {
data: []
}
},
getRepositoryTree: {
response: []
},
getMergeRequests: {
response: {
data: []
}
},
getBranches: {
response: {
data: []
Expand Down
3 changes: 1 addition & 2 deletions client/src/api-client/test-samples/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { issues } from "./issue-samples";
import { namespaces } from "./namespaces";
import { projects, projectReadme, projectNotebookFile } from "./project-samples";
import { statuspage } from "./statuspage";
import { user } from "./user";

export { issues, namespaces, projects, projectReadme, projectNotebookFile, statuspage, user };
export { namespaces, projects, projectReadme, projectNotebookFile, statuspage, user };
75 changes: 0 additions & 75 deletions client/src/api-client/test-samples/issue-samples.js

This file was deleted.

Loading

0 comments on commit 074a827

Please sign in to comment.