Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions libs/designer-v2/src/lib/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ export default {
EXPRESSION: 'expression',
FLAT_FILE_DECODING: 'flatfiledecoding',
FLAT_FILE_ENCODING: 'flatfileencoding',
FLAT_FILE_SCHEMA_GENERATION: 'flatfileschemageneration',
FOREACH: 'foreach',
FUNCTION: 'function',
HANDOFF: 'agenthandoff',
Expand Down Expand Up @@ -804,6 +805,7 @@ export default {
EXPRESSION: 'Expression',
FLAT_FILE_DECODING: 'FlatFileDecoding',
FLAT_FILE_ENCODING: 'FlatFileEncoding',
FLAT_FILE_SCHEMA_GENERATION: 'FlatFileSchemaGeneration',
FOREACH: 'Foreach',
FUNCTION: 'Function',
HTTP: 'Http',
Expand Down
2 changes: 2 additions & 0 deletions libs/designer/src/lib/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ export default {
EXPRESSION: 'expression',
FLAT_FILE_DECODING: 'flatfiledecoding',
FLAT_FILE_ENCODING: 'flatfileencoding',
FLAT_FILE_SCHEMA_GENERATION: 'flatfileschemageneration',
FOREACH: 'foreach',
FUNCTION: 'function',
HANDOFF: 'agenthandoff',
Expand Down Expand Up @@ -813,6 +814,7 @@ export default {
EXPRESSION: 'Expression',
FLAT_FILE_DECODING: 'FlatFileDecoding',
FLAT_FILE_ENCODING: 'FlatFileEncoding',
FLAT_FILE_SCHEMA_GENERATION: 'FlatFileSchemaGeneration',
FOREACH: 'Foreach',
FUNCTION: 'Function',
HTTP: 'Http',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const xmlcompose = 'xmlcompose';
const xmlparse = 'xmlparse';
export const flatfiledecoding = 'flatfiledecoding';
export const flatfileencoding = 'flatfileencoding';
const flatfileschemageneration = 'flatfileschemageneration';
Copy link

Copilot AI Mar 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flatfileschemageneration is introduced as a non-exported const, while the sibling flat file operation type constants (flatfiledecoding, flatfileencoding) are exported and referenced from other modules (e.g., static result schema logic). To keep the API consistent and avoid future string duplication, consider exporting flatfileschemageneration as well.

Suggested change
const flatfileschemageneration = 'flatfileschemageneration';
export const flatfileschemageneration = 'flatfileschemageneration';

Copilot uses AI. Check for mistakes.
const swiftdecode = 'swiftdecode';
const swiftencode = 'swiftencode';
const swiftmtdecode = 'swiftmtdecode';
Expand Down Expand Up @@ -215,6 +216,7 @@ export const supportedBaseManifestTypes = [
xmlparse,
flatfiledecoding,
flatfileencoding,
flatfileschemageneration,
scope,
swiftdecode,
swiftencode,
Expand Down Expand Up @@ -350,6 +352,7 @@ export function isBuiltInOperation(definition: any): boolean {
case xmlvalidation:
case flatfiledecoding:
case flatfileencoding:
case flatfileschemageneration:
case scope:
case swiftdecode:
case swiftencode:
Expand Down Expand Up @@ -693,6 +696,10 @@ const builtInOperationsMetadata: Record<string, OperationInfo> = {
connectorId: 'connectionProviders/flatFileOperations',
operationId: 'flatFileEncoding',
},
[flatfileschemageneration]: {
connectorId: 'connectionProviders/flatFileOperations',
operationId: 'flatFileSchemaGeneration',
},
[scope]: {
connectorId: controlConnectorId,
operationId: scope,
Expand Down
Loading