Skip to content

Commit

Permalink
remove unused code from dappmanager pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo committed Oct 30, 2023
1 parent eb4f271 commit ff9bb21
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 419 deletions.
7 changes: 0 additions & 7 deletions packages/dappmanager/src/api/auth/errors.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
import { HttpError } from "../utils.js";

const ERROR_NOT_ADMIN_IP = "NOT_ADMIN_IP";
const ERROR_NOT_REGISTERED = "NOT_REGISTERED";
const ERROR_NOT_LOGGED_IN = "NOT_LOGGED_IN";
const ERROR_NOT_LOGGED_IN_NO_COOKIE = "NOT_LOGGED_IN_NO_COOKIE";
const ERROR_MISSING_CREDENTIALS = "MISSING_CREDENTIALS";
const ERROR_WRONG_CREDENTIALS = "WRONG_CREDENTIALS";
const ERROR_ALREADY_REGISTERED = "ALREADY_REGISTERED";

export class NotAdminIpError extends HttpError {
constructor() {
super({ name: ERROR_NOT_ADMIN_IP, statusCode: 401 });
}
}

export class NotRegisteredError extends HttpError {
constructor() {
super({ name: ERROR_NOT_REGISTERED, statusCode: 401 });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ export * from "./decodeContent.js";
export * from "./decodeContentHash.js";
export * from "./decodeDnsLink.js";
export * from "./isEmpty.js";
export * from "./sanitizeIpfsPath.js";
19 changes: 0 additions & 19 deletions packages/dappmanager/src/daemons/natRenewal/defaultPortsToOpen.ts

This file was deleted.

61 changes: 0 additions & 61 deletions packages/dappmanager/src/utils/chunkify.ts

This file was deleted.

35 changes: 0 additions & 35 deletions packages/dappmanager/src/utils/distributedFile.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/dappmanager/src/utils/highestVersion.ts

This file was deleted.

27 changes: 0 additions & 27 deletions packages/dappmanager/src/utils/logs.ts

This file was deleted.

17 changes: 0 additions & 17 deletions packages/dappmanager/src/utils/promises.ts

This file was deleted.

45 changes: 0 additions & 45 deletions packages/dappmanager/src/utils/retry.ts

This file was deleted.

14 changes: 0 additions & 14 deletions packages/dappmanager/src/utils/sanitize.ts

This file was deleted.

21 changes: 0 additions & 21 deletions packages/dappmanager/src/utils/schema.ts

This file was deleted.

47 changes: 0 additions & 47 deletions packages/dappmanager/src/utils/tarExtractSingleFile.ts

This file was deleted.

29 changes: 0 additions & 29 deletions packages/dappmanager/src/utils/timeout.ts

This file was deleted.

Loading

0 comments on commit ff9bb21

Please sign in to comment.