* chore: code split sagas and reducers index file * fix: update imports * chore: remove acl reducers file on ce * fix: code split reducers properly * chore: remove unnecessary import * chore: split root sagas file
12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
import { AppState } from "@appsmith/reducers";
|
|
|
|
type GetFormData = (
|
|
state: AppState,
|
|
apiId: string,
|
|
) => { label: string; value: string };
|
|
|
|
export const getDisplayFormat: GetFormData = (state, apiId) => {
|
|
const displayFormat = state.ui.apiPane.extraformData[apiId];
|
|
return displayFormat;
|
|
};
|