DefineGleamPolicyArgs
Defined in: policyDefiners/defineGleamPolicy.ts:53
Input arguments for defining a gleam.toml policy.
Type Parameters
Section titled “Type Parameters”C
Properties
Section titled “Properties”defaultConfig?
Section titled “defaultConfig?”
optionaldefaultConfig?:C
Defined in: policyDefiners/defineGleamPolicy.ts:72
Optional default configuration for the policy.
description
Section titled “description”description:
string
Defined in: policyDefiners/defineGleamPolicy.ts:62
A description of the policy’s purpose.
handler
Section titled “handler”handler:
GleamTomlHandler<C>
Defined in: policyDefiners/defineGleamPolicy.ts:67
The handler function that receives the parsed gleam.toml and policy arguments.
name:
string
Defined in: policyDefiners/defineGleamPolicy.ts:57
The name of the policy.
requiresConfig?
Section titled “requiresConfig?”
optionalrequiresConfig?:boolean
Defined in: policyDefiners/defineGleamPolicy.ts:73