@burdenoff/microfe-assethandler 2026.826.1 → 2026.826.3

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.
@@ -1,4 +1,47 @@
1
1
  import { default as React } from 'react';
2
2
 
3
+ declare const ESG_CATEGORIES: readonly ["environment", "social", "governance"];
4
+ declare const ESG_TRENDS: readonly ["improving", "stable", "declining"];
5
+ interface MetricFormValues {
6
+ metricName: string;
7
+ category: (typeof ESG_CATEGORIES)[number];
8
+ unit: string;
9
+ value: number;
10
+ target: number | null;
11
+ trend: (typeof ESG_TRENDS)[number];
12
+ periodStart: string;
13
+ periodEnd: string;
14
+ }
15
+ export declare function buildMetricMutationVariables(metricId: string | null, form: MetricFormValues): {
16
+ kind: "update";
17
+ variables: {
18
+ id: string;
19
+ input: {
20
+ metricName: string;
21
+ category: "environment" | "social" | "governance";
22
+ unit: string;
23
+ value: number;
24
+ target: number | null;
25
+ trend: "improving" | "stable" | "declining";
26
+ };
27
+ };
28
+ } | {
29
+ kind: "create";
30
+ variables: {
31
+ input: {
32
+ metricKey: string;
33
+ periodStart: string;
34
+ periodEnd: string;
35
+ metricName: string;
36
+ category: "environment" | "social" | "governance";
37
+ unit: string;
38
+ value: number;
39
+ target: number | null;
40
+ trend: "improving" | "stable" | "declining";
41
+ };
42
+ id?: undefined;
43
+ };
44
+ };
3
45
  export declare function EsgDashboardPage(): React.JSX.Element;
46
+ export {};
4
47
  //# sourceMappingURL=EsgDashboardPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EsgDashboardPage.d.ts","sourceRoot":"","sources":["../../../src/assethandler/pages/EsgDashboardPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0T/B,wBAAgB,gBAAgB,sBAuO/B"}
1
+ {"version":3,"file":"EsgDashboardPage.d.ts","sourceRoot":"","sources":["../../../src/assethandler/pages/EsgDashboardPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoG/B,QAAA,MAAM,cAAc,kDAAmD,CAAC;AACxE,QAAA,MAAM,UAAU,+CAAgD,CAAC;AA6BjE,UAAU,gBAAgB;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,IAAI,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsB3F;AAwOD,wBAAgB,gBAAgB,sBAyT/B"}