@letpeoplework/lighthouse-client 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -841,12 +841,12 @@ var createLighthouseClient = (configuration, dependencies = {}) => ({
|
|
|
841
841
|
`/v1/teams/${teamId}/metrics/totalWorkItemAge?${getMetricsAsOfDateQuery(asOfDate)}`,
|
|
842
842
|
{ method: "GET" }
|
|
843
843
|
),
|
|
844
|
-
|
|
844
|
+
getTeamTotalWorkItemAgeInfo: async (teamId, range) => {
|
|
845
845
|
const r = getResolvedMetricsDateRange(range);
|
|
846
846
|
return requestJson(
|
|
847
847
|
configuration,
|
|
848
848
|
dependencies,
|
|
849
|
-
`/v1/teams/${teamId}/metrics/
|
|
849
|
+
`/v1/teams/${teamId}/metrics/totalWorkItemAgeInfo?${getMetricsDateRangeQuery(r)}`,
|
|
850
850
|
{ method: "GET" }
|
|
851
851
|
);
|
|
852
852
|
},
|
|
@@ -916,12 +916,12 @@ var createLighthouseClient = (configuration, dependencies = {}) => ({
|
|
|
916
916
|
`/v1/portfolios/${portfolioId}/metrics/totalWorkItemAge?${getMetricsAsOfDateQuery(asOfDate)}`,
|
|
917
917
|
{ method: "GET" }
|
|
918
918
|
),
|
|
919
|
-
|
|
919
|
+
getPortfolioTotalWorkItemAgeInfo: async (portfolioId, range) => {
|
|
920
920
|
const r = getResolvedMetricsDateRange(range);
|
|
921
921
|
return requestJson(
|
|
922
922
|
configuration,
|
|
923
923
|
dependencies,
|
|
924
|
-
`/v1/portfolios/${portfolioId}/metrics/
|
|
924
|
+
`/v1/portfolios/${portfolioId}/metrics/totalWorkItemAgeInfo?${getMetricsDateRangeQuery(r)}`,
|
|
925
925
|
{ method: "GET" }
|
|
926
926
|
);
|
|
927
927
|
},
|
package/dist/index.d.cts
CHANGED
|
@@ -195,7 +195,7 @@ type LighthouseClient = {
|
|
|
195
195
|
readonly getTeamCycleTimeData: (teamId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
196
196
|
readonly getTeamPredictabilityScore: (teamId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
197
197
|
readonly getTeamTotalWorkItemAge: (teamId: number, asOfDate: string) => Promise<LighthouseApiResult<number>>;
|
|
198
|
-
readonly
|
|
198
|
+
readonly getTeamTotalWorkItemAgeInfo: (teamId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
199
199
|
readonly getPortfolioThroughput: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
200
200
|
readonly getPortfolioCycleTimePercentiles: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
201
201
|
readonly getPortfolioArrivals: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
@@ -204,7 +204,7 @@ type LighthouseClient = {
|
|
|
204
204
|
readonly getPortfolioCycleTimeData: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
205
205
|
readonly getPortfolioPredictabilityScore: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
206
206
|
readonly getPortfolioTotalWorkItemAge: (portfolioId: number, asOfDate: string) => Promise<LighthouseApiResult<number>>;
|
|
207
|
-
readonly
|
|
207
|
+
readonly getPortfolioTotalWorkItemAgeInfo: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
208
208
|
readonly getFeaturesByIds: (ids: readonly number[]) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
209
209
|
readonly getFeaturesByReferences: (refs: readonly string[]) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
210
210
|
readonly getFeatureWorkItems: (featureId: number) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -195,7 +195,7 @@ type LighthouseClient = {
|
|
|
195
195
|
readonly getTeamCycleTimeData: (teamId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
196
196
|
readonly getTeamPredictabilityScore: (teamId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
197
197
|
readonly getTeamTotalWorkItemAge: (teamId: number, asOfDate: string) => Promise<LighthouseApiResult<number>>;
|
|
198
|
-
readonly
|
|
198
|
+
readonly getTeamTotalWorkItemAgeInfo: (teamId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
199
199
|
readonly getPortfolioThroughput: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
200
200
|
readonly getPortfolioCycleTimePercentiles: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
201
201
|
readonly getPortfolioArrivals: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
@@ -204,7 +204,7 @@ type LighthouseClient = {
|
|
|
204
204
|
readonly getPortfolioCycleTimeData: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
205
205
|
readonly getPortfolioPredictabilityScore: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
206
206
|
readonly getPortfolioTotalWorkItemAge: (portfolioId: number, asOfDate: string) => Promise<LighthouseApiResult<number>>;
|
|
207
|
-
readonly
|
|
207
|
+
readonly getPortfolioTotalWorkItemAgeInfo: (portfolioId: number, range?: MetricsDateRange) => Promise<LighthouseApiResult<unknown>>;
|
|
208
208
|
readonly getFeaturesByIds: (ids: readonly number[]) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
209
209
|
readonly getFeaturesByReferences: (refs: readonly string[]) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
|
210
210
|
readonly getFeatureWorkItems: (featureId: number) => Promise<LighthouseApiResult<readonly unknown[]>>;
|
package/dist/index.js
CHANGED
|
@@ -809,12 +809,12 @@ var createLighthouseClient = (configuration, dependencies = {}) => ({
|
|
|
809
809
|
`/v1/teams/${teamId}/metrics/totalWorkItemAge?${getMetricsAsOfDateQuery(asOfDate)}`,
|
|
810
810
|
{ method: "GET" }
|
|
811
811
|
),
|
|
812
|
-
|
|
812
|
+
getTeamTotalWorkItemAgeInfo: async (teamId, range) => {
|
|
813
813
|
const r = getResolvedMetricsDateRange(range);
|
|
814
814
|
return requestJson(
|
|
815
815
|
configuration,
|
|
816
816
|
dependencies,
|
|
817
|
-
`/v1/teams/${teamId}/metrics/
|
|
817
|
+
`/v1/teams/${teamId}/metrics/totalWorkItemAgeInfo?${getMetricsDateRangeQuery(r)}`,
|
|
818
818
|
{ method: "GET" }
|
|
819
819
|
);
|
|
820
820
|
},
|
|
@@ -884,12 +884,12 @@ var createLighthouseClient = (configuration, dependencies = {}) => ({
|
|
|
884
884
|
`/v1/portfolios/${portfolioId}/metrics/totalWorkItemAge?${getMetricsAsOfDateQuery(asOfDate)}`,
|
|
885
885
|
{ method: "GET" }
|
|
886
886
|
),
|
|
887
|
-
|
|
887
|
+
getPortfolioTotalWorkItemAgeInfo: async (portfolioId, range) => {
|
|
888
888
|
const r = getResolvedMetricsDateRange(range);
|
|
889
889
|
return requestJson(
|
|
890
890
|
configuration,
|
|
891
891
|
dependencies,
|
|
892
|
-
`/v1/portfolios/${portfolioId}/metrics/
|
|
892
|
+
`/v1/portfolios/${portfolioId}/metrics/totalWorkItemAgeInfo?${getMetricsDateRangeQuery(r)}`,
|
|
893
893
|
{ method: "GET" }
|
|
894
894
|
);
|
|
895
895
|
},
|
package/package.json
CHANGED