fix: update init scaffolds with pluginContracts, observe sinks, chaos strategy examples
This commit is contained in:
@@ -95,6 +95,7 @@ export interface EnvironmentPolicy {
|
||||
allowChaos?: boolean;
|
||||
allowBlocking?: boolean;
|
||||
requireSink?: boolean;
|
||||
sinks?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -145,6 +146,14 @@ export interface PresetDefinition {
|
||||
parallel?: boolean;
|
||||
chaos?: boolean;
|
||||
observe?: boolean;
|
||||
runs?: number;
|
||||
sampling?: number;
|
||||
blocking?: boolean;
|
||||
sinks?: Record<string, unknown>;
|
||||
features?: string[];
|
||||
chaosStrategy?: 'one' | 'all' | 'sample' | 'routes';
|
||||
chaosSampleSize?: number;
|
||||
chaosSampleRoutes?: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user