Skip to main content

Schema

Upgather SDK


Upgather SDK / Schema

Class: Schema

Defined in: lib/schema/Schema.ts:9

Represents the dynamic content types of the backend.

Remarks

This class holds a list of ContentType instances that describe the structure of the data.

Constructors

new Schema()

new Schema(contentTypes?): Schema

Defined in: lib/schema/Schema.ts:18

Creates an instance of Schema.

Parameters

contentTypes?

ContentType[]

(Optional) An array of ContentType instances.

Returns

Schema

Properties

contentTypes

contentTypes: ContentType[]

Defined in: lib/schema/Schema.ts:11

A list of content types defined by the backend.