Update data onboarding selector types

This commit is contained in:
Chi-Hsuan Huang 2022-04-21 12:44:35 +08:00
parent 71e9073c0b
commit 8a1c684f55
2 changed files with 7 additions and 0 deletions

View File

@ -103,6 +103,8 @@ export type OnboardingSelectors = {
ids: string[]
) => ReturnType< typeof getTaskListsByIds >;
getTaskLists: () => ReturnType< typeof getTaskLists >;
getTaskList: ( id: string ) => ReturnType< typeof getTaskList >;
getFreeExtensions: () => ReturnType< typeof getFreeExtensions >;
} & WPDataSelectors;
export type OnboardingState = {

View File

@ -20,6 +20,11 @@ export type TaskType = {
isActioned: boolean;
eventPrefix: string;
level: number;
additionalData?: {
woocommerceTaxCountries?: string[];
taxJarActivated?: boolean;
avalaraActivated?: boolean;
};
};
export type TaskListSection = {