fix(core): Removed GitLab CI configuration and updated npm, gitzone settings

This commit is contained in:
2024-12-29 22:51:34 +01:00
parent 44ec964814
commit 9d2e3e640a
11 changed files with 4230 additions and 809 deletions

View File

@ -1,8 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
* autocreated commitinfo by @push.rocks/commitinfo
*/
export const commitinfo = {
name: 'coretraffic',
version: '1.0.185',
description: 'route traffic within your docker setup. TypeScript ready.'
version: '1.0.186',
description: 'CoreTraffic is a TypeScript-based solution for routing and managing network traffic within a Docker setup, featuring SSL redirection and Coreflow integration for real-time configuration updates.'
}

View File

@ -15,7 +15,7 @@ export class CoreflowConnector {
this.coretrafficRef.typedrouter.addTypedRouter(this.typedrouter)
this.typedrouter.addTypedHandler<
plugins.lointCloudly.request.routing.IRequest_Coreflow_Coretraffic_RoutingUpdate
plugins.servezoneInterfaces.requests.routing.IRequest_Coreflow_Coretraffic_RoutingUpdate
>(new plugins.typedrequest.TypedHandler('updateRouting', async (requestData) => {
console.log(requestData);
await this.coretrafficRef.taskmanager.setupRoutingTask.trigger(requestData.reverseConfigs);

View File

@ -9,7 +9,7 @@ export class CoretrafficTaskManager {
/**
* a task to run setup routing, runs buffered
*/
public setupRoutingTask: plugins.taskbuffer.Task;
public setupRoutingTask: plugins.taskbuffer.Task<plugins.tsclass.network.IReverseProxyConfig[]>;
constructor(coretrafficRefArg: CoreTraffic) {
this.coretrafficRef = coretrafficRefArg;
@ -18,7 +18,7 @@ export class CoretrafficTaskManager {
this.setupRoutingTask = new plugins.taskbuffer.Task({
buffered: true,
bufferMax: 2,
taskFunction: async (reverseConfigs: plugins.lointCloudly.traffic.IReverseProxyConfig[]) => {
taskFunction: async (reverseConfigs: plugins.tsclass.network.IReverseProxyConfig[]) => {
console.log('this is what got to the task:');
console.log(reverseConfigs);
logger.log('info', `routing setup task triggered`);

View File

@ -4,9 +4,9 @@ import * as path from 'path';
export { path };
// @serve.zone scope
import * as lointCloudly from '@losslessone_private/loint-cloudly';
import * as servezoneInterfaces from '@serve.zone/interfaces';
export { lointCloudly };
export { servezoneInterfaces };
// @api.global scope
import * as typedrequest from '@api.global/typedrequest';
@ -42,3 +42,8 @@ export {
smartstring,
taskbuffer,
};
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';
export { tsclass };