From 546cde56a8f410d0178ede21e6cc25a85280d4c3 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Fri, 15 Apr 2016 08:32:34 -0700 Subject: [PATCH] [Timeline] Expose internal resource utilization ...to allow this to be exported for CSV, #751 --- .../timeline/src/capabilities/UtilizationCapability.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platform/features/timeline/src/capabilities/UtilizationCapability.js b/platform/features/timeline/src/capabilities/UtilizationCapability.js index 140f527c0d..33a7e4f793 100644 --- a/platform/features/timeline/src/capabilities/UtilizationCapability.js +++ b/platform/features/timeline/src/capabilities/UtilizationCapability.js @@ -195,6 +195,13 @@ define( * @returns {Promise.} a promise for resource identifiers */ resources: promiseResourceKeys, + /** + * Get the resource utilization associated with this object + * directly, not including any resource utilization associated + * with contained objects. + * @returns {Promise.} + */ + internal: promiseInternalUtilization, /** * Get the resource utilization associated with this * object. Results are not sorted. This requires looking