export default {
NOT_DEFINED_NAMESPACE: () => ({
CN: `[teeMo.model] 应该定义 namespace`,
EN: `[teeMo.model] namespace should be defined`
}),
NAMESPACE_TYPE_SHOULD_BE_STRING: (type) => ({
CN: `[teeMo.model] namespace必须是string类型,当前namespace的类型是 [${type}]`,
EN: `[teeMo.model] namespace should be string,the current namespace type is [${type}]`
}),
NAMESPACE_SHOULD_BE_UNIQUE: () => ({
CN: `[teeMo.model] namespace必须唯一`,
EN: `[teeMo.model] namespace should be unique`
}),
REDUCERS_BE_PLAIN_OBJECT: (type) => ({
CN: `[teeMo.model] reducers必须是一个普通的javaScript对象,当前的reducer的类型是 [${type}]`,
EN: `[teeMo.model] reducers should be plain object,the current reducer type is [${type}]`
}),
EFFECTS_BE_PLAIN_OBJECT: (type) => ({
CN: `[teeMo.model] effects必须是一个普通的javaScript对象,当前的effect的类型是 [${type}]`,
EN: `[teeMo.model] effects should be plain object,the current effect type is [${type}]`
}),
CAN_NOT_BE_DEL_DEFAULT_MODEL: (namespace) => ({
CN: `[teeMo.delModel] 不可以删除一个系统默认的model , 当前传入期望删除的model的namespace为 [${namespace}] `,
EN: `[teeMo.delModel] cannot delete a system default model; the namespace of the model that is currently passed in to be deleted is [${namespace}]`
}),
STORE_IS_NOT_STARTED:() => ({
CN:`[teeMo.Store] 数据仓库尚未启动!`,
EN:`[teeMo.Store] the data warehouse has not started yet!`
}),
STORE_IS_STARTED:() => ({
CN:`[teeMo.Store] 数据仓库已经启动!`,
EN:`[teeMo.Store] the data warehouse has started!`
})
} |