MCPcopy Index your code
hub / github.com/TeaCoder52/patcode / GenerateOptions

Interface GenerateOptions

src/types.ts:46–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46export interface GenerateOptions {
47 length?: CodeLength
48 strategy?: Strategy
49 avoidSimpleSequences?: boolean
50 avoidSameDigits?: boolean
51 blackList?: string[]
52 previousCode?: string
53 allowedDigits?: string[]
54
55 rng?: () => number
56 rngProfile?: RngProfile
57
58 profile?: HumanProfile
59 mode?: SecurityMode
60
61 avoidSimilarPrevious?: boolean
62
63 customStrategy?: (ctx: CustomStrategyContext) => string
64}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected