docs: publish business instruction 0.5.127
This commit is contained in:
1 parent
75b9f2ede9
commit
c97bea3239
18 files changed
+234
-50
No files matched your search
@@ -76,7 +76,7 @@ export function effectiveParserModeForRoute(route: BusinessRouteDefinition, conf
|
||||
}
|
||||
|
||||
const PROGRAM_VERSION = 'ltjt-program-parser-v1.0.7';
|
||||
export const BUSINESS_INPUT_CONTRACT_VERSION = 'business-input-templates-0.5.126';
|
||||
export const BUSINESS_INPUT_CONTRACT_VERSION = 'business-input-templates-0.5.127';
|
||||
|
||||
const lookupFields = ({ customerRequired = true } = {}): ProgramFieldDefinition[] => [
|
||||
{ key: 'order_no', label: '单号', aliases: ['团号', '订单号'], kind: 'text' },
|
||||
|
||||
@@ -170,11 +170,10 @@ test('machine routes stay synchronized with their declared Program or Agent boun
|
||||
for (const route of BUSINESS_ROUTES) {
|
||||
const directivePattern = new RegExp(route.directive.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'));
|
||||
const actionPattern = new RegExp(route.action.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'));
|
||||
assert.match(template, directivePattern, route.routeId);
|
||||
if (route.routeId === 'shared_child_order_batch_create') {
|
||||
assert.doesNotMatch(template, directivePattern, 'Program-only batch route must not be added to the Agent/operator template');
|
||||
assert.doesNotMatch(registry, actionPattern, 'Program-only batch route must not be added to the Agent adaptation registry');
|
||||
} else {
|
||||
assert.match(template, directivePattern, route.routeId);
|
||||
assert.match(registry, actionPattern, route.routeId);
|
||||
}
|
||||
assert.match(`${initialMigration}\n${batchMigration}`, new RegExp(`'${route.routeId}'`), route.routeId);
|
||||
|
||||
Reference in new issue
Block a user