Skip to content

Commit

Permalink
Fix import for ElementDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
epi-qang2 committed Jul 19, 2024
1 parent f44c70a commit 4d9da35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/@episerver/forms-react/src/context/reducer.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { equals,
FormState,
FormSubmission,
FormValidationResult,
StepDependencies} from "@episerver/forms-sdk";
import { ElementDependencies } from "@episerver/forms-sdk/dist/models/states/ElementDependencies";
FormValidationResult,
ElementDependencies } from "@episerver/forms-sdk";


export enum ActionType {
UpdateValue = "UpdateValue",
Expand Down
3 changes: 1 addition & 2 deletions src/@episerver/forms-sdk/src/helpers/initFormState.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { FormCache } from "../form-cache";
import { StepHelper } from "./stepHelper";
import { FormStorage } from "../form-storage";
import { FormConstants, FormContainer, FormState, FormSubmission, FormValidationResult, StepDependencies } from "../models";
import { ElementDependencies, FormConstants, FormContainer, FormState, FormSubmission, FormValidationResult, StepDependencies } from "../models";
import { getDefaultValue } from "./elementHelper";
import { equals, isNullOrEmpty } from "./utils";
import { ElementDependencies } from "../models/states/ElementDependencies";

/**
* Function to initialize FormState object
Expand Down
3 changes: 2 additions & 1 deletion src/@episerver/forms-sdk/src/models/states/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export * from "./FormState";
export * from "./FormSubmission";
export * from "./FormValidation";
export * from "./StepDependencies";
export * from "./StepDependencies";
export * from "./ElementDependencies";

0 comments on commit 4d9da35

Please sign in to comment.