@resolveio/server-lib 22.2.47 → 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.
- package/collections/report-builder-report.collection.js +4 -0
- package/collections/report-builder-report.collection.js.map +1 -1
- package/managers/mongo.manager.js +52 -37
- package/managers/mongo.manager.js.map +1 -1
- package/models/report-builder-report.model.d.ts +1 -0
- package/models/report-builder-report.model.js.map +1 -1
- package/package.json +1 -1
|
@@ -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"]}
|