Back to Firebase Js Sdk

SchemaInterface interface

docs-devsite/ai.schemainterface.md

12.12.11.4 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

SchemaInterface interface

Interface for Schema class.

<b>Signature:</b>

typescript
export interface SchemaInterface extends SchemaShared<SchemaInterface> 

<b>Extends:</b> SchemaShared<!-- --><SchemaInterface<!-- -->>

Properties

PropertyTypeDescription
typeSchemaTypeThe type of the property. this can only be undefined when using <code>anyof</code> schemas, which do not have an explicit type in the OpenAPI Specification<!-- -->.

SchemaInterface.type

The type of the property. this can only be undefined when using anyof schemas, which do not have an explicit type in the OpenAPI Specification<!-- -->.

<b>Signature:</b>

typescript
type?: SchemaType;