@gingkoo/pandora-metabase 1.0.141-alpha.4 → 1.0.141-alpha.5
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.
|
@@ -631,8 +631,8 @@ var FormulaList = (0, _react.forwardRef)(function (props, ref) {
|
|
|
631
631
|
_context2.prev = 2;
|
|
632
632
|
_context2.next = 3;
|
|
633
633
|
return store.getFormulaDiffCode({
|
|
634
|
-
|
|
635
|
-
|
|
634
|
+
oldCode: getInitialFormulaValue(),
|
|
635
|
+
newCode: getCurrentFormulaValue()
|
|
636
636
|
});
|
|
637
637
|
case 3:
|
|
638
638
|
result = _context2.sent;
|
package/lib/cjs/types.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ export type FormulaDiffCodeResult = string | {
|
|
|
23
23
|
[key: string]: any;
|
|
24
24
|
};
|
|
25
25
|
export interface FormulaDiffCodeParams {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
oldCode: AtomsItem[];
|
|
27
|
+
newCode: AtomsItem[];
|
|
28
28
|
}
|
|
29
29
|
export interface MetabaseProps {
|
|
30
30
|
loading?: boolean;
|
|
@@ -622,8 +622,8 @@ var FormulaList = forwardRef(function (props, ref) {
|
|
|
622
622
|
_context2.prev = 2;
|
|
623
623
|
_context2.next = 3;
|
|
624
624
|
return store.getFormulaDiffCode({
|
|
625
|
-
|
|
626
|
-
|
|
625
|
+
oldCode: getInitialFormulaValue(),
|
|
626
|
+
newCode: getCurrentFormulaValue()
|
|
627
627
|
});
|
|
628
628
|
case 3:
|
|
629
629
|
result = _context2.sent;
|
package/lib/es/types.d.ts
CHANGED
|
@@ -23,8 +23,8 @@ export type FormulaDiffCodeResult = string | {
|
|
|
23
23
|
[key: string]: any;
|
|
24
24
|
};
|
|
25
25
|
export interface FormulaDiffCodeParams {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
oldCode: AtomsItem[];
|
|
27
|
+
newCode: AtomsItem[];
|
|
28
28
|
}
|
|
29
29
|
export interface MetabaseProps {
|
|
30
30
|
loading?: boolean;
|