oak-general-business/lib/entities/WechatPublicTag.js

54 lines
1.3 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
;
const IActionDef = {
stm: {
success: [['wait', 'fail'], 'success'],
fail: [['wait', 'success'], 'fail']
},
is: 'wait',
};
const entityDesc = {
locales: {
zh_CN: {
name: '公众号标签',
attr: {
text: 'tag名',
application: '关联应用',
wechatId: '微信端id',
sync: '同步状态',
syncAt: '同步时间',
iState: '状态',
},
action: {
sync: '同步',
success: '成功',
fail: '失败'
},
v: {
iState: {
wait: '待同步',
success: '同步成功',
fail: '同步失败',
}
}
},
},
// indexes: [
// {
// name: 'index_text_application',
// attributes: [
// {
// name: 'text',
// },
// {
// name: 'application',
// },
// ],
// config: {
// unique: true,
// },
// },
// ],
};