File tree Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ const logger = createLogger({
107
107
filter (mutation , stateBefore , stateAfter ) {
108
108
// retourne `true` si une mutation devrait être logguée
109
109
// `mutation` est un `{ type, payload }`
110
- return mutation .type !== " aBlacklistedMutation "
110
+ return mutation .type !== " aBlocklistedMutation "
111
111
},
112
112
transformer (state ) {
113
113
// transforme l'état avant de le logguer.
Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ const logger = createLogger({
107
107
filter (mutation , stateBefore , stateAfter ) {
108
108
// returns `true` if a mutation should be logged
109
109
// `mutation` is a `{ type, payload }`
110
- return mutation .type !== " aBlacklistedMutation "
110
+ return mutation .type !== " aBlocklistedMutation "
111
111
},
112
112
actionFilter (action , state ) {
113
113
// same as `filter` but for actions
114
114
// `action` is a `{ type, payload }`
115
- return action .type !== " aBlacklistedAction "
115
+ return action .type !== " aBlocklistedAction "
116
116
},
117
117
transformer (state ) {
118
118
// transform the state before logging it.
Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ const logger = createLogger({
107
107
filter (mutation , stateBefore , stateAfter ) {
108
108
// ミューテーションを記録する必要がある場合は、`true` を返します
109
109
// `mutation` は `{ type, payload }` です
110
- return mutation .type !== " aBlacklistedMutation "
110
+ return mutation .type !== " aBlocklistedMutation "
111
111
},
112
112
actionFilter (action , state ) {
113
113
// `filter` と同等ですが、アクション用です
114
114
// `action` は `{ type, payloed }` です
115
- return action .type !== " aBlacklistedAction "
115
+ return action .type !== " aBlocklistedAction "
116
116
},
117
117
transformer (state ) {
118
118
// ロギングの前に、状態を変換します
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ const logger = createLogger({
108
108
filter (mutation , stateBefore , stateAfter ) {
109
109
// 변이시 항상 로깅해야 한다면 true 를 반환하십시오.
110
110
// 변이는 { type, payload }의 포맷입니다.
111
- return mutation .type !== " aBlacklistedMutation "
111
+ return mutation .type !== " aBlocklistedMutation "
112
112
},
113
113
transformer (state ) {
114
114
// 로깅하기전 상태를 변이 하십시오.
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ const logger = createLogger({
107
107
filter (mutation , stateBefore , stateAfter ) {
108
108
// retorna `true` se uma mutação deve ser registrada no log
109
109
// `mutation` é um `{ type, payload }`
110
- return mutation .type !== " aBlacklistedMutation "
110
+ return mutation .type !== " aBlocklistedMutation "
111
111
},
112
112
transformer (state ) {
113
113
// transforma o estado antes de regitrá-lo no log.
Original file line number Diff line number Diff line change @@ -105,12 +105,12 @@ const logger = createLogger({
105
105
filter (mutation , stateBefore , stateAfter ) {
106
106
// возвращает `true`, если мутация должна быть залогирована
107
107
// `mutation` — это объект `{ type, payload }`
108
- return mutation .type !== ' aBlacklistedMutation ' ;
108
+ return mutation .type !== ' aBlocklistedMutation ' ;
109
109
},
110
110
actionFilter (action , state ) {
111
111
// аналогично `filter`, но для действий
112
112
// `action` будет объектом `{ type, payload }`
113
- return action .type !== ' aBlacklistedAction '
113
+ return action .type !== ' aBlocklistedAction '
114
114
},
115
115
transformer (state ) {
116
116
// обработать состояние перед логированием
Original file line number Diff line number Diff line change @@ -107,12 +107,12 @@ const logger = createLogger({
107
107
filter (mutation , stateBefore , stateAfter ) {
108
108
// 若 mutation 需要被记录,就让它返回 true 即可
109
109
// 顺便,`mutation` 是个 { type, payload } 对象
110
- return mutation .type !== " aBlacklistedMutation "
110
+ return mutation .type !== " aBlocklistedMutation "
111
111
},
112
112
actionFilter (action , state ) {
113
113
// 和 `filter` 一样,但是是针对 action 的
114
114
// `action` 的格式是 `{ type, payload }`
115
- return action .type !== " aBlacklistedAction "
115
+ return action .type !== " aBlocklistedAction "
116
116
},
117
117
transformer (state ) {
118
118
// 在开始记录之前转换状态
You can’t perform that action at this time.
0 commit comments