Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gtsc/api-core

Package Overview
Dependencies
Maintainers
0
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gtsc/api-core - npm Package Compare versions

Comparing version 0.0.3-next.18 to 0.0.3-next.19

12

dist/types/services/informationService.d.ts

@@ -1,2 +0,2 @@

import type { IRequestContext, IService } from "@gtsc/services";
import type { IService } from "@gtsc/services";
import type { IServerHealth } from "../models/IServerHealth";

@@ -10,2 +10,6 @@ import type { IServerInfo } from "../models/IServerInfo";

/**
* Runtime name for the class.
*/
readonly CLASS_NAME: string;
/**
* Create a new instance of InformationService.

@@ -17,8 +21,2 @@ * @param serverInfo The server information.

/**
* Bootstrap the service by creating and initializing any resources it needs.
* @param requestContext The request context for bootstrapping.
* @returns Nothing.
*/
bootstrap?(requestContext: IRequestContext): Promise<void>;
/**
* Get the server information.

@@ -25,0 +23,0 @@ * @returns The service information.

@@ -35,27 +35,15 @@ [**@gtsc/api-core**](../overview.md) • **Docs**

## Methods
## Properties
### bootstrap()?
### CLASS\_NAME
> `optional` **bootstrap**(`requestContext`): `Promise`\<`void`\>
> `readonly` **CLASS\_NAME**: `string`
Bootstrap the service by creating and initializing any resources it needs.
Runtime name for the class.
#### Parameters
• **requestContext**: `IRequestContext`
The request context for bootstrapping.
#### Returns
`Promise`\<`void`\>
Nothing.
#### Implementation of
`IService.bootstrap`
`IService.CLASS_NAME`
***
## Methods

@@ -62,0 +50,0 @@ ### serverInformation()

{
"name": "@gtsc/api-core",
"version": "0.0.3-next.18",
"version": "0.0.3-next.19",
"description": "Core classes for use with APIs",

@@ -17,3 +17,3 @@ "repository": {

"dependencies": {
"@gtsc/api-models": "0.0.3-next.18",
"@gtsc/api-models": "0.0.3-next.19",
"@gtsc/core": "next",

@@ -20,0 +20,0 @@ "@gtsc/logging-models": "next",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc