subsetSchema

Function

Subset a json schema to only those properties specified.

Parameters

Parameter Type Default Notes
schema Required IConfigurationSchema
props Required string[]

Returns

Property Type Notes
type Optional "object"

Function defined in common/src/core/schemas/internal/subsetSchema.ts:11