fix(core): update

This commit is contained in:
Philipp Kunz 2024-02-03 20:24:11 +01:00
parent e4886c0677
commit 697e145310
6 changed files with 29 additions and 2 deletions

View File

@ -21,6 +21,7 @@
}, },
"dependencies": { "dependencies": {
"@apiglobal/typedrequest-interfaces": "^2.0.1", "@apiglobal/typedrequest-interfaces": "^2.0.1",
"@push.rocks/smartlog-interfaces": "^3.0.0",
"@tsclass/tsclass": "^4.0.46" "@tsclass/tsclass": "^4.0.46"
}, },
"browserslist": [ "browserslist": [

View File

@ -8,6 +8,9 @@ dependencies:
'@apiglobal/typedrequest-interfaces': '@apiglobal/typedrequest-interfaces':
specifier: ^2.0.1 specifier: ^2.0.1
version: 2.0.1 version: 2.0.1
'@push.rocks/smartlog-interfaces':
specifier: ^3.0.0
version: 3.0.0
'@tsclass/tsclass': '@tsclass/tsclass':
specifier: ^4.0.46 specifier: ^4.0.46
version: 4.0.46 version: 4.0.46
@ -748,7 +751,6 @@ packages:
resolution: {integrity: sha512-dfRqiSolGQwaF9gWmkixWOoXZxcWBjK3u6A1CpcfhCbVr2VSUMIrZ5t74/DgdfedsTrhDqoD0NGezsMXF2pFHQ==} resolution: {integrity: sha512-dfRqiSolGQwaF9gWmkixWOoXZxcWBjK3u6A1CpcfhCbVr2VSUMIrZ5t74/DgdfedsTrhDqoD0NGezsMXF2pFHQ==}
dependencies: dependencies:
'@apiglobal/typedrequest-interfaces': 2.0.1 '@apiglobal/typedrequest-interfaces': 2.0.1
dev: true
/@push.rocks/smartlog@3.0.3: /@push.rocks/smartlog@3.0.3:
resolution: {integrity: sha512-E4UUSdbrf0TdSqI7LrUa3jgYQGKT6+ybSHuRcopFDt0W2/tBpY+/vPyAApJIa8iGFKJoi3oSTgYJbK90SwQwKg==} resolution: {integrity: sha512-E4UUSdbrf0TdSqI7LrUa3jgYQGKT6+ybSHuRcopFDt0W2/tBpY+/vPyAApJIa8iGFKJoi3oSTgYJbK90SwQwKg==}

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@serve.zone/interfaces', name: '@serve.zone/interfaces',
version: '1.0.15', version: '1.0.16',
description: 'interfaces for working with containers' description: 'interfaces for working with containers'
} }

View File

@ -5,6 +5,13 @@ export {
typedrequestInterfaces typedrequestInterfaces
} }
// @push.rocks scope
import * as smartlogInterfaces from '@push.rocks/smartlog-interfaces';
export {
smartlogInterfaces,
}
// tsclass scope // tsclass scope
import * as tsclass from '@tsclass/tsclass'; import * as tsclass from '@tsclass/tsclass';

View File

@ -4,6 +4,8 @@ import * as certificateRequests from './certificate.js';
import * as clusterRequests from './cluster.js'; import * as clusterRequests from './cluster.js';
import * as configRequests from './config.js'; import * as configRequests from './config.js';
import * as identityRequests from './identity.js'; import * as identityRequests from './identity.js';
import * as informRequests from './inform.js';
import * as logRequests from './log.js';
import * as networkRequests from './network.js'; import * as networkRequests from './network.js';
import * as routingRequests from './routing.js'; import * as routingRequests from './routing.js';
import * as secretRequests from './secret.js'; import * as secretRequests from './secret.js';
@ -16,6 +18,8 @@ export {
clusterRequests as cluster, clusterRequests as cluster,
configRequests as config, configRequests as config,
identityRequests as identity, identityRequests as identity,
informRequests as inform,
logRequests as log,
networkRequests as network, networkRequests as network,
routingRequests as routing, routingRequests as routing,
secretRequests as secret, secretRequests as secret,

13
ts/requests/log.ts Normal file
View File

@ -0,0 +1,13 @@
import * as plugins from '../plugins.js';
export interface IRequest_Log extends plugins.typedrequestInterfaces.implementsTR<
plugins.typedrequestInterfaces.ITypedRequest,
IRequest_Log
> {
method: 'log';
request: {
authToken: string;
logPackages: plugins.smartlogInterfaces.ILogPackage[];
},
response: {};
}