Class EchoSchema

Less than 1 minute

Class EchoSchema

Declared in packages/core/echo/echo-schema/dist/types/src/schema.d.ts:47

Constructed via generated protobuf class.

Constructors

constructor(_root)

Returns: EchoSchema

Arguments:

_root: Root

Properties

types

Type: EchoSchemaType[]

Methods

getPrototype(name)

Returns: undefined | Prototype

Arguments:

name: string

getType(name)

Returns: EchoSchemaType

Arguments:

name: string

mergeSchema(schema)

Returns: void

Arguments:

schema: EchoSchema

registerPrototype(proto)

Called from generated code.

Returns: void

Arguments:

proto: Prototype

fromJson(json)

Returns: EchoSchema

Arguments:

json: string