@resolveio/server-lib 22.2.48 → 22.2.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/collections/report-builder-report.collection.ts"],"names":[],"mappings":";;;AAAA,2DAAsF;AAEtF,gEAA0D;AAE1D,IAAI,MAAM,GAAQ;IACjB,GAAG,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,GAAG,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACV,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACV,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;KACd;IACD,eAAe,EAAE;QAChB,IAAI,EAAE,MAAM;KACZ;IACD,gBAAgB,EAAE;QACjB,IAAI,EAAE,KAAK;QACX,QAAQ,EAAE,IAAI;KACd;IACD,oBAAoB,EAAE;QACrB,IAAI,EAAE,MAAM;KACZ;IACD,+BAA+B,EAAE;QAChC,IAAI,EAAE,MAAM;KACZ;IACD,0BAA0B,EAAE;QAC3B,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,8BAA8B,EAAE;QAC/B,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,gCAAgC,EAAE;QACjC,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,WAAW,EAAE;QACZ,IAAI,EAAE,MAAM;KACZ;IACD,WAAW,EAAE;QACZ,IAAI,EAAE,KAAK;KACX;IACD,eAAe,EAAE;QAChB,IAAI,EAAE,MAAM;KACZ;IACD,qBAAqB,EAAE;QACtB,IAAI,EAAE,MAAM;KACZ;IACD,qBAAqB,EAAE;QACtB,IAAI,EAAE,MAAM;KACZ;IACD,aAAa,EAAE;Q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AAM;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;KACd;IACD,aAAa,EAAE;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;IACD,aAAa,EAAE;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAES,QAAA,oBAAoB,GAAqD,IAAI,CAAC;AAC9E,QAAA,2BAA2B,GAAqD,IAAI,CAAC;AAEhG,oBAAoB,EAAE,CAAC;AAEvB,SAAS,oBAAoB;IAC5B,IAAI,sCAAe,IAAI,sCAAe,CAAC,SAAS,EAAE,IAAI,iCAAiB,EAAE,CAAC;QACzE,IAAM,KAAK,GAAG,iCAAiB,CAAC,MAAM,CAA2B;YAChE,cAAc,EAAE,wBAAwB;YACxC,MAAM,EAAE,MAAM;YACd,oBAAoB,EAAE,IAAI;YAC1B,gBAAgB,EAAE,KAAK;YACvB,yBAAyB,EAAE,EAAE;YAC7B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,IAAI;YAChB,WAAW,EAAE,IAAI;YACjB,iBAAiB,EAAE,IAAI;SACvB,CAAC,CAAC;QACH,4BAAoB,GAAG,KAAK,CAAC,eAAe,CAAC;QAC7C,4BAAoB,CAAC,WAAW,CAAC,EAAC,OAAO,EAAE,CAAC,EAAC,CAAC,CAAC;QAC/C,4BAAoB,CAAC,WAAW,CAAC,EAAC,YAAY,EAAE,CAAC,EAAC,CAAC,CAAC;QACpD,4BAAoB,CAAC,WAAW,CAAC,EAAC,WAAW,EAAE,CAAC,EAAE,eAAe,EAAE,CAAC,EAAC,CAAC,CAAC;QACvE,mCAA2B,GAAG,KAAK,CAAC,kBAAkB,CAAC;IACxD,CAAC;SACI,CAAC;QACL,YAAY,CAAC;YACZ,oBAAoB,EAAE,CAAC;QACxB,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC","file":"report-builder-report.collection.js","sourcesContent":["import { MongoManagerCollection, MongoManagerModel } from '../managers/mongo.manager';\nimport { ReportBuilderReportModel } from '../models/report-builder-report.model';\nimport { ResolveIOServer } from '../resolveio-server-app';\n\nlet schema: any = {\n\t_id: {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\t__v: {\n\t\ttype: Number,\n\t\toptional: true\n\t},\n\tupdatedAt: {\n\t\ttype: Date,\n\t\toptional: true\n\t},\n\tcreatedAt: {\n\t\ttype: Date,\n\t\toptional: true\n\t},\n\tcollection_root: {\n\t\ttype: String\n\t},\n\tcollection_joins: {\n\t\ttype: Array,\n\t\toptional: true\n\t},\n\t'collection_joins.$': {\n\t\ttype: Object\n\t},\n\t'collection_joins.$.collection': {\n\t\ttype: String\n\t},\n\t'collection_joins.$.alias': {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\t'collection_joins.$.local_key': {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\t'collection_joins.$.foreign_key': {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\treport_name: {\n\t\ttype: String\n\t},\n\tfields_sort: {\n\t\ttype: Array\n\t},\n\t'fields_sort.$': {\n\t\ttype: Object\n\t},\n\t'fields_sort.$.field': {\n\t\ttype: String\n\t},\n\t'fields_sort.$.order': {\n\t\ttype: String\n\t},\n\tfields_filter: {\n\t\ttype: Array\n\t},\n\t'fields_filter.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tfields_custom: {\n\t\ttype: Array\n\t},\n\t'fields_custom.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tfields_selected: {\n\t\ttype: Array\n\t},\n\t'fields_selected.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tfields_total: {\n\t\ttype: Array\n\t},\n\t'fields_total.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tfields_link: {\n\t\ttype: Array\n\t},\n\t'fields_link.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tid_user: {\n\t\ttype: String\n\t},\n\tuser: {\n\t\ttype: String\n\t},\n\tdate_created: {\n\t\ttype: Date\n\t},\n\tshared_users: {\n\t\ttype: Array\n\t},\n\t'shared_users.$': {\n\t\ttype: String\n\t},\n\ttype: {\n\t\ttype: String\n\t},\n\tgroups_row: {\n\t\ttype: Array\n\t},\n\t'groups_row.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tgroups_column: {\n\t\ttype: Array\n\t},\n\t'groups_column.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tgroup_type: {\n\t\ttype: String\n\t},\n\tfields_layout: {\n\t\ttype: Array,\n\t\toptional: true\n\t},\n\t'fields_layout.$': {\n\t\ttype: Object,\n\t\tblackbox: true,\n\t\toptional: true\n\t},\n\tid_date_field: {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\tdate_interval: {\n\t\ttype: String,\n\t\toptional: true\n\t}\n};\n\nexport let ReportBuilderReports: MongoManagerCollection<ReportBuilderReportModel> = null;\nexport let ReportBuilderReportVersions: MongoManagerCollection<ReportBuilderReportModel> = null;\n\ninitializeCollection();\n\nfunction initializeCollection() {\n\tif (ResolveIOServer && ResolveIOServer.getMainDB() && MongoManagerModel) {\n\t\tconst model = MongoManagerModel.create<ReportBuilderReportModel>({\n\t\t\tcollectionName: 'report-builder-reports',\n\t\t\tschema: schema,\n\t\t\tuseVersionCollection: true,\n\t\t\tuseReportBuilder: false,\n\t\t\treportBuilderLookupTables: [],\n\t\t\ttimestamps: true,\n\t\t\tcreateLogs: true,\n\t\t\tcheckSchema: true,\n\t\t\tcollectionOptions: null\n\t\t});\n\t\tReportBuilderReports = model.collection_main;\n\t\tReportBuilderReports.createIndex({id_user: 1});\n\t\tReportBuilderReports.createIndex({shared_users: 1});\n\t\tReportBuilderReports.createIndex({report_name: 1, collection_root: 1});\n\t\tReportBuilderReportVersions = model.collection_version;\n\t}\n\telse {\n\t\tsetImmediate(() => {\n\t\t\tinitializeCollection();\n\t\t});\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/collections/report-builder-report.coll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AQ,EAAE,IAAI;KACd;IACD,aAAa,EAAE;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAES,QAAA,oBAAoB,GAAqD,IAAI,CAAC;AAC9E,QAAA,2BAA2B,GAAqD,IAAI,CAAC;AAEhG,oBAAoB,EAAE,CAAC;AAEvB,SAAS,oBAAoB;IAC5B,IAAI,sCAAe,IAAI,sCAAe,CAAC,SAAS,EAAE,IAAI,iCAAiB,EAAE,CAAC;QACzE,IAAM,KAAK,GAAG,iCAAiB,CAAC,MAAM,CAA2B;YAChE,cAAc,EAAE,wBAAwB;YACxC,MAAM,EAAE,MAAM;YACd,oBAAoB,EAAE,IAAI;YAC1B,gBAAgB,EAAE,KAAK;YACvB,yBAAyB,EAAE,EAAE;YAC7B,UAAU,EAAE,IAAI;YAChB,UAAU,EAAE,IAAI;YAChB,WAAW,EAAE,IAAI;YACjB,iBAAiB,EAAE,IAAI;SACvB,CAAC,CAAC;QACH,4BAAoB,GAAG,KAAK,CAAC,eAAe,CAAC;QAC7C,4BAAoB,CAAC,WAAW,CAAC,EAAC,OAAO,EAAE,CAAC,EAAC,CAAC,CAAC;QAC/C,4BAAoB,CAAC,WAAW,CAAC,EAAC,YAAY,EAAE,CAAC,EAAC,CAAC,CAAC;QACpD,4BAAoB,CAAC,WAAW,CAAC,EAAC,WAAW,EAAE,CAAC,EAAE,eAAe,EAAE,CAAC,EAAC,CAAC,CAAC;QACvE,mCAA2B,GAAG,KAAK,CAAC,kBAAkB,CAAC;IACxD,CAAC;SACI,CAAC;QACL,YAAY,CAAC;YACZ,oBAAoB,EAAE,CAAC;QACxB,CAAC,CAAC,CAAC;IACJ,CAAC;AACF,CAAC","file":"report-builder-report.collection.js","sourcesContent":["import { MongoManagerCollection, MongoManagerModel } from '../managers/mongo.manager';\nimport { ReportBuilderReportModel } from '../models/report-builder-report.model';\nimport { ResolveIOServer } from '../resolveio-server-app';\n\nlet schema: any = {\n\t_id: {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\t__v: {\n\t\ttype: Number,\n\t\toptional: true\n\t},\n\tupdatedAt: {\n\t\ttype: Date,\n\t\toptional: true\n\t},\n\tcreatedAt: {\n\t\ttype: Date,\n\t\toptional: true\n\t},\n\tcollection_root: {\n\t\ttype: String\n\t},\n\tcollection_joins: {\n\t\ttype: Array,\n\t\toptional: true\n\t},\n\t'collection_joins.$': {\n\t\ttype: Object\n\t},\n\t'collection_joins.$.collection': {\n\t\ttype: String\n\t},\n\t'collection_joins.$.alias': {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\t'collection_joins.$.local_key': {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\t'collection_joins.$.foreign_key': {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\treport_name: {\n\t\ttype: String\n\t},\n\tfields_sort: {\n\t\ttype: Array\n\t},\n\t'fields_sort.$': {\n\t\ttype: Object\n\t},\n\t'fields_sort.$.field': {\n\t\ttype: String\n\t},\n\t'fields_sort.$.order': {\n\t\ttype: String\n\t},\n\tfields_filter: {\n\t\ttype: Array\n\t},\n\t'fields_filter.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tfields_custom: {\n\t\ttype: Array\n\t},\n\t'fields_custom.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tfields_selected: {\n\t\ttype: Array\n\t},\n\t'fields_selected.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tfields_total: {\n\t\ttype: Array\n\t},\n\t'fields_total.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tfields_link: {\n\t\ttype: Array\n\t},\n\t'fields_link.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tid_user: {\n\t\ttype: String\n\t},\n\tuser: {\n\t\ttype: String\n\t},\n\tdate_created: {\n\t\ttype: Date\n\t},\n\tactive: {\n\t\ttype: Boolean,\n\t\toptional: true\n\t},\n\tshared_users: {\n\t\ttype: Array\n\t},\n\t'shared_users.$': {\n\t\ttype: String\n\t},\n\ttype: {\n\t\ttype: String\n\t},\n\tgroups_row: {\n\t\ttype: Array\n\t},\n\t'groups_row.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tgroups_column: {\n\t\ttype: Array\n\t},\n\t'groups_column.$': {\n\t\ttype: Object,\n\t\tblackbox: true\n\t},\n\tgroup_type: {\n\t\ttype: String\n\t},\n\tfields_layout: {\n\t\ttype: Array,\n\t\toptional: true\n\t},\n\t'fields_layout.$': {\n\t\ttype: Object,\n\t\tblackbox: true,\n\t\toptional: true\n\t},\n\tid_date_field: {\n\t\ttype: String,\n\t\toptional: true\n\t},\n\tdate_interval: {\n\t\ttype: String,\n\t\toptional: true\n\t}\n};\n\nexport let ReportBuilderReports: MongoManagerCollection<ReportBuilderReportModel> = null;\nexport let ReportBuilderReportVersions: MongoManagerCollection<ReportBuilderReportModel> = null;\n\ninitializeCollection();\n\nfunction initializeCollection() {\n\tif (ResolveIOServer && ResolveIOServer.getMainDB() && MongoManagerModel) {\n\t\tconst model = MongoManagerModel.create<ReportBuilderReportModel>({\n\t\t\tcollectionName: 'report-builder-reports',\n\t\t\tschema: schema,\n\t\t\tuseVersionCollection: true,\n\t\t\tuseReportBuilder: false,\n\t\t\treportBuilderLookupTables: [],\n\t\t\ttimestamps: true,\n\t\t\tcreateLogs: true,\n\t\t\tcheckSchema: true,\n\t\t\tcollectionOptions: null\n\t\t});\n\t\tReportBuilderReports = model.collection_main;\n\t\tReportBuilderReports.createIndex({id_user: 1});\n\t\tReportBuilderReports.createIndex({shared_users: 1});\n\t\tReportBuilderReports.createIndex({report_name: 1, collection_root: 1});\n\t\tReportBuilderReportVersions = model.collection_version;\n\t}\n\telse {\n\t\tsetImmediate(() => {\n\t\t\tinitializeCollection();\n\t\t});\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/models/report-builder-report.model.ts"],"names":[],"mappings":"","file":"report-builder-report.model.js","sourcesContent":["import { CollectionDocument } from '../models/collection-document.model';\n\nexport interface ReportBuilderCollectionJoin {\n\tcollection: string;\n\talias?: string;\n\tlocal_key?: string;\n\tforeign_key?: string;\n}\n\nexport interface ReportBuilderReportModel extends CollectionDocument {\n\tcollection_root: string;\n\tcollection_joins?: ReportBuilderCollectionJoin[];\n\treport_name: string;\n\tfields_sort: ReportBuilderReportFieldsSort[];\n\tfields_filter: ReportBuilderReportFieldsFilterOrs[];\n\tfields_custom?: ReportBuilderReportCustomField[];\n\tfields_selected: ReportBuilderReportFieldsSelected[];\n\tfields_total: ReportBuilderReportFieldsTotal[];\n\tfields_link: ReportBuilderReportFieldsLink[];\n\tid_user: string;\n\tuser: string;\n\tdate_created: Date;\n\tshared_users: string[];\n\ttype: ReportBuilderReportType;\n\tgroup_type: string;\n\tgroups_row: ReportBuilderGroupsRow[];\n\tgroups_column: ReportBuilderGroupsRow[];\n\tid_date_field?: string;\n\tdate_interval?: string;\n\tfields_layout?: ReportBuilderLayoutColumn[];\n}\n\nexport interface ReportBuilderReportFieldsLink {\n\tfield_first: string;\n\tfield_second: string;\n\tid: number;\n}\n\nexport interface ReportBuilderReportFieldsTotal {\n\ttype: string;\n\tfields: string[];\n\tid: number;\n}\n\nexport interface ReportBuilderGroupsRow {\n\tfield: string;\n\tfieldPathName: string;\n\tid: string;\n\tcolumnName: string;\n\tfill_color?: string;\n\tfont_color?: string;\n\ttreeItem?: any;\n}\n\nexport type ReportBuilderReportType = 'List' | 'Group' | 'Dated';\n\nexport interface ReportBuilderReportFieldsSort { \n\tfield: string;\n\torder: string;\n}\n\nexport interface ReportBuilderReportFieldsFilterOrs {\n\tors: ReportBuilderReportFieldsFilter[];\n}\n\nexport interface ReportBuilderReportFieldsFilter {\n\tfield: string;\n\tfieldType: string;\n\tcondition: string;\n\tvalue: any;\n\thighValue: any;\n\tdateValue: any;\n\thighDateValue: any;\n\tbooleanValue: string;\n\tis_rolling: boolean;\n\trolling_interval: string;\n}\n\nexport interface ReportBuilderReportFieldsSelected {\n\tcollection_name: string;\n\tcolumnName: string;\n\tfieldName: string;\n\tfieldType: string;\n\tdistinctFieldValues: string[];\n\tfieldPath: string;\n\tlookup_collection: string;\n\tlookup_local_key: string;\n\tlookup_foreign_key: string;\n\tlookup_as: string;\n\ttext: string;\n\tvalue: string;\n\tisLeaf: boolean;\n\tisActive: boolean;\n\tisSelected: boolean;\n\tdepth: number;\n\tleafValueType: string;\n\tleafValueTypes: string[];\n\tleafFormatType: string;\n\tleafFormatTypes: string[];\n\tid?: string;\n\tshow: boolean;\n}\n\nexport interface ReportBuilderReportCustomField {\n\tid: string;\n\tcolumnName: string;\n\tselFieldId: string;\n\tleafValueType: string;\n\toperations: ReportBuilderReportCustomOp[];\n}\n\nexport interface ReportBuilderReportCustomOp {\n\tfields: ReportBuilderReportCustomOpField[];\n\toperation: string;\n}\n\nexport interface ReportBuilderReportCustomOpField {\n\tfield: string;\n}\n\nexport interface ReportBuilderLayoutColumn {\n\tid?: string;\n\theader: string;\n\tmappings: ReportBuilderLayoutMapping[];\n}\n\nexport interface ReportBuilderLayoutMapping {\n\tcollection: string;\n\tmode: 'variable' | 'text';\n\tfieldPath?: string;\n\tfieldId?: string;\n\ttext?: string;\n\tleafValueType?: string;\n\tleafFormatType?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/models/report-builder-report.model.ts"],"names":[],"mappings":"","file":"report-builder-report.model.js","sourcesContent":["import { CollectionDocument } from '../models/collection-document.model';\n\nexport interface ReportBuilderCollectionJoin {\n\tcollection: string;\n\talias?: string;\n\tlocal_key?: string;\n\tforeign_key?: string;\n}\n\nexport interface ReportBuilderReportModel extends CollectionDocument {\n\tcollection_root: string;\n\tcollection_joins?: ReportBuilderCollectionJoin[];\n\treport_name: string;\n\tfields_sort: ReportBuilderReportFieldsSort[];\n\tfields_filter: ReportBuilderReportFieldsFilterOrs[];\n\tfields_custom?: ReportBuilderReportCustomField[];\n\tfields_selected: ReportBuilderReportFieldsSelected[];\n\tfields_total: ReportBuilderReportFieldsTotal[];\n\tfields_link: ReportBuilderReportFieldsLink[];\n\tid_user: string;\n\tuser: string;\n\tdate_created: Date;\n\tactive?: boolean;\n\tshared_users: string[];\n\ttype: ReportBuilderReportType;\n\tgroup_type: string;\n\tgroups_row: ReportBuilderGroupsRow[];\n\tgroups_column: ReportBuilderGroupsRow[];\n\tid_date_field?: string;\n\tdate_interval?: string;\n\tfields_layout?: ReportBuilderLayoutColumn[];\n}\n\nexport interface ReportBuilderReportFieldsLink {\n\tfield_first: string;\n\tfield_second: string;\n\tid: number;\n}\n\nexport interface ReportBuilderReportFieldsTotal {\n\ttype: string;\n\tfields: string[];\n\tid: number;\n}\n\nexport interface ReportBuilderGroupsRow {\n\tfield: string;\n\tfieldPathName: string;\n\tid: string;\n\tcolumnName: string;\n\tfill_color?: string;\n\tfont_color?: string;\n\ttreeItem?: any;\n}\n\nexport type ReportBuilderReportType = 'List' | 'Group' | 'Dated';\n\nexport interface ReportBuilderReportFieldsSort { \n\tfield: string;\n\torder: string;\n}\n\nexport interface ReportBuilderReportFieldsFilterOrs {\n\tors: ReportBuilderReportFieldsFilter[];\n}\n\nexport interface ReportBuilderReportFieldsFilter {\n\tfield: string;\n\tfieldType: string;\n\tcondition: string;\n\tvalue: any;\n\thighValue: any;\n\tdateValue: any;\n\thighDateValue: any;\n\tbooleanValue: string;\n\tis_rolling: boolean;\n\trolling_interval: string;\n}\n\nexport interface ReportBuilderReportFieldsSelected {\n\tcollection_name: string;\n\tcolumnName: string;\n\tfieldName: string;\n\tfieldType: string;\n\tdistinctFieldValues: string[];\n\tfieldPath: string;\n\tlookup_collection: string;\n\tlookup_local_key: string;\n\tlookup_foreign_key: string;\n\tlookup_as: string;\n\ttext: string;\n\tvalue: string;\n\tisLeaf: boolean;\n\tisActive: boolean;\n\tisSelected: boolean;\n\tdepth: number;\n\tleafValueType: string;\n\tleafValueTypes: string[];\n\tleafFormatType: string;\n\tleafFormatTypes: string[];\n\tid?: string;\n\tshow: boolean;\n}\n\nexport interface ReportBuilderReportCustomField {\n\tid: string;\n\tcolumnName: string;\n\tselFieldId: string;\n\tleafValueType: string;\n\toperations: ReportBuilderReportCustomOp[];\n}\n\nexport interface ReportBuilderReportCustomOp {\n\tfields: ReportBuilderReportCustomOpField[];\n\toperation: string;\n}\n\nexport interface ReportBuilderReportCustomOpField {\n\tfield: string;\n}\n\nexport interface ReportBuilderLayoutColumn {\n\tid?: string;\n\theader: string;\n\tmappings: ReportBuilderLayoutMapping[];\n}\n\nexport interface ReportBuilderLayoutMapping {\n\tcollection: string;\n\tmode: 'variable' | 'text';\n\tfieldPath?: string;\n\tfieldId?: string;\n\ttext?: string;\n\tleafValueType?: string;\n\tleafFormatType?: string;\n}\n"]}
|