@gtsc/api-core
Advanced tools
Comparing version 0.0.3-next.18 to 0.0.3-next.19
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102399
1986
+ Added@gtsc/api-models@0.0.3-next.19(transitive)
- Removed@gtsc/api-models@0.0.3-next.18(transitive)