Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(server): server, server-core, server-plugins #65

Closed
wants to merge 3 commits into from

Conversation

Nessunskill
Copy link
Contributor

No description provided.

@Nessunskill Nessunskill force-pushed the 25598-server branch 6 times, most recently from 58e9f05 to 55c9082 Compare March 4, 2024 13:42
@Nessunskill Nessunskill self-assigned this Mar 4, 2024
@Nessunskill Nessunskill added the review used only for pr ci cd label Mar 4, 2024
@Nessunskill Nessunskill added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 4, 2024
@Nessunskill Nessunskill added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 4, 2024
@Nessunskill Nessunskill added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 4, 2024
@Nessunskill Nessunskill added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 4, 2024
@Nessunskill Nessunskill added the review used only for pr ci cd label Mar 4, 2024
@Nessunskill Nessunskill added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 4, 2024
@Nessunskill Nessunskill added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 4, 2024
Copy link
Contributor

@maxval1 maxval1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove artifacts from server/uploads/

coreServer/src/index.ts Outdated Show resolved Hide resolved
Comment on lines 50 to 64
public registerPluginRoutesX(
pluginName: string,
path: string,
router: Router
) {
this.routeHandlers.push({ pluginName, path, router });
}

public registerPluginX(plugin: AbstractPlugin) {
plugin.initialize();

if (typeof plugin.registerRoutes === "function") {
plugin.registerRoutes(this);
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove


this.app = express();

this.app.use(cors());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to expose api for router

Comment on lines 14 to 17
// Define register routes method
public registerRoutes(core: Core) {
console.log("Not implemented", core);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review...

import { Router } from "express";

export enum ActionTypes {
"INIT_APP" = "INIT_APP",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean...

@@ -0,0 +1,4 @@
module.exports = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to move to example

@Nessunskill Nessunskill force-pushed the 25598-server branch 2 times, most recently from 65b285e to 4410c6e Compare March 5, 2024 16:14
@Nessunskill Nessunskill added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 6, 2024
@Nessunskill Nessunskill added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 6, 2024
@Nessunskill Nessunskill added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 6, 2024
@maxval1 maxval1 added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 6, 2024
@maxval1 maxval1 added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 6, 2024
@maxval1 maxval1 closed this Mar 6, 2024
@maxval1 maxval1 reopened this Mar 6, 2024
@maxval1 maxval1 added review used only for pr ci cd and removed review used only for pr ci cd labels Mar 6, 2024
@Nessunskill Nessunskill closed this Mar 6, 2024
@Nessunskill Nessunskill deleted the 25598-server branch March 6, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review used only for pr ci cd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants