Fakultas Ilmu Komputer UI

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

Merge branch 'add-new-firestore-types' into 'master'

Add new types for new firestore schemas

See merge request !73
parents 6a930499 d5d41f1f
Pipeline #86117 passed with stage
in 8 minutes and 8 seconds
export type ICategory = { export type ICategory = {
id?: string; id?: string;
name: string; name: string;
has_sub: boolean;
}; };
export type IEcosystemCategoryMember = {
id?: string;
type: "supplier" | "customer" | "support" | "main";
ecosystemId: string;
categoryId: string;
export type IEcosystemMembership = {
id?: string;
userId: string;
categoryMemberId: string;
export type IEcosystem = {
id?: string;
name: string;
description: string;
categoryId: string;
pic: string;
rating: number;
raters: number;
followerCount: number;
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