From aa1879f0901ff16c5c0863ea017c83adbd9fae91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Wed, 10 Oct 2018 13:52:58 +0200 Subject: [PATCH] Represent recursive sources structure --- scm-ui-components/packages/ui-types/src/Sources.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scm-ui-components/packages/ui-types/src/Sources.js b/scm-ui-components/packages/ui-types/src/Sources.js index 0267212987..e7ea7dafa0 100644 --- a/scm-ui-components/packages/ui-types/src/Sources.js +++ b/scm-ui-components/packages/ui-types/src/Sources.js @@ -17,7 +17,10 @@ export type File = { length: number, lastModified?: string, subRepository?: SubRepository, // TODO - _links: Links + _links: Links, + _embedded: { + children: File[] + } }; export type SourcesCollection = Collection & {