MCPcopy Create free account
hub / github.com/firebase/firebase-tools / getRulesetLabels

Function getRulesetLabels

src/database/metadata.ts:58–66  ·  view source on GitHub ↗
(databaseName: string)

Source from the content-addressed store, hash-verified

56}
57
58export async function getRulesetLabels(databaseName: string): Promise<LabelIds> {
59 const response = await apiClient.get<LabelIds>(`/namespaces/${databaseName}/ruleset_labels`, {
60 resolveOnHTTPError: true,
61 });
62 if (response.status === 200) {
63 return response.body;
64 }
65 return handleErrorResponse(response);
66}
67
68export async function createRuleset(
69 databaseName: string,

Callers

nothing calls this directly

Calls 1

handleErrorResponseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…