@breadstone/archipel-mcp 0.0.47 → 0.0.48
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.
|
@@ -5,7 +5,7 @@ editUrl: false
|
|
|
5
5
|
---
|
|
6
6
|
# Class: EmptyBlobStorageStrategy
|
|
7
7
|
|
|
8
|
-
Defined in: strategies/empty/EmptyBlobStorageStrategy.ts:15
|
|
8
|
+
Defined in: [strategies/empty/EmptyBlobStorageStrategy.ts:15](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-blob-storage/src/strategies/empty/EmptyBlobStorageStrategy.ts#L15)
|
|
9
9
|
|
|
10
10
|
Provides a blob storage strategy backed by the local filesystem.
|
|
11
11
|
|
|
@@ -21,7 +21,7 @@ Provides a blob storage strategy backed by the local filesystem.
|
|
|
21
21
|
new EmptyBlobStorageStrategy(): EmptyBlobStorageStrategy;
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Defined in: strategies/empty/EmptyBlobStorageStrategy.ts:29
|
|
24
|
+
Defined in: [strategies/empty/EmptyBlobStorageStrategy.ts:29](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-blob-storage/src/strategies/empty/EmptyBlobStorageStrategy.ts#L29)
|
|
25
25
|
|
|
26
26
|
Constructs a new instance of the `EmptyBlobStorageStrategy` class.
|
|
27
27
|
|
|
@@ -41,7 +41,7 @@ Constructs a new instance of the `EmptyBlobStorageStrategy` class.
|
|
|
41
41
|
optional defaultBucket?: string = undefined;
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
Defined in: strategies/empty/EmptyBlobStorageStrategy.ts:39
|
|
44
|
+
Defined in: [strategies/empty/EmptyBlobStorageStrategy.ts:39](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-blob-storage/src/strategies/empty/EmptyBlobStorageStrategy.ts#L39)
|
|
45
45
|
|
|
46
46
|
Gets the default bucket (container/directory) configured for the provider.
|
|
47
47
|
|
|
@@ -57,7 +57,7 @@ Gets the default bucket (container/directory) configured for the provider.
|
|
|
57
57
|
readonly providerId: string = 'empty';
|
|
58
58
|
```
|
|
59
59
|
|
|
60
|
-
Defined in: strategies/empty/EmptyBlobStorageStrategy.ts:37
|
|
60
|
+
Defined in: [strategies/empty/EmptyBlobStorageStrategy.ts:37](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-blob-storage/src/strategies/empty/EmptyBlobStorageStrategy.ts#L37)
|
|
61
61
|
|
|
62
62
|
Gets the unique identifier for this storage provider.
|
|
63
63
|
|
|
@@ -102,7 +102,7 @@ The generated signed URL.
|
|
|
102
102
|
deleteObject(request): Promise<void>;
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
-
Defined in: strategies/empty/EmptyBlobStorageStrategy.ts:93
|
|
105
|
+
Defined in: [strategies/empty/EmptyBlobStorageStrategy.ts:93](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-blob-storage/src/strategies/empty/EmptyBlobStorageStrategy.ts#L93)
|
|
106
106
|
|
|
107
107
|
Deletes a blob object from the storage backend.
|
|
108
108
|
|
|
@@ -128,7 +128,7 @@ Deletes a blob object from the storage backend.
|
|
|
128
128
|
downloadObject<TData>(request): Promise<IBlobDownloadResult<TData>>;
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
Defined in: strategies/empty/EmptyBlobStorageStrategy.ts:75
|
|
131
|
+
Defined in: [strategies/empty/EmptyBlobStorageStrategy.ts:75](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-blob-storage/src/strategies/empty/EmptyBlobStorageStrategy.ts#L75)
|
|
132
132
|
|
|
133
133
|
Downloads a blob object from the storage backend.
|
|
134
134
|
|
|
@@ -162,7 +162,7 @@ The download result including payload and metadata.
|
|
|
162
162
|
uploadObject(request): Promise<IBlobUploadResult>;
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
Defined in: strategies/empty/EmptyBlobStorageStrategy.ts:45
|
|
165
|
+
Defined in: [strategies/empty/EmptyBlobStorageStrategy.ts:45](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-blob-storage/src/strategies/empty/EmptyBlobStorageStrategy.ts#L45)
|
|
166
166
|
|
|
167
167
|
Uploads a blob object to the storage backend.
|
|
168
168
|
|
|
@@ -27,15 +27,18 @@ new DatabaseModule(): DatabaseModule;
|
|
|
27
27
|
static forRoot(config?): DynamicModule;
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Defined in: [libs/platform-database/src/DatabaseModule.ts:
|
|
30
|
+
Defined in: [libs/platform-database/src/DatabaseModule.ts:103](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-database/src/DatabaseModule.ts#L103)
|
|
31
31
|
|
|
32
|
-
Registers the `DatabaseModule` with
|
|
32
|
+
Registers the `DatabaseModule` globally with the provided configuration.
|
|
33
|
+
|
|
34
|
+
Use this method when you need to configure a Prisma adapter (e.g. `PrismaPg`)
|
|
35
|
+
for Prisma 7+ compatibility.
|
|
33
36
|
|
|
34
37
|
#### Parameters
|
|
35
38
|
|
|
36
39
|
| Parameter | Type | Description |
|
|
37
40
|
| ------ | ------ | ------ |
|
|
38
|
-
| `config?` | [`IDatabaseModuleConfig`](Interface.IDatabaseModuleConfig) | The database module configuration |
|
|
41
|
+
| `config?` | [`IDatabaseModuleConfig`](Interface.IDatabaseModuleConfig) | The database module configuration including the adapter |
|
|
39
42
|
|
|
40
43
|
#### Returns
|
|
41
44
|
|
|
@@ -43,6 +46,16 @@ Registers the `DatabaseModule` with global middlewares.
|
|
|
43
46
|
|
|
44
47
|
A `DynamicModule` that can be imported globally
|
|
45
48
|
|
|
49
|
+
#### Example
|
|
50
|
+
|
|
51
|
+
```typescript
|
|
52
|
+
import { PrismaPg } from '@prisma/adapter-pg';
|
|
53
|
+
|
|
54
|
+
DatabaseModule.forRoot({
|
|
55
|
+
adapter: new PrismaPg(connectionUrl),
|
|
56
|
+
})
|
|
57
|
+
```
|
|
58
|
+
|
|
46
59
|
***
|
|
47
60
|
|
|
48
61
|
### register()
|
|
@@ -51,18 +64,20 @@ A `DynamicModule` that can be imported globally
|
|
|
51
64
|
static register(config?): DynamicModule;
|
|
52
65
|
```
|
|
53
66
|
|
|
54
|
-
Defined in: [libs/platform-database/src/DatabaseModule.ts:
|
|
67
|
+
Defined in: [libs/platform-database/src/DatabaseModule.ts:122](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-database/src/DatabaseModule.ts#L122)
|
|
68
|
+
|
|
69
|
+
Registers the `DatabaseModule` with the provided configuration.
|
|
55
70
|
|
|
56
|
-
|
|
71
|
+
Use this method for non-global registration with a Prisma adapter.
|
|
57
72
|
|
|
58
73
|
#### Parameters
|
|
59
74
|
|
|
60
75
|
| Parameter | Type | Description |
|
|
61
76
|
| ------ | ------ | ------ |
|
|
62
|
-
| `config?` | [`IDatabaseModuleConfig`](Interface.IDatabaseModuleConfig) | The database module configuration |
|
|
77
|
+
| `config?` | [`IDatabaseModuleConfig`](Interface.IDatabaseModuleConfig) | The database module configuration including the adapter |
|
|
63
78
|
|
|
64
79
|
#### Returns
|
|
65
80
|
|
|
66
81
|
`DynamicModule`
|
|
67
82
|
|
|
68
|
-
A `DynamicModule` that can be imported
|
|
83
|
+
A `DynamicModule` that can be imported
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/archipel-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.48",
|
|
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",
|