Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL KI Ganjil 2021 2022
Clicks - Ecosystem Business
clicks-frontend
Commits
d5d41f1f
Commit
d5d41f1f
authored
Oct 09, 2021
by
Ahmad Izzudin Alifyandra
Browse files
Add new types for new firestore schemas
parent
6a930499
Changes
4
Show whitespace changes
Inline
Side-by-side
src/types/firestore/categories.ts
View file @
d5d41f1f
export
type
ICategory
=
{
id
?:
string
;
name
:
string
;
has_sub
:
boolean
;
};
src/types/firestore/ecosystemCategoryMember.ts
0 → 100644
View file @
d5d41f1f
export
type
IEcosystemCategoryMember
=
{
id
?:
string
;
type
:
"
supplier
"
|
"
customer
"
|
"
support
"
|
"
main
"
;
ecosystemId
:
string
;
categoryId
:
string
;
};
src/types/firestore/ecosystemMembership.ts
0 → 100644
View file @
d5d41f1f
export
type
IEcosystemMembership
=
{
id
?:
string
;
userId
:
string
;
categoryMemberId
:
string
;
};
src/types/firestore/ecosystems.ts
0 → 100644
View file @
d5d41f1f
export
type
IEcosystem
=
{
id
?:
string
;
name
:
string
;
description
:
string
;
categoryId
:
string
;
pic
:
string
;
rating
:
number
;
raters
:
number
;
followerCount
:
number
;
visibility
:
"
private
"
|
"
protected
"
|
"
public
"
;
};
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment