Skip to content

Commit 073eff0

Browse files
author
Ives van Hoorne
committed
Fix model of git for profile sandboxes
1 parent e229e8e commit 073eff0

File tree

1 file changed

+9
-1
lines changed
  • packages/app/src/app/store/modules/profile

1 file changed

+9
-1
lines changed

packages/app/src/app/store/modules/profile/model.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,15 @@ import { types } from 'mobx-state-tree';
22

33
const Sandbox = types.model({
44
forkCount: types.number,
5-
git: types.maybe(types.string),
5+
git: types.maybe(
6+
types.model({
7+
username: types.string,
8+
repo: types.string,
9+
path: types.maybe(types.string),
10+
commitSha: types.string,
11+
branch: types.string,
12+
})
13+
),
614
id: types.string,
715
insertedAt: types.string,
816
likeCount: types.number,

0 commit comments

Comments
 (0)