Interface: RecipeEntry
Defined in: src/ai/types.ts:332
A single recipe entry describing a reusable test pattern.
Remarks​
Recipes are curated test patterns that AI agents can emit verbatim or
adapt. role indicates who the recipe is primarily designed for.
priority indicates how important it is for adoption.
Intent​
Provide reusable SAP Fiori test patterns for AI generation.
Capability​
AI recipe lookup, test scaffolding, human reference.
Example​
const entry: RecipeEntry = {
id: 'login-sap-cloud',
title: 'Login to SAP BTP via SAML',
description: 'Authenticates against SAP BTP using cloud SAML strategy',
category: 'auth',
role: 'both',
priority: 'essential',
code: "await auth.loginCloud({ user: process.env.SAP_USER! })",
tags: ['auth', 'saml', 'btp'],
};
Properties​
category​
readonlycategory:string
Defined in: src/ai/types.ts:340
Category for grouping and filtering (e.g. 'auth', 'navigation').
code​
readonlycode:string
Defined in: src/ai/types.ts:346
Ready-to-use TypeScript code for the recipe.
description​
readonlydescription:string
Defined in: src/ai/types.ts:338
One or two sentence explanation of what this recipe demonstrates.
id​
readonlyid:string
Defined in: src/ai/types.ts:334
Unique kebab-case identifier for this recipe.
priority​
readonlypriority:RecipePriority
Defined in: src/ai/types.ts:344
Priority level for adoption guidance.
role​
readonlyrole:RecipeRole
Defined in: src/ai/types.ts:342
Who this recipe is intended for.
tags​
readonlytags:string[]
Defined in: src/ai/types.ts:348
Free-form tags for semantic search.
title​
readonlytitle:string
Defined in: src/ai/types.ts:336
Short descriptive title shown in documentation and AI context.