RulesFile interface

Plik źródłowy zawierający niektóre reguły bezpieczeństwa Firebase. Treść obejmuje surowy kod źródłowy, w tym formatowanie tekstu, wcięcia i komentarze. Aby utworzyć nowe instancje tego typu, użyj metody SecurityRules.createRulesFileFromSource() .

Podpis:

export interface RulesFile 

Nieruchomości

Nieruchomość Typ Opis
treść strunowy
nazwa strunowy

RegułyPlik.zawartość

Podpis:

readonly content: string;

RegułyNazwa.pliku

Podpis:

readonly name: string;