mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
1.5 KiB
1.5 KiB
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 %}
AnyOfSchema class
Schema class representing a value that can conform to any of the provided sub-schemas. This is useful when a field can accept multiple distinct types or structures.
Signature:
export declare class AnyOfSchema extends Schema
Extends: Schema
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(schemaParams) | Constructs a new instance of the AnyOfSchema class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| anyOf | TypedSchema[] |
AnyOfSchema.(constructor)
Constructs a new instance of the AnyOfSchema class
Signature:
constructor(schemaParams: SchemaParams & {
anyOf: TypedSchema[];
});
Parameters
| Parameter | Type | Description |
|---|---|---|
| schemaParams | SchemaParams & { anyOf: TypedSchema[]; } |
AnyOfSchema.anyOf
Signature:
anyOf: TypedSchema[];