Skip to main content
Version: 1.0.0

SupportRequests

Purpose​

The SupportRequests collection stores user-submitted support tickets. Each document contains details such as the request title, description, type of support needed, user email, creation date, and any attached images. This collection is used to manage, track, and respond to user support inquiries.

Document schema​

{
"createdAt": "timestamp",
"description": "string",
"email": "string",
"images": [
{
"originalName": "string",
"storagePath": "string",
"url": "string"
}
],
"supportType": "string",
"title": "string"
}

Indexes​

This collection does not have external indexes.

Query examples​

// Fetch the Reference Doc from Firebase
const supportReqRef = doc(db, "SupportRequests", requestId);

// Get the Document Snapshot from the Reference Doc
const supportReqSnap = await getDoc(supportReqRef);