Skip to content

Commit 592f0c8

Browse files
committed
refactor: Update import statements in Policy.Types.ts
1 parent 176073f commit 592f0c8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Common/Policy.Types.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17+
import { PipelineFormType } from '@Pages/CDPipeline'
1718
import { PluginDataStoreType, PluginDetailPayloadType, ResourceKindType } from '../Shared'
18-
import { FormType, VariableType } from './CIPipeline.Types'
19+
import { VariableType } from './CIPipeline.Types'
1920
import { ServerErrors } from './ServerError'
2021

2122
export enum ApplyPolicyToStage {
@@ -86,14 +87,14 @@ export type ProcessPluginDataCDParamsType = {
8687
}
8788

8889
export type ProcessPluginDataParamsType = {
89-
formData: FormType
90+
formData: PipelineFormType
9091
pluginDataStoreState: PluginDataStoreType
9192
appId: number
9293
appName: string
9394
/**
9495
* Would be sent in case we have to get data for steps
9596
*/
96-
requiredPluginIds: PluginDetailPayloadType['pluginId']
97+
requiredPluginIds?: PluginDetailPayloadType['pluginId']
9798
} & (ProcessPluginDataCIParamsType | ProcessPluginDataCDParamsType)
9899

99100
export enum ConsequenceAction {

0 commit comments

Comments
 (0)