|
|
@@ -27,7 +27,10 @@ export const actions = {
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- async ['apigateway:apilist:load']({ state, commit }, { force = false}) {
|
|
|
+ async ['apigateway:apilist:load']({ state, commit }, opts?: {
|
|
|
+ force: boolean
|
|
|
+ }) {
|
|
|
+ const { force = false } = opts || {}
|
|
|
if (!force && state.apiList && Date.now() - state.apiListLastUpdatedAt < 60000) {
|
|
|
return
|
|
|
}
|