parent
e01cd1b911
commit
4eb651a159
33 changed files with 451 additions and 277 deletions
After Width: | Height: | Size: 24 KiB |
@ -1,28 +1,33 @@ |
|||||||
interface list { |
interface list { |
||||||
type : "faq/list" |
type: "faq/list"; |
||||||
data : any |
data: any; |
||||||
} |
} |
||||||
|
|
||||||
interface add { |
interface add { |
||||||
type : "faq/add" |
type: "faq/add"; |
||||||
data : any |
data: any; |
||||||
} |
} |
||||||
|
|
||||||
interface selectFaq{ |
interface selectFaq { |
||||||
type : "faq/selectFaq" |
type: "faq/selectFaq"; |
||||||
data : any |
data: any; |
||||||
} |
} |
||||||
|
|
||||||
interface error{ |
interface searchFaq { |
||||||
type : "faq/error" |
type: "faq/search"; |
||||||
data : undefined |
data: any; |
||||||
} |
} |
||||||
|
|
||||||
interface loading{ |
interface error { |
||||||
type : "faq/loading" |
type: "faq/error"; |
||||||
data : undefined |
data: undefined; |
||||||
} |
} |
||||||
|
|
||||||
type FaqAction = list | add | selectFaq | loading | error; |
interface loading { |
||||||
|
type: "faq/loading"; |
||||||
|
data: undefined; |
||||||
|
} |
||||||
|
|
||||||
|
type FaqAction = list | searchFaq | add | selectFaq | loading | error; |
||||||
|
|
||||||
export default FaqAction; |
export default FaqAction; |
||||||
|
Loading…
Reference in new issue