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 %}
Schema class for "object" types. The properties param must be a map of Schema objects.
Signature:
export declare class ObjectSchema extends Schema Extends: Schema
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(schemaParams, properties, optionalProperties) | Constructs a new instance of the ObjectSchema class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| optionalProperties | string[] | ||
| properties | { [k: string]: TypedSchema; } |
Constructs a new instance of the ObjectSchema class
Signature:
constructor(schemaParams: SchemaParams, properties: {
[k: string]: TypedSchema;
}, optionalProperties?: string[]);| Parameter | Type | Description |
|---|---|---|
| schemaParams | SchemaParams | |
| properties | { [k: string]: TypedSchema; } | |
| optionalProperties | string[] |
Signature:
optionalProperties: string[];Signature:
properties: {
[k: string]: TypedSchema;
};