Fakultas Ilmu Komputer UI

Commit 4e700b18 authored by Ahmad Izzudin Alifyandra's avatar Ahmad Izzudin Alifyandra
Browse files

Merge branch 'add-missing-columns-ecosystem' into 'master'

Add missing attributes for Ecosystem firestore schema

See merge request !77
parents 8c0ccaf6 a861bd15
Pipeline #86138 passed with stage
in 10 minutes and 3 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";
}; };
Markdown is supported
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