feat: code format

This commit is contained in:
xingyuv
2023-02-06 11:40:03 +08:00
parent 0486ec9d30
commit 1bb66e6783
49 changed files with 1021 additions and 1122 deletions

View File

@ -1,10 +1,10 @@
export default (key, name, type) => {
if (!type) type = "camunda";
if (!type) type = 'camunda'
const TYPE_TARGET = {
activiti: "http://activiti.org/bpmn",
camunda: "http://bpmn.io/schema/bpmn",
flowable: "http://flowable.org/bpmn"
};
activiti: 'http://activiti.org/bpmn',
camunda: 'http://bpmn.io/schema/bpmn',
flowable: 'http://flowable.org/bpmn'
}
return `<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -20,5 +20,5 @@ export default (key, name, type) => {
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="${key}">
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>`;
};
</bpmn2:definitions>`
}