rulvar API reference / @rulvar/rulvar / checkFloors
Function: checkFloors()
ts
function checkFloors(options): void;Defined in: packages/core/dist/index.d.ts
Enforces the floors for one resolved invocation. taskClass is the profile-declared class; when absent (unclassified) only byRole floors apply. Throws a typed ConfigError on violation.
Parameters
| Parameter | Type |
|---|---|
options | { floors?: QualityFloors; ref: `${string}:${string}`; role: InvocationRole; taskClass?: TaskClass; } |
options.floors? | QualityFloors |
options.ref | `${string}:${string}` |
options.role | InvocationRole |
options.taskClass? | TaskClass |
Returns
void