@optifye/dashboard-core 6.12.7 → 6.12.9
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.d.mts +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +122 -86
- package/dist/index.mjs +122 -86
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -22,8 +22,10 @@ declare const isWipGatedVideoGridMetricMode: (value: unknown, assemblyEnabled?:
|
|
|
22
22
|
interface SkuBreakdownItem {
|
|
23
23
|
/** UUID — `skus.id`. Stable identifier for selectors and threshold writes. */
|
|
24
24
|
sku_id: string;
|
|
25
|
-
/**
|
|
25
|
+
/** Technical code — `skus.sku_id` (e.g. `IMT_BIG`). */
|
|
26
26
|
sku_code: string;
|
|
27
|
+
/** User-facing label — `skus.display_name`, falling back to `sku_code`. */
|
|
28
|
+
sku_display_name?: string | null;
|
|
27
29
|
sku_definition: string;
|
|
28
30
|
is_dummy: boolean;
|
|
29
31
|
total_output: number;
|
|
@@ -44,6 +46,7 @@ interface SkuBreakdownItem {
|
|
|
44
46
|
interface SkuSegmentItem {
|
|
45
47
|
sku_id: string;
|
|
46
48
|
sku_code: string;
|
|
49
|
+
sku_display_name?: string | null;
|
|
47
50
|
start_time: string;
|
|
48
51
|
end_time: string | null;
|
|
49
52
|
pph_threshold: number;
|
|
@@ -52,6 +55,7 @@ interface SkuSegmentItem {
|
|
|
52
55
|
interface LineSkuBreakdownItem {
|
|
53
56
|
sku_id: string;
|
|
54
57
|
sku_code: string;
|
|
58
|
+
sku_display_name?: string | null;
|
|
55
59
|
is_dummy: boolean;
|
|
56
60
|
current_output: number;
|
|
57
61
|
ideal_output: number;
|
|
@@ -94,6 +98,7 @@ interface LineSkuBreakdownItem {
|
|
|
94
98
|
interface CurrentWorkspaceSKU {
|
|
95
99
|
sku_uuid: string;
|
|
96
100
|
sku_code: string;
|
|
101
|
+
sku_display_name?: string | null;
|
|
97
102
|
sku_definition: string;
|
|
98
103
|
start_time: string;
|
|
99
104
|
is_dummy: boolean;
|
|
@@ -1605,6 +1610,7 @@ interface SSEEvent {
|
|
|
1605
1610
|
interface SKU {
|
|
1606
1611
|
id: string;
|
|
1607
1612
|
sku_id: string;
|
|
1613
|
+
display_name?: string | null;
|
|
1608
1614
|
sku_definition: string;
|
|
1609
1615
|
company_id: string;
|
|
1610
1616
|
line_id: string;
|
|
@@ -5723,6 +5729,7 @@ declare const fetchLineDummySkuId: (supabase: {
|
|
|
5723
5729
|
interface SkuLookupRow {
|
|
5724
5730
|
id: string;
|
|
5725
5731
|
sku_id?: string | null;
|
|
5732
|
+
display_name?: string | null;
|
|
5726
5733
|
sku_definition?: string | null;
|
|
5727
5734
|
}
|
|
5728
5735
|
/**
|
|
@@ -5746,6 +5753,7 @@ declare const fetchLineSkuCatalog: (supabase: {
|
|
|
5746
5753
|
type LineSkuBreakdownBuiltItem = {
|
|
5747
5754
|
sku_id: string;
|
|
5748
5755
|
sku_code: string;
|
|
5756
|
+
sku_display_name?: string | null;
|
|
5749
5757
|
is_dummy: boolean;
|
|
5750
5758
|
current_output: number;
|
|
5751
5759
|
ideal_output: number;
|
|
@@ -7840,7 +7848,7 @@ interface HourlyOutputChartProps {
|
|
|
7840
7848
|
className?: string;
|
|
7841
7849
|
/**
|
|
7842
7850
|
* Optional SKU transition segments. When provided, vertical divider lines
|
|
7843
|
-
* with
|
|
7851
|
+
* with display labels are rendered at each transition. Backend already
|
|
7844
7852
|
* excludes dummy SKUs from this list. (Phase 5, decision #7.)
|
|
7845
7853
|
*/
|
|
7846
7854
|
skuSegments?: SkuSegmentItem[];
|
package/dist/index.d.ts
CHANGED
|
@@ -22,8 +22,10 @@ declare const isWipGatedVideoGridMetricMode: (value: unknown, assemblyEnabled?:
|
|
|
22
22
|
interface SkuBreakdownItem {
|
|
23
23
|
/** UUID — `skus.id`. Stable identifier for selectors and threshold writes. */
|
|
24
24
|
sku_id: string;
|
|
25
|
-
/**
|
|
25
|
+
/** Technical code — `skus.sku_id` (e.g. `IMT_BIG`). */
|
|
26
26
|
sku_code: string;
|
|
27
|
+
/** User-facing label — `skus.display_name`, falling back to `sku_code`. */
|
|
28
|
+
sku_display_name?: string | null;
|
|
27
29
|
sku_definition: string;
|
|
28
30
|
is_dummy: boolean;
|
|
29
31
|
total_output: number;
|
|
@@ -44,6 +46,7 @@ interface SkuBreakdownItem {
|
|
|
44
46
|
interface SkuSegmentItem {
|
|
45
47
|
sku_id: string;
|
|
46
48
|
sku_code: string;
|
|
49
|
+
sku_display_name?: string | null;
|
|
47
50
|
start_time: string;
|
|
48
51
|
end_time: string | null;
|
|
49
52
|
pph_threshold: number;
|
|
@@ -52,6 +55,7 @@ interface SkuSegmentItem {
|
|
|
52
55
|
interface LineSkuBreakdownItem {
|
|
53
56
|
sku_id: string;
|
|
54
57
|
sku_code: string;
|
|
58
|
+
sku_display_name?: string | null;
|
|
55
59
|
is_dummy: boolean;
|
|
56
60
|
current_output: number;
|
|
57
61
|
ideal_output: number;
|
|
@@ -94,6 +98,7 @@ interface LineSkuBreakdownItem {
|
|
|
94
98
|
interface CurrentWorkspaceSKU {
|
|
95
99
|
sku_uuid: string;
|
|
96
100
|
sku_code: string;
|
|
101
|
+
sku_display_name?: string | null;
|
|
97
102
|
sku_definition: string;
|
|
98
103
|
start_time: string;
|
|
99
104
|
is_dummy: boolean;
|
|
@@ -1605,6 +1610,7 @@ interface SSEEvent {
|
|
|
1605
1610
|
interface SKU {
|
|
1606
1611
|
id: string;
|
|
1607
1612
|
sku_id: string;
|
|
1613
|
+
display_name?: string | null;
|
|
1608
1614
|
sku_definition: string;
|
|
1609
1615
|
company_id: string;
|
|
1610
1616
|
line_id: string;
|
|
@@ -5723,6 +5729,7 @@ declare const fetchLineDummySkuId: (supabase: {
|
|
|
5723
5729
|
interface SkuLookupRow {
|
|
5724
5730
|
id: string;
|
|
5725
5731
|
sku_id?: string | null;
|
|
5732
|
+
display_name?: string | null;
|
|
5726
5733
|
sku_definition?: string | null;
|
|
5727
5734
|
}
|
|
5728
5735
|
/**
|
|
@@ -5746,6 +5753,7 @@ declare const fetchLineSkuCatalog: (supabase: {
|
|
|
5746
5753
|
type LineSkuBreakdownBuiltItem = {
|
|
5747
5754
|
sku_id: string;
|
|
5748
5755
|
sku_code: string;
|
|
5756
|
+
sku_display_name?: string | null;
|
|
5749
5757
|
is_dummy: boolean;
|
|
5750
5758
|
current_output: number;
|
|
5751
5759
|
ideal_output: number;
|
|
@@ -7840,7 +7848,7 @@ interface HourlyOutputChartProps {
|
|
|
7840
7848
|
className?: string;
|
|
7841
7849
|
/**
|
|
7842
7850
|
* Optional SKU transition segments. When provided, vertical divider lines
|
|
7843
|
-
* with
|
|
7851
|
+
* with display labels are rendered at each transition. Backend already
|
|
7844
7852
|
* excludes dummy SKUs from this list. (Phase 5, decision #7.)
|
|
7845
7853
|
*/
|
|
7846
7854
|
skuSegments?: SkuSegmentItem[];
|