@bahmni/services 0.0.1-dev.438 → 0.0.1-dev.440

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.
@@ -0,0 +1,6 @@
1
+ import { FormatKey } from './models';
2
+ export declare const FORMAT_MIME_TYPES: Record<FormatKey, string>;
3
+ export declare const DEFAULT_SUPPORTED_FORMATS: FormatKey[];
4
+ export declare const DEFAULT_PAPER_SIZE = "A4";
5
+ export declare const DEFAULT_APP_NAME = "reports";
6
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/reportService/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,SAAS,EAAE,MAAM,CAOvD,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,SAAS,EAOhD,CAAC;AAEF,eAAO,MAAM,kBAAkB,OAAO,CAAC;AACvC,eAAO,MAAM,gBAAgB,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { buildRunReportUrl, formatDateForQuery } from './reportService';
2
+ export { DEFAULT_APP_NAME, DEFAULT_PAPER_SIZE, DEFAULT_SUPPORTED_FORMATS, FORMAT_MIME_TYPES, } from './constants';
3
+ export type { FormatKey } from './models';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/reportService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type FormatKey = 'PDF' | 'CSV' | 'HTML' | 'EXCEL' | 'CUSTOM EXCEL' | 'ODS';
2
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/reportService/models.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GACjB,KAAK,GACL,KAAK,GACL,MAAM,GACN,OAAO,GACP,cAAc,GACd,KAAK,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FormatKey } from './models';
2
+ export declare const formatDateForQuery: (date: Date | null) => string | null;
3
+ export declare const buildRunReportUrl: (reportName: string, reportFormat: FormatKey, startDate?: Date | null, endDate?: Date | null, paperSize?: string, appName?: string) => string;
4
+ //# sourceMappingURL=reportService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reportService.d.ts","sourceRoot":"","sources":["../../src/reportService/reportService.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,kBAAkB,GAAI,MAAM,IAAI,GAAG,IAAI,KAAG,MAAM,GAAG,IAG/D,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,YAAY,MAAM,EAClB,cAAc,SAAS,EACvB,YAAY,IAAI,GAAG,IAAI,EACvB,UAAU,IAAI,GAAG,IAAI,EACrB,YAAY,MAAM,EAClB,UAAS,MAAyB,KACjC,MAiBF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/services",
3
- "version": "0.0.1-dev.438",
3
+ "version": "0.0.1-dev.440",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",