How to write contents of inferred types to C3 type files?


I have contents of the inferred types that are generated from File. inferType() as a InferTypeResult type. How can I write them to C3 type files and download them?

1 Like

To download the C3 type file for dsl:

c3DL(myInferTypeResult.dsl, 'plain/text', 'XXX.c3typ')

To download the C3 type files for refDsls:, function(value, key){ 
  c3DL(value, 'plain/text', key+'.c3typ')
1 Like
Load XML after creating types form inferType
How to generate source types for XML?