Skip to content
View as Markdown
View as Markdown

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

Function: listSchemas()

listSchemas(): SchemaEntry[]

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

List all available schema entries.

Returns

SchemaEntry[]

Array of all schema entries in the index

Example

typescript
const schemas = listSchemas();
schemas.forEach(s => console.log(s.id));

Released under the Apache-2.0 License.