mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
1.4 KiB
1.4 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 %}
StringSchema class
Schema class for "string" types. Can be used with or without enum values.
Signature:
export declare class StringSchema extends Schema
Extends: Schema
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(schemaParams, enumValues) | Constructs a new instance of the StringSchema class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| enum | string[] |
StringSchema.(constructor)
Constructs a new instance of the StringSchema class
Signature:
constructor(schemaParams?: SchemaParams, enumValues?: string[]);
Parameters
| Parameter | Type | Description |
|---|---|---|
| schemaParams | SchemaParams | |
| enumValues | string[] |
StringSchema.enum
Signature:
enum?: string[];