@almadar/std 1.0.15 → 2.0.0
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/LICENSE +21 -72
- package/README.md +25 -0
- package/dist/behaviors/index.d.ts +1 -0
- package/dist/behaviors/index.js +940 -2
- package/dist/behaviors/index.js.map +1 -1
- package/dist/behaviors/infrastructure.d.ts +21 -0
- package/dist/behaviors/infrastructure.js +940 -0
- package/dist/behaviors/infrastructure.js.map +1 -0
- package/dist/behaviors/registry.js +939 -1
- package/dist/behaviors/registry.js.map +1 -1
- package/dist/index.js +961 -6
- package/dist/index.js.map +1 -1
- package/dist/modules/async.js +22 -5
- package/dist/modules/async.js.map +1 -1
- package/dist/modules/index.js +22 -5
- package/dist/modules/index.js.map +1 -1
- package/dist/registry.js +22 -5
- package/dist/registry.js.map +1 -1
- package/package.json +5 -4
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OrbitalSchema } from '@almadar/core/types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Infrastructure Behaviors
|
|
5
|
+
*
|
|
6
|
+
* Standard behaviors for infrastructure patterns like circuit breaking
|
|
7
|
+
* and health monitoring.
|
|
8
|
+
* Each behavior is a self-contained OrbitalSchema that can function as a standalone .orb file.
|
|
9
|
+
*
|
|
10
|
+
* @packageDocumentation
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
declare const CIRCUIT_BREAKER_BEHAVIOR: OrbitalSchema;
|
|
14
|
+
declare const HEALTH_CHECK_BEHAVIOR: OrbitalSchema;
|
|
15
|
+
declare const RATE_LIMITER_BEHAVIOR: OrbitalSchema;
|
|
16
|
+
declare const CACHE_ASIDE_BEHAVIOR: OrbitalSchema;
|
|
17
|
+
declare const SAGA_BEHAVIOR: OrbitalSchema;
|
|
18
|
+
declare const METRICS_COLLECTOR_BEHAVIOR: OrbitalSchema;
|
|
19
|
+
declare const INFRASTRUCTURE_BEHAVIORS: OrbitalSchema[];
|
|
20
|
+
|
|
21
|
+
export { CACHE_ASIDE_BEHAVIOR, CIRCUIT_BREAKER_BEHAVIOR, HEALTH_CHECK_BEHAVIOR, INFRASTRUCTURE_BEHAVIORS, METRICS_COLLECTOR_BEHAVIOR, RATE_LIMITER_BEHAVIOR, SAGA_BEHAVIOR };
|