File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ import * as rnf_invoice_0_0_3 from './rnf_invoice/rnf_invoice-0.0.3.json';
44
55// Re-export the JSON files structured by format and version.
66// NB: A dynamic require (require(`${format}/${format}-${version}.json`)) would prevent tree-shaking
7- const formats : Record < string , Record < string , any > > = {
7+ export const formats : Record < string , Record < string , any > > = {
88 rnf_invoice : {
99 '0.0.1' : rnf_invoice_0_0_1 ,
1010 '0.0.2' : rnf_invoice_0_0_2 ,
1111 '0.0.3' : rnf_invoice_0_0_3 ,
1212 } ,
1313} ;
14- export default formats ;
Original file line number Diff line number Diff line change 11import * as AJV from 'ajv' ;
22import * as jsonSchema from 'ajv/lib/refs/json-schema-draft-06.json' ;
33import * as schemaAddress from './format/address.json' ;
4- import formats from './format' ;
4+ import { formats } from './format' ;
55
66/**
77 * validation of data
You can’t perform that action at this time.
0 commit comments