@breadstone/archipel-mcp 0.0.42 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Function: useExpressServer()'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Function: useExpressServer()
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
function useExpressServer<TApplication>(options?): PlatformBootstrapStep<TApplication>;
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [server/express/useExpressServer.ts:14](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/server/express/useExpressServer.ts#L14)
|
|
13
|
+
|
|
14
|
+
Creates an Express-compatible server bootstrap step.
|
|
15
|
+
|
|
16
|
+
## Type Parameters
|
|
17
|
+
|
|
18
|
+
| Type Parameter | Default type |
|
|
19
|
+
| ------ | ------ |
|
|
20
|
+
| `TApplication` *extends* `INestApplication`\<`any`\> | `INestApplication`\<`any`\> |
|
|
21
|
+
|
|
22
|
+
## Parameters
|
|
23
|
+
|
|
24
|
+
| Parameter | Type | Description |
|
|
25
|
+
| ------ | ------ | ------ |
|
|
26
|
+
| `options?` | [`IExpressServerStepOptions`](Interface.IExpressServerStepOptions) | Express server options. |
|
|
27
|
+
|
|
28
|
+
## Returns
|
|
29
|
+
|
|
30
|
+
[`PlatformBootstrapStep`](TypeAlias.PlatformBootstrapStep)\<`TApplication`\>
|
|
31
|
+
|
|
32
|
+
A platform bootstrap step.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Interface: IExpressServerStepOptions'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Interface: IExpressServerStepOptions
|
|
7
|
+
|
|
8
|
+
Defined in: [server/express/IExpressServerStepOptions.ts:9](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/server/express/IExpressServerStepOptions.ts#L9)
|
|
9
|
+
|
|
10
|
+
Options for the Express-compatible server bootstrap step.
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
### compression?
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
readonly optional compression?: boolean | CompressionOptions;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Defined in: [server/express/IExpressServerStepOptions.ts:17](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/server/express/IExpressServerStepOptions.ts#L17)
|
|
21
|
+
|
|
22
|
+
Compression middleware options, or `false` to skip compression.
|
|
23
|
+
|
|
24
|
+
***
|
|
25
|
+
|
|
26
|
+
### json?
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
readonly optional json?: boolean | OptionsJson;
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Defined in: [server/express/IExpressServerStepOptions.ts:11](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/server/express/IExpressServerStepOptions.ts#L11)
|
|
33
|
+
|
|
34
|
+
JSON body parser options, or `false` to skip JSON body parsing.
|
|
35
|
+
|
|
36
|
+
***
|
|
37
|
+
|
|
38
|
+
### urlEncoded?
|
|
39
|
+
|
|
40
|
+
```ts
|
|
41
|
+
readonly optional urlEncoded?: boolean | OptionsUrlencoded;
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Defined in: [server/express/IExpressServerStepOptions.ts:14](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-bootstrap/src/server/express/IExpressServerStepOptions.ts#L14)
|
|
45
|
+
|
|
46
|
+
URL-encoded body parser options, or `false` to skip URL-encoded body parsing.
|
|
@@ -20,6 +20,7 @@ editUrl: false
|
|
|
20
20
|
| ------ | ------ |
|
|
21
21
|
| [IApiStepOptions](Interface.IApiStepOptions) | Options for the generic Archipel API bootstrap step. |
|
|
22
22
|
| [IApiValidationOptions](Interface.IApiValidationOptions) | Validation options used by the generic Archipel API bootstrap step. |
|
|
23
|
+
| [IExpressServerStepOptions](Interface.IExpressServerStepOptions) | Options for the Express-compatible server bootstrap step. |
|
|
23
24
|
| [IOpenApiStepOptions](Interface.IOpenApiStepOptions) | Options for the OpenAPI bootstrap step. |
|
|
24
25
|
| [IPlatformApplicationOptions](Interface.IPlatformApplicationOptions) | Options for wrapping an existing NestJS application with Archipel platform bootstrap support. |
|
|
25
26
|
| [IPlatformListenOptions](Interface.IPlatformListenOptions) | Options for resolving the HTTP listen port from typed configuration keys. |
|
|
@@ -58,6 +59,7 @@ editUrl: false
|
|
|
58
59
|
| ------ | ------ |
|
|
59
60
|
| [createPlatformTestApplication](Function.createPlatformTestApplication) | Creates a lightweight in-memory NestJS application double for platform bootstrap tests. |
|
|
60
61
|
| [useApi](Function.useApi) | Creates the generic Archipel API bootstrap step. |
|
|
62
|
+
| [useExpressServer](Function.useExpressServer) | Creates an Express-compatible server bootstrap step. |
|
|
61
63
|
| [useOpenApi](Function.useOpenApi) | Creates the Archipel OpenAPI multi-document bootstrap step. |
|
|
62
64
|
| [useSecurity](Function.useSecurity) | Creates the generic security bootstrap step. |
|
|
63
65
|
| [useSession](Function.useSession) | Creates an Express-compatible session bootstrap step. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/archipel-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
4
4
|
"description": "MCP server providing Archipel platform knowledge - documentation, query patterns, and coding conventions - to AI development tools.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/main.js",
|