Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
chore: removed more bloatware and adjusted the file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
scarletquasar committed Sep 16, 2023
1 parent ff9a709 commit e1126f8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 29 deletions.
12 changes: 0 additions & 12 deletions projects/core/logic/api/modules/http/http.ts

This file was deleted.

12 changes: 0 additions & 12 deletions projects/core/logic/api/modules/internalConsts/_internalConsts.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import {
} from "types/internal/http-types";

//Logic imports
import { getStaticMethod } from "logic/api/modules/dotnet/interop-core";
import { getStaticMethod } from "../interop/interop-core";
import { Melon } from "logic/index";
import { server } from "logic/api/modules/http/http";
import { deserialize, serialize } from "../stdlib/json-core";
import { interopCache } from "logic/runtime/interop-cache-core";
import { Result } from "../stdlib/functional-core";
Expand Down Expand Up @@ -239,4 +238,12 @@ class Endpoint implements HttpEndpoint {
}
}

export { requestAsync, createHost, customResponse, objectResponse }
export { requestAsync, createHost, customResponse, objectResponse }
const server = {
_apps: {},
requestAsync,
createHost,
objectResponse,
customResponse
}
export { server }
4 changes: 2 additions & 2 deletions projects/core/logic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { and } from "logic/runtime/global-extensions";

// Module imports
import { stdio } from "logic/api/modules/stdio/stdio"
import { interop } from "./api/modules/dotnet/interop"
import { interop } from "./api/modules/interop/interop"
import { rawfs } from "./api/modules/rawfs/rawfs-core"
import { server } from "./api/modules/http/http"
import { server } from "./api/modules/server/server-basic-core";
import { stdlib } from "./api/modules/stdlib/stdlib"

setupEnvironmentVariables();
Expand Down

0 comments on commit e1126f8

Please sign in to comment.