Skip to content
module@warp-drive/core/types/schema/fields

Type Alias ResourceSchema ​

ts
type ResourceSchema = 
  | PolarisResourceSchema
  | LegacyResourceSchema;

Defined in: warp-drive-packages/core/src/types/schema/fields.ts:2343

A type which represents a valid JSON schema definition for either a PolarisMode or a LegacyMode resource.

Note, this is separate from the type returned by the SchemaService which provides fields as a Map instead of as an Array.

Released under the MIT License.