@breadstone/archipel-mcp 0.0.20 → 0.0.22
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.
- package/data/guides/ai-text-generation.md +10 -0
- package/data/guides/analytics-and-error-tracking.md +6 -0
- package/data/guides/cryptography-and-otp.md +20 -2
- package/data/guides/database-setup.md +4 -3
- package/data/guides/document-generation.md +26 -0
- package/data/guides/email-delivery.md +23 -0
- package/data/guides/email-templates.md +298 -0
- package/data/guides/esigning-integration.md +1 -1
- package/data/guides/getting-started.md +6 -6
- package/data/guides/index.md +1 -0
- package/data/guides/mcp-server.md +9 -0
- package/data/guides/payments-and-feature-gating.md +18 -0
- package/data/guides/resource-management.md +9 -9
- package/data/guides/telemetry-and-observability.md +7 -1
- package/data/packages/platform-analytics/api/Class.AppInsightsAnalyticsClient.md +55 -6
- package/data/packages/platform-analytics/api/Class.DatadogAnalyticsClient.md +32 -6
- package/data/packages/platform-analytics/api/Class.SentryAnalyticsClient.md +55 -6
- package/data/packages/platform-analytics/index.md +13 -0
- package/data/packages/platform-blob-storage/api/Variable.AWS_S3_PROVIDER_OPTIONS.md +1 -1
- package/data/packages/platform-blob-storage/api/Variable.AZURE_BLOB_PROVIDER_OPTIONS.md +1 -1
- package/data/packages/platform-blob-storage/api/Variable.BLOB_PROVIDER.md +1 -1
- package/data/packages/platform-blob-storage/api/Variable.VERCEL_BLOB_PROVIDER_OPTIONS.md +1 -1
- package/data/packages/platform-core/api/Class.ErrorTemplateService.md +1 -1
- package/data/packages/platform-core/api/Class.EventHub.md +7 -7
- package/data/packages/platform-core/api/Class.HostService.md +1 -1
- package/data/packages/platform-core/api/Class.SseHub.md +29 -6
- package/data/packages/platform-core/api/Variable.ID_GENERATOR_TOKEN.md +1 -1
- package/data/packages/platform-core/api/index.md +0 -27
- package/data/packages/platform-core/index.md +8 -4
- package/data/packages/platform-cryptography/api/Class.BcryptService.md +4 -4
- package/data/packages/platform-cryptography/api/Class.CryptoService.md +3 -3
- package/data/packages/platform-cryptography/api/Class.OtpService.md +6 -6
- package/data/packages/platform-cryptography/api/Variable.BCRYPT_OPTIONS.md +2 -2
- package/data/packages/platform-cryptography/api/Variable.MAX_BCRYPT_PASSWORD_BYTES.md +1 -1
- package/data/packages/platform-cryptography/api/Variable.MIN_BCRYPT_ROUNDS.md +1 -1
- package/data/packages/platform-cryptography/api/Variable.OTP_OPTIONS.md +2 -2
- package/data/packages/platform-cryptography/api/Variable.OTP_SERVICE_TOKEN.md +2 -2
- package/data/packages/platform-cryptography/api/Variable.TOTP_EPOCH_TOLERANCE.md +1 -1
- package/data/packages/platform-cryptography/api/index.md +3 -3
- package/data/packages/platform-cryptography/index.md +10 -0
- package/data/packages/platform-documents/api/Class.BaseDocumentRenderer.md +32 -1
- package/data/packages/platform-documents/api/Class.DocumentEngine.md +4 -4
- package/data/packages/platform-documents/api/Class.DocumentError.md +61 -0
- package/data/packages/platform-documents/api/Class.DocumentModule.md +2 -2
- package/data/packages/platform-documents/api/Class.DocumentRenderError.md +53 -0
- package/data/packages/platform-documents/api/Class.DocumentValidationError.md +52 -0
- package/data/packages/platform-documents/api/Class.DocxDocumentRenderer2.md +333 -0
- package/data/packages/platform-documents/api/Class.ImageProcessingError.md +53 -0
- package/data/packages/platform-documents/api/Class.PdfDocumentRenderer.md +355 -0
- package/data/packages/platform-documents/api/Class.SharpImageProcessor.md +5 -5
- package/data/packages/platform-documents/api/Interface.IDocumentModuleOptions.md +31 -5
- package/data/packages/platform-documents/api/Variable.DOCUMENT_MODULE_OPTIONS.md +1 -1
- package/data/packages/platform-documents/api/Variable.DOCUMENT_PARSER_TOKEN.md +1 -1
- package/data/packages/platform-documents/api/Variable.DOCUMENT_RENDERER_TOKEN.md +1 -1
- package/data/packages/platform-documents/api/Variable.IMAGE_PROCESSOR_TOKEN.md +1 -1
- package/data/packages/platform-documents/api/index.md +6 -0
- package/data/packages/platform-documents/index.md +27 -0
- package/data/packages/platform-esigning/api/Class.EsigningClientPort.md +2 -2
- package/data/packages/platform-esigning/api/Class.InternalEsigningProvider.md +8 -8
- package/data/packages/platform-esigning/index.md +2 -0
- package/data/packages/platform-health/index.md +128 -0
- package/data/packages/platform-intelligence/api/Class.IntelligenceCapabilityRegistry.md +3 -3
- package/data/packages/platform-intelligence/api/Class.IntelligenceConfigurationError.md +50 -0
- package/data/packages/platform-intelligence/api/Class.IntelligenceTextGenerator.md +27 -4
- package/data/packages/platform-intelligence/api/Class.IntelligenceValidationError.md +50 -0
- package/data/packages/platform-intelligence/api/Function.loadProviderFactory.md +1 -1
- package/data/packages/platform-intelligence/api/index.md +2 -0
- package/data/packages/platform-intelligence/index.md +32 -0
- package/data/packages/platform-logging/api/Class.LoggerModule.md +1 -1
- package/data/packages/platform-logging/index.md +2 -0
- package/data/packages/platform-mailing/api/Class.DeliveryStrategyBase.md +0 -1
- package/data/packages/platform-mailing/api/Class.MailDeliveryError.md +65 -0
- package/data/packages/platform-mailing/api/Class.MailModule.md +1 -1
- package/data/packages/platform-mailing/api/Class.MailgunDeliveryStrategy.md +3 -3
- package/data/packages/platform-mailing/api/Class.PostmarkDeliveryStrategy.md +3 -3
- package/data/packages/platform-mailing/api/Class.ResendDeliveryStrategy.md +3 -3
- package/data/packages/platform-mailing/api/Class.SendGridDeliveryStrategy.md +3 -3
- package/data/packages/platform-mailing/api/Class.SmtpDeliveryStrategy.md +3 -3
- package/data/packages/platform-mailing/api/Class.TemplateFetchStrategyBase.md +0 -5
- package/data/packages/platform-mailing/api/Variable.SMTP_CONFIG_ENTRIES.md +14 -0
- package/data/packages/platform-mailing/api/Variable.SMTP_HOST.md +14 -0
- package/data/packages/platform-mailing/api/Variable.SMTP_PASSWORD.md +14 -0
- package/data/packages/platform-mailing/api/Variable.SMTP_PORT.md +14 -0
- package/data/packages/platform-mailing/api/Variable.SMTP_SECURE.md +14 -0
- package/data/packages/platform-mailing/api/Variable.SMTP_USER.md +14 -0
- package/data/packages/platform-mailing/api/index.md +7 -3
- package/data/packages/platform-mailing/index.md +29 -0
- package/data/packages/platform-mapping/index.md +121 -0
- package/data/packages/platform-mcp/api/Class.McpServerService.md +8 -8
- package/data/packages/platform-mcp/api/Variable.MCP_MODULE_OPTIONS.md +1 -1
- package/data/packages/platform-mcp/index.md +11 -0
- package/data/packages/platform-openapi/api/Class.SwaggerMultiDocumentService.md +4 -4
- package/data/packages/platform-openapi/api/Class.SwaggerTheme.md +2 -2
- package/data/packages/platform-openapi/index.md +1 -1
- package/data/packages/platform-payments/api/Class.LemonSqueezyClient.md +6 -6
- package/data/packages/platform-payments/api/Class.MollieClient.md +6 -6
- package/data/packages/platform-payments/api/Class.PaddleClient.md +6 -6
- package/data/packages/platform-payments/api/Class.PaymentError.md +65 -0
- package/data/packages/platform-payments/api/Class.StripeClient.md +6 -6
- package/data/packages/platform-payments/api/index.md +1 -0
- package/data/packages/platform-payments/index.md +29 -0
- package/data/packages/platform-reporting/api/Class.ReportingContributorRegistry.md +1 -1
- package/data/packages/platform-reporting/index.md +3 -1
- package/data/packages/platform-resources/index.md +135 -0
- package/data/packages/platform-telemetry/api/Class.MetricsService.md +29 -3
- package/data/packages/platform-telemetry/api/Class.OtelSdkHolder.md +3 -2
- package/data/packages/platform-telemetry/api/Class.TelemetryLoggerService.md +6 -6
- package/data/packages/platform-telemetry/api/Class.TelemetryRuleEngine.md +3 -3
- package/data/packages/platform-telemetry/api/Variable.TELEMETRY_ENABLED.md +1 -1
- package/data/packages/platform-telemetry/api/Variable.TELEMETRY_FACADE.md +1 -1
- package/data/packages/platform-telemetry/api/Variable.TELEMETRY_OPTIONS.md +1 -1
- package/data/packages/platform-telemetry/api/index.md +1 -1
- package/data/packages/platform-telemetry/index.md +3 -1
- package/{src/knowledge/configPattern.js → data/patterns/config-pattern.md} +44 -47
- package/{src/knowledge/dtoPattern.js → data/patterns/dto-pattern.md} +58 -61
- package/{src/knowledge/errorHandlingPattern.js → data/patterns/error-handling-pattern.md} +35 -38
- package/{src/knowledge/guardPattern.js → data/patterns/guard-pattern.md} +35 -38
- package/{src/knowledge/mappingPattern.js → data/patterns/mapping-pattern.md} +43 -144
- package/data/patterns/module-pattern.md +182 -0
- package/data/patterns/query-pattern.md +137 -0
- package/data/patterns/repository-pattern.md +208 -0
- package/{src/knowledge/testingPattern.js → data/patterns/testing-pattern.md} +37 -40
- package/package.json +1 -1
- package/src/PatternsLoader.d.ts +12 -0
- package/src/PatternsLoader.js +65 -0
- package/src/generators/mappingPatternGenerator.d.ts +5 -0
- package/src/generators/mappingPatternGenerator.js +107 -0
- package/src/generators/modulePatternGenerator.d.ts +5 -0
- package/src/generators/modulePatternGenerator.js +107 -0
- package/src/generators/queryPatternGenerator.d.ts +4 -0
- package/src/generators/queryPatternGenerator.js +83 -0
- package/src/generators/repositoryPatternGenerator.d.ts +5 -0
- package/src/generators/repositoryPatternGenerator.js +165 -0
- package/src/main.js +15 -9
- package/src/models/IPatternDoc.d.ts +15 -0
- package/src/models/IPatternDoc.js +3 -0
- package/src/tools/registerGetConfigPatternTool.d.ts +2 -1
- package/src/tools/registerGetConfigPatternTool.js +4 -3
- package/src/tools/registerGetDtoPatternTool.d.ts +2 -1
- package/src/tools/registerGetDtoPatternTool.js +4 -3
- package/src/tools/registerGetErrorHandlingPatternTool.d.ts +2 -1
- package/src/tools/registerGetErrorHandlingPatternTool.js +4 -3
- package/src/tools/registerGetGuardPatternTool.d.ts +2 -1
- package/src/tools/registerGetGuardPatternTool.js +4 -3
- package/src/tools/registerGetMappingPatternTool.d.ts +2 -1
- package/src/tools/registerGetMappingPatternTool.js +5 -4
- package/src/tools/registerGetModulePatternTool.d.ts +2 -1
- package/src/tools/registerGetModulePatternTool.js +5 -4
- package/src/tools/registerGetQueryPatternTool.d.ts +2 -1
- package/src/tools/registerGetQueryPatternTool.js +5 -4
- package/src/tools/registerGetRepositoryPatternTool.d.ts +2 -1
- package/src/tools/registerGetRepositoryPatternTool.js +5 -4
- package/src/tools/registerGetTestingPatternTool.d.ts +2 -1
- package/src/tools/registerGetTestingPatternTool.js +4 -3
- package/data/packages/platform-core/api/Class.BlobResourceStrategy.md +0 -195
- package/data/packages/platform-core/api/Class.EmbeddedResourceStrategy.md +0 -215
- package/data/packages/platform-core/api/Class.FileResourceStrategy.md +0 -192
- package/data/packages/platform-core/api/Class.HealthModule.md +0 -42
- package/data/packages/platform-core/api/Class.HealthOrchestrator.md +0 -64
- package/data/packages/platform-core/api/Class.MappingBuilder.md +0 -110
- package/data/packages/platform-core/api/Class.MappingModule.md +0 -46
- package/data/packages/platform-core/api/Class.MappingNotRegisteredError.md +0 -56
- package/data/packages/platform-core/api/Class.MappingProfileBase.md +0 -52
- package/data/packages/platform-core/api/Class.MappingService.md +0 -284
- package/data/packages/platform-core/api/Class.ResourceManager.md +0 -565
- package/data/packages/platform-core/api/Class.ResourceModule.md +0 -46
- package/data/packages/platform-core/api/Class.TypeMappingNotRegisteredError.md +0 -57
- package/data/packages/platform-core/api/Function.createMappingKey.md +0 -39
- package/data/packages/platform-core/api/Interface.IBlobResourceStrategyConfig.md +0 -28
- package/data/packages/platform-core/api/Interface.IBlobServiceAdapter.md +0 -40
- package/data/packages/platform-core/api/Interface.IFileResourceStrategyConfig.md +0 -72
- package/data/packages/platform-core/api/Interface.IHealthCheckResult.md +0 -46
- package/data/packages/platform-core/api/Interface.IHealthIndicator.md +0 -41
- package/data/packages/platform-core/api/Interface.IMappingBuilder.md +0 -76
- package/data/packages/platform-core/api/Interface.IMappingKey.md +0 -58
- package/data/packages/platform-core/api/Interface.IMappingProfile.md +0 -32
- package/data/packages/platform-core/api/Interface.IResourceManagerConfig.md +0 -89
- package/data/packages/platform-core/api/Interface.IResourceMetadata.md +0 -94
- package/data/packages/platform-core/api/Interface.IResourceResult.md +0 -34
- package/data/packages/platform-core/api/Interface.IResourceStrategy.md +0 -134
- package/data/packages/platform-core/api/Variable.HEALTH_INDICATORS_TOKEN.md +0 -14
- package/data/packages/platform-mailing/api/Class.BlobTemplateFetchStrategy.md +0 -60
- package/data/packages/platform-mailing/api/Class.FileTemplateFetchStrategy.md +0 -58
- package/data/packages/platform-mailing/api/Class.LogDeliveryStrategy.md +0 -71
- package/src/knowledge/configPattern.d.ts +0 -5
- package/src/knowledge/dtoPattern.d.ts +0 -5
- package/src/knowledge/errorHandlingPattern.d.ts +0 -5
- package/src/knowledge/guardPattern.d.ts +0 -5
- package/src/knowledge/mappingPattern.d.ts +0 -6
- package/src/knowledge/modulePattern.d.ts +0 -6
- package/src/knowledge/modulePattern.js +0 -283
- package/src/knowledge/queryPattern.d.ts +0 -6
- package/src/knowledge/queryPattern.js +0 -215
- package/src/knowledge/repositoryPattern.d.ts +0 -6
- package/src/knowledge/repositoryPattern.js +0 -367
- package/src/knowledge/testingPattern.d.ts +0 -5
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: FileResourceStrategy'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
# Class: FileResourceStrategy
|
|
7
|
-
|
|
8
|
-
Defined in: [resources/strategies/FileResourceStrategy.ts:47](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/resources/strategies/FileResourceStrategy.ts#L47)
|
|
9
|
-
|
|
10
|
-
Strategy for loading resources from the local file system.
|
|
11
|
-
|
|
12
|
-
## Implements
|
|
13
|
-
|
|
14
|
-
- [`IResourceStrategy`](Interface.IResourceStrategy)
|
|
15
|
-
|
|
16
|
-
## Constructors
|
|
17
|
-
|
|
18
|
-
### Constructor
|
|
19
|
-
|
|
20
|
-
```ts
|
|
21
|
-
new FileResourceStrategy(config): FileResourceStrategy;
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Defined in: [resources/strategies/FileResourceStrategy.ts:63](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/resources/strategies/FileResourceStrategy.ts#L63)
|
|
25
|
-
|
|
26
|
-
Constructs a new instance of the `FileResourceStrategy` class.
|
|
27
|
-
|
|
28
|
-
#### Parameters
|
|
29
|
-
|
|
30
|
-
| Parameter | Type |
|
|
31
|
-
| ------ | ------ |
|
|
32
|
-
| `config` | [`IFileResourceStrategyConfig`](Interface.IFileResourceStrategyConfig) |
|
|
33
|
-
|
|
34
|
-
#### Returns
|
|
35
|
-
|
|
36
|
-
`FileResourceStrategy`
|
|
37
|
-
|
|
38
|
-
## Accessors
|
|
39
|
-
|
|
40
|
-
### name
|
|
41
|
-
|
|
42
|
-
#### Get Signature
|
|
43
|
-
|
|
44
|
-
```ts
|
|
45
|
-
get name(): string;
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
Defined in: [resources/strategies/FileResourceStrategy.ts:75](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/resources/strategies/FileResourceStrategy.ts#L75)
|
|
49
|
-
|
|
50
|
-
The unique name of this strategy.
|
|
51
|
-
|
|
52
|
-
##### Returns
|
|
53
|
-
|
|
54
|
-
`string`
|
|
55
|
-
|
|
56
|
-
The unique name of this strategy.
|
|
57
|
-
|
|
58
|
-
#### Implementation of
|
|
59
|
-
|
|
60
|
-
[`IResourceStrategy`](Interface.IResourceStrategy).[`name`](Interface.IResourceStrategy#name)
|
|
61
|
-
|
|
62
|
-
## Methods
|
|
63
|
-
|
|
64
|
-
### exists()
|
|
65
|
-
|
|
66
|
-
```ts
|
|
67
|
-
exists(key): boolean;
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
Defined in: [resources/strategies/FileResourceStrategy.ts:138](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/resources/strategies/FileResourceStrategy.ts#L138)
|
|
71
|
-
|
|
72
|
-
Checks if a resource exists without loading it.
|
|
73
|
-
|
|
74
|
-
#### Parameters
|
|
75
|
-
|
|
76
|
-
| Parameter | Type | Description |
|
|
77
|
-
| ------ | ------ | ------ |
|
|
78
|
-
| `key` | `string` | The resource key |
|
|
79
|
-
|
|
80
|
-
#### Returns
|
|
81
|
-
|
|
82
|
-
`boolean`
|
|
83
|
-
|
|
84
|
-
True if the resource exists
|
|
85
|
-
|
|
86
|
-
#### Implementation of
|
|
87
|
-
|
|
88
|
-
[`IResourceStrategy`](Interface.IResourceStrategy).[`exists`](Interface.IResourceStrategy#exists)
|
|
89
|
-
|
|
90
|
-
***
|
|
91
|
-
|
|
92
|
-
### existsAsync()
|
|
93
|
-
|
|
94
|
-
```ts
|
|
95
|
-
existsAsync(key): Promise<boolean>;
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
Defined in: [resources/strategies/FileResourceStrategy.ts:149](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/resources/strategies/FileResourceStrategy.ts#L149)
|
|
99
|
-
|
|
100
|
-
Checks if a resource exists without loading it (asynchronous).
|
|
101
|
-
|
|
102
|
-
#### Parameters
|
|
103
|
-
|
|
104
|
-
| Parameter | Type | Description |
|
|
105
|
-
| ------ | ------ | ------ |
|
|
106
|
-
| `key` | `string` | The resource key |
|
|
107
|
-
|
|
108
|
-
#### Returns
|
|
109
|
-
|
|
110
|
-
`Promise`\<`boolean`\>
|
|
111
|
-
|
|
112
|
-
Promise resolving to true if the resource exists
|
|
113
|
-
|
|
114
|
-
#### Implementation of
|
|
115
|
-
|
|
116
|
-
[`IResourceStrategy`](Interface.IResourceStrategy).[`existsAsync`](Interface.IResourceStrategy#existsasync)
|
|
117
|
-
|
|
118
|
-
***
|
|
119
|
-
|
|
120
|
-
### load()
|
|
121
|
-
|
|
122
|
-
```ts
|
|
123
|
-
load(key): IResourceResult | undefined;
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
Defined in: [resources/strategies/FileResourceStrategy.ts:90](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/resources/strategies/FileResourceStrategy.ts#L90)
|
|
127
|
-
|
|
128
|
-
Loads a resource by its key.
|
|
129
|
-
|
|
130
|
-
#### Parameters
|
|
131
|
-
|
|
132
|
-
| Parameter | Type | Description |
|
|
133
|
-
| ------ | ------ | ------ |
|
|
134
|
-
| `key` | `string` | The resource key |
|
|
135
|
-
|
|
136
|
-
#### Returns
|
|
137
|
-
|
|
138
|
-
[`IResourceResult`](Interface.IResourceResult) \| `undefined`
|
|
139
|
-
|
|
140
|
-
The resource result or undefined if not found
|
|
141
|
-
|
|
142
|
-
#### Implementation of
|
|
143
|
-
|
|
144
|
-
[`IResourceStrategy`](Interface.IResourceStrategy).[`load`](Interface.IResourceStrategy#load)
|
|
145
|
-
|
|
146
|
-
***
|
|
147
|
-
|
|
148
|
-
### loadAsync()
|
|
149
|
-
|
|
150
|
-
```ts
|
|
151
|
-
loadAsync(key): Promise<IResourceResult | undefined>;
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
Defined in: [resources/strategies/FileResourceStrategy.ts:127](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/resources/strategies/FileResourceStrategy.ts#L127)
|
|
155
|
-
|
|
156
|
-
Loads a resource by its key (asynchronous).
|
|
157
|
-
|
|
158
|
-
#### Parameters
|
|
159
|
-
|
|
160
|
-
| Parameter | Type | Description |
|
|
161
|
-
| ------ | ------ | ------ |
|
|
162
|
-
| `key` | `string` | The resource key |
|
|
163
|
-
|
|
164
|
-
#### Returns
|
|
165
|
-
|
|
166
|
-
`Promise`\<[`IResourceResult`](Interface.IResourceResult) \| `undefined`\>
|
|
167
|
-
|
|
168
|
-
Promise resolving to the resource result or undefined if not found
|
|
169
|
-
|
|
170
|
-
#### Implementation of
|
|
171
|
-
|
|
172
|
-
[`IResourceStrategy`](Interface.IResourceStrategy).[`loadAsync`](Interface.IResourceStrategy#loadasync)
|
|
173
|
-
|
|
174
|
-
***
|
|
175
|
-
|
|
176
|
-
### whatDoIHave()
|
|
177
|
-
|
|
178
|
-
```ts
|
|
179
|
-
whatDoIHave(): void;
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
Defined in: [resources/strategies/FileResourceStrategy.ts:158](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/resources/strategies/FileResourceStrategy.ts#L158)
|
|
183
|
-
|
|
184
|
-
List all files and folders in the base paths for debugging purposes.
|
|
185
|
-
|
|
186
|
-
#### Returns
|
|
187
|
-
|
|
188
|
-
`void`
|
|
189
|
-
|
|
190
|
-
#### Implementation of
|
|
191
|
-
|
|
192
|
-
[`IResourceStrategy`](Interface.IResourceStrategy).[`whatDoIHave`](Interface.IResourceStrategy#whatdoihave)
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: HealthModule'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
# Class: HealthModule
|
|
7
|
-
|
|
8
|
-
Defined in: [health/HealthModule.ts:21](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/health/HealthModule.ts#L21)
|
|
9
|
-
|
|
10
|
-
## Constructors
|
|
11
|
-
|
|
12
|
-
### Constructor
|
|
13
|
-
|
|
14
|
-
```ts
|
|
15
|
-
new HealthModule(): HealthModule;
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
#### Returns
|
|
19
|
-
|
|
20
|
-
`HealthModule`
|
|
21
|
-
|
|
22
|
-
## Methods
|
|
23
|
-
|
|
24
|
-
### withIndicators()
|
|
25
|
-
|
|
26
|
-
```ts
|
|
27
|
-
static withIndicators(indicators): DynamicModule;
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
Defined in: [health/HealthModule.ts:28](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/health/HealthModule.ts#L28)
|
|
31
|
-
|
|
32
|
-
Registers additional health indicators.
|
|
33
|
-
|
|
34
|
-
#### Parameters
|
|
35
|
-
|
|
36
|
-
| Parameter | Type | Description |
|
|
37
|
-
| ------ | ------ | ------ |
|
|
38
|
-
| `indicators` | `Type`\<[`IHealthIndicator`](Interface.IHealthIndicator)\>[] | Array of indicator classes implementing IHealthIndicator |
|
|
39
|
-
|
|
40
|
-
#### Returns
|
|
41
|
-
|
|
42
|
-
`DynamicModule`
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: HealthOrchestrator'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
# Class: HealthOrchestrator
|
|
7
|
-
|
|
8
|
-
Defined in: [health/HealthOrchestrator.ts:15](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/health/HealthOrchestrator.ts#L15)
|
|
9
|
-
|
|
10
|
-
Orchestrates execution of all registered health indicators and aggregates their results.
|
|
11
|
-
|
|
12
|
-
## Constructors
|
|
13
|
-
|
|
14
|
-
### Constructor
|
|
15
|
-
|
|
16
|
-
```ts
|
|
17
|
-
new HealthOrchestrator(): HealthOrchestrator;
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Defined in: [health/HealthOrchestrator.ts:27](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/health/HealthOrchestrator.ts#L27)
|
|
21
|
-
|
|
22
|
-
#### Returns
|
|
23
|
-
|
|
24
|
-
`HealthOrchestrator`
|
|
25
|
-
|
|
26
|
-
## Methods
|
|
27
|
-
|
|
28
|
-
### check()
|
|
29
|
-
|
|
30
|
-
```ts
|
|
31
|
-
check(): Promise<IHealthCheckResult[]>;
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Defined in: [health/HealthOrchestrator.ts:60](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/health/HealthOrchestrator.ts#L60)
|
|
35
|
-
|
|
36
|
-
Executes all registered health indicators and aggregates their results.
|
|
37
|
-
|
|
38
|
-
#### Returns
|
|
39
|
-
|
|
40
|
-
`Promise`\<[`IHealthCheckResult`](Interface.IHealthCheckResult)[]\>
|
|
41
|
-
|
|
42
|
-
The aggregated health check results.
|
|
43
|
-
|
|
44
|
-
***
|
|
45
|
-
|
|
46
|
-
### registerIndicator()
|
|
47
|
-
|
|
48
|
-
```ts
|
|
49
|
-
registerIndicator(indicator): void;
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Defined in: [health/HealthOrchestrator.ts:41](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/health/HealthOrchestrator.ts#L41)
|
|
53
|
-
|
|
54
|
-
Registers a health indicator.
|
|
55
|
-
|
|
56
|
-
#### Parameters
|
|
57
|
-
|
|
58
|
-
| Parameter | Type | Description |
|
|
59
|
-
| ------ | ------ | ------ |
|
|
60
|
-
| `indicator` | [`IHealthIndicator`](Interface.IHealthIndicator) | The health indicator to register. |
|
|
61
|
-
|
|
62
|
-
#### Returns
|
|
63
|
-
|
|
64
|
-
`void`
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: MappingBuilder'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
# Class: MappingBuilder
|
|
7
|
-
|
|
8
|
-
Defined in: [mapping/builder/MappingBuilder.ts:15](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/builder/MappingBuilder.ts#L15)
|
|
9
|
-
|
|
10
|
-
A mapping builder that uses the mapping service to register maps.
|
|
11
|
-
|
|
12
|
-
## Implements
|
|
13
|
-
|
|
14
|
-
- [`IMappingBuilder`](Interface.IMappingBuilder)
|
|
15
|
-
|
|
16
|
-
## Constructors
|
|
17
|
-
|
|
18
|
-
### Constructor
|
|
19
|
-
|
|
20
|
-
```ts
|
|
21
|
-
new MappingBuilder(service): MappingBuilder;
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Defined in: [mapping/builder/MappingBuilder.ts:31](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/builder/MappingBuilder.ts#L31)
|
|
25
|
-
|
|
26
|
-
Constructs a new instance of the `MappingBuilder` class.
|
|
27
|
-
|
|
28
|
-
#### Parameters
|
|
29
|
-
|
|
30
|
-
| Parameter | Type |
|
|
31
|
-
| ------ | ------ |
|
|
32
|
-
| `service` | [`MappingService`](Class.MappingService) |
|
|
33
|
-
|
|
34
|
-
#### Returns
|
|
35
|
-
|
|
36
|
-
`MappingBuilder`
|
|
37
|
-
|
|
38
|
-
## Methods
|
|
39
|
-
|
|
40
|
-
### createKeyedMap()
|
|
41
|
-
|
|
42
|
-
```ts
|
|
43
|
-
createKeyedMap<TInput, TOutput>(key, fn): this;
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Defined in: [mapping/builder/MappingBuilder.ts:68](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/builder/MappingBuilder.ts#L68)
|
|
47
|
-
|
|
48
|
-
Creates a keyed mapping between two types with full type safety.
|
|
49
|
-
The mapping key encodes both input and output types at compile time.
|
|
50
|
-
|
|
51
|
-
#### Type Parameters
|
|
52
|
-
|
|
53
|
-
| Type Parameter |
|
|
54
|
-
| ------ |
|
|
55
|
-
| `TInput` |
|
|
56
|
-
| `TOutput` |
|
|
57
|
-
|
|
58
|
-
#### Parameters
|
|
59
|
-
|
|
60
|
-
| Parameter | Type | Description |
|
|
61
|
-
| ------ | ------ | ------ |
|
|
62
|
-
| `key` | [`IMappingKey`](Interface.IMappingKey)\<`TInput`, `TOutput`\> | The type-safe mapping key. |
|
|
63
|
-
| `fn` | (`source`) => `TOutput` | The mapping function. |
|
|
64
|
-
|
|
65
|
-
#### Returns
|
|
66
|
-
|
|
67
|
-
`this`
|
|
68
|
-
|
|
69
|
-
#### Implementation of
|
|
70
|
-
|
|
71
|
-
[`IMappingBuilder`](Interface.IMappingBuilder).[`createKeyedMap`](Interface.IMappingBuilder#createkeyedmap)
|
|
72
|
-
|
|
73
|
-
***
|
|
74
|
-
|
|
75
|
-
### createMap()
|
|
76
|
-
|
|
77
|
-
```ts
|
|
78
|
-
createMap<TSource, TDestination>(
|
|
79
|
-
source,
|
|
80
|
-
destination,
|
|
81
|
-
fn): this;
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Defined in: [mapping/builder/MappingBuilder.ts:50](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/builder/MappingBuilder.ts#L50)
|
|
85
|
-
|
|
86
|
-
Creates a mapping between two types.
|
|
87
|
-
Enforces compile-time type compatibility check.
|
|
88
|
-
|
|
89
|
-
#### Type Parameters
|
|
90
|
-
|
|
91
|
-
| Type Parameter |
|
|
92
|
-
| ------ |
|
|
93
|
-
| `TSource` |
|
|
94
|
-
| `TDestination` |
|
|
95
|
-
|
|
96
|
-
#### Parameters
|
|
97
|
-
|
|
98
|
-
| Parameter | Type | Description |
|
|
99
|
-
| ------ | ------ | ------ |
|
|
100
|
-
| `source` | `Constructor`\<`TSource`\> | The source type. |
|
|
101
|
-
| `destination` | `Constructor`\<`TDestination`\> | The destination type. |
|
|
102
|
-
| `fn` | (`source`) => `TDestination` | The mapping function. |
|
|
103
|
-
|
|
104
|
-
#### Returns
|
|
105
|
-
|
|
106
|
-
`this`
|
|
107
|
-
|
|
108
|
-
#### Implementation of
|
|
109
|
-
|
|
110
|
-
[`IMappingBuilder`](Interface.IMappingBuilder).[`createMap`](Interface.IMappingBuilder#createmap)
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: MappingModule'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
# Class: MappingModule
|
|
7
|
-
|
|
8
|
-
Defined in: [mapping/MappingModule.ts:23](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/MappingModule.ts#L23)
|
|
9
|
-
|
|
10
|
-
Module that provides mapping services and allows registration of mapping profiles.
|
|
11
|
-
|
|
12
|
-
## Constructors
|
|
13
|
-
|
|
14
|
-
### Constructor
|
|
15
|
-
|
|
16
|
-
```ts
|
|
17
|
-
new MappingModule(): MappingModule;
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
#### Returns
|
|
21
|
-
|
|
22
|
-
`MappingModule`
|
|
23
|
-
|
|
24
|
-
## Methods
|
|
25
|
-
|
|
26
|
-
### withProfiles()
|
|
27
|
-
|
|
28
|
-
```ts
|
|
29
|
-
static withProfiles(profiles): DynamicModule;
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Defined in: [mapping/MappingModule.ts:32](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/MappingModule.ts#L32)
|
|
33
|
-
|
|
34
|
-
Configures the module with the given mapping profiles.
|
|
35
|
-
|
|
36
|
-
#### Parameters
|
|
37
|
-
|
|
38
|
-
| Parameter | Type | Description |
|
|
39
|
-
| ------ | ------ | ------ |
|
|
40
|
-
| `profiles` | `Type`\<[`IMappingProfile`](Interface.IMappingProfile)\>[] | An array of mapping profile types to register. |
|
|
41
|
-
|
|
42
|
-
#### Returns
|
|
43
|
-
|
|
44
|
-
`DynamicModule`
|
|
45
|
-
|
|
46
|
-
A dynamic module with the specified profiles registered.
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: MappingNotRegisteredError'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
# Class: MappingNotRegisteredError
|
|
7
|
-
|
|
8
|
-
Defined in: [mapping/errors/MappingNotRegisteredError.ts:12](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/errors/MappingNotRegisteredError.ts#L12)
|
|
9
|
-
|
|
10
|
-
Thrown when a keyed mapping is requested but not registered.
|
|
11
|
-
|
|
12
|
-
## Extends
|
|
13
|
-
|
|
14
|
-
- `MappingError`
|
|
15
|
-
|
|
16
|
-
## Constructors
|
|
17
|
-
|
|
18
|
-
### Constructor
|
|
19
|
-
|
|
20
|
-
```ts
|
|
21
|
-
new MappingNotRegisteredError(key): MappingNotRegisteredError;
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
Defined in: [mapping/errors/MappingNotRegisteredError.ts:16](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/errors/MappingNotRegisteredError.ts#L16)
|
|
25
|
-
|
|
26
|
-
#### Parameters
|
|
27
|
-
|
|
28
|
-
| Parameter | Type |
|
|
29
|
-
| ------ | ------ |
|
|
30
|
-
| `key` | `string` |
|
|
31
|
-
|
|
32
|
-
#### Returns
|
|
33
|
-
|
|
34
|
-
`MappingNotRegisteredError`
|
|
35
|
-
|
|
36
|
-
#### Overrides
|
|
37
|
-
|
|
38
|
-
```ts
|
|
39
|
-
MappingError.constructor
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
## Properties
|
|
43
|
-
|
|
44
|
-
### code
|
|
45
|
-
|
|
46
|
-
```ts
|
|
47
|
-
readonly code: string;
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
Defined in: [mapping/errors/MappingError.ts:11](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/errors/MappingError.ts#L11)
|
|
51
|
-
|
|
52
|
-
#### Inherited from
|
|
53
|
-
|
|
54
|
-
```ts
|
|
55
|
-
MappingError.code
|
|
56
|
-
```
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Abstract Class: MappingProfileBase'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
# Abstract Class: MappingProfileBase
|
|
7
|
-
|
|
8
|
-
Defined in: [mapping/profile/MappingProfileBase.ts:13](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/profile/MappingProfileBase.ts#L13)
|
|
9
|
-
|
|
10
|
-
Base class for mapping profiles to simplify implementation.
|
|
11
|
-
|
|
12
|
-
## Implements
|
|
13
|
-
|
|
14
|
-
- [`IMappingProfile`](Interface.IMappingProfile)
|
|
15
|
-
|
|
16
|
-
## Constructors
|
|
17
|
-
|
|
18
|
-
### Constructor
|
|
19
|
-
|
|
20
|
-
```ts
|
|
21
|
-
new MappingProfileBase(): MappingProfileBase;
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
#### Returns
|
|
25
|
-
|
|
26
|
-
`MappingProfileBase`
|
|
27
|
-
|
|
28
|
-
## Methods
|
|
29
|
-
|
|
30
|
-
### configure()
|
|
31
|
-
|
|
32
|
-
```ts
|
|
33
|
-
abstract configure(builder): void;
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Defined in: [mapping/profile/MappingProfileBase.ts:25](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/mapping/profile/MappingProfileBase.ts#L25)
|
|
37
|
-
|
|
38
|
-
Configures the mapping profile.
|
|
39
|
-
|
|
40
|
-
#### Parameters
|
|
41
|
-
|
|
42
|
-
| Parameter | Type | Description |
|
|
43
|
-
| ------ | ------ | ------ |
|
|
44
|
-
| `builder` | [`IMappingBuilder`](Interface.IMappingBuilder) | The mapping builder. |
|
|
45
|
-
|
|
46
|
-
#### Returns
|
|
47
|
-
|
|
48
|
-
`void`
|
|
49
|
-
|
|
50
|
-
#### Implementation of
|
|
51
|
-
|
|
52
|
-
[`IMappingProfile`](Interface.IMappingProfile).[`configure`](Interface.IMappingProfile#configure)
|