Skip to content

@salesforce/b2c-tooling-sdk / docs / readSchemaByQuery

Function: readSchemaByQuery() ​

readSchemaByQuery(query): { content: string; entry: SchemaEntry; path: string; } | null

Defined in: packages/b2c-tooling-sdk/src/docs/schema.ts:76

Find a schema by fuzzy query and return its content. Returns the best match or null if no match found.

Parameters ​

query ​

string

Returns ​

{ content: string; entry: SchemaEntry; path: string; } | null

Released under the Apache-2.0 License.