Fakultas Ilmu Komputer UI

Commit a861bd15 authored by Ahmad Izzudin Alifyandra's avatar Ahmad Izzudin Alifyandra
Browse files

fix: add missing attributes for Ecosystem firestore schema

parent 8c0ccaf6
Pipeline #86134 passed with stage
in 10 minutes and 23 seconds
export type IEcosystemFollow = {
id?: string;
userId: string;
ecosystemId: string;
import firebase from "firebase/app";
export type IEcosystem = { export type IEcosystem = {
id?: string; id?: string;
creatorId: string;
name: string; name: string;
description: string; description: string;
categoryId: string; categoryId: string;
pic: string; pic: string;
rating: number; rating: number;
raters: number; raters: number;
timestamp: firebase.firestore.Timestamp;
followerCount: number; followerCount: number;
visibility: "private" | "protected" | "public"; visibility: "private" | "protected" | "public";
}; };
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment