feat: improve monorepo dev experience

This commit is contained in:
2023-10-30 17:31:40 +01:00
parent f65fb52def
commit 8466976b3c
59 changed files with 157 additions and 2662 deletions

View File

@@ -14,6 +14,7 @@
*/
import {Plugin} from '@openstapps/api-plugin';
import * as express from 'express';
import schema from '../../lib/schema.json';
import {SCMinimalRequest} from './protocol/request.js';
import {SCMinimalResponse} from './protocol/response.js';
@@ -24,6 +25,10 @@ import {SCMinimalResponse} from './protocol/response.js';
* TODO: rename the class
*/
export class MinimalPlugin extends Plugin {
requestSchema = schema.SCMinimalRequest;
responseSchema = schema.SCMinimalResponse;
/**
* Calculates the sum of a list of numbers
*