Orchestrator Function: Server Find All For Type ( VAPI )

by Simon Sparks · 16 February 2026

To use this function add it to the class library file named PluginVAPIService.ts

GitHub Repository: https://github.com/SimonSparksUK/Orchestrator

Filename: PluginVAPIService.ts

Public Function: FindAllForType

publicFindAllForType<T>(strObjectType:"VAPIEndpoint"|"VAPIMetamodel",strXPathQuery?:string):T[]{

letstrObjectTypePrefix:string="VAPI";

letstrObjectTypeName:string=`${strObjectTypePrefix}:${strObjectType}`;

letarrObjectType:T[]=this.serverFindAllForType<T>(strObjectTypeName,strXPathQuery);

returnarrObjectType;
}
TypeScript

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like