27 lines
614 B
TypeScript
27 lines
614 B
TypeScript
|
|
/**
|
||
|
|
* apophis-fastify - Package entry point.
|
||
|
|
* Exports the plugin as a Fastify plugin with proper metadata.
|
||
|
|
*/
|
||
|
|
|
||
|
|
import fp from 'fastify-plugin'
|
||
|
|
import { apophisPlugin } from './plugin/index.js'
|
||
|
|
|
||
|
|
export default fp(apophisPlugin, {
|
||
|
|
name: 'apophis-fastify',
|
||
|
|
dependencies: ['@fastify/swagger'],
|
||
|
|
})
|
||
|
|
|
||
|
|
export * from './types.js'
|
||
|
|
|
||
|
|
// Chaos-v3: Pure chaos application for property-based testing
|
||
|
|
export {
|
||
|
|
applyChaosToExecution,
|
||
|
|
applyChaosToAllResponses,
|
||
|
|
createChaosEventArbitrary,
|
||
|
|
extractDelays,
|
||
|
|
sleep,
|
||
|
|
type ChaosEvent,
|
||
|
|
type ChaosEventType,
|
||
|
|
type ChaosApplicationResult,
|
||
|
|
} from './quality/chaos-v3.js'
|