fix(core): update
This commit is contained in:
3
ts/index.ts
Normal file
3
ts/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import * as plugins from './smartreport.plugins';
|
||||
|
||||
export let standardExport = 'Hi there! :) This is an exported string';
|
3
ts/smartreport.classes.reportitem.ts
Normal file
3
ts/smartreport.classes.reportitem.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import * as plugins from './smartreport.plugins';
|
||||
|
||||
export class ReportItem {}
|
15
ts/smartreport.classes.reportsection.ts
Normal file
15
ts/smartreport.classes.reportsection.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import * as plugins from './smartreport.plugins';
|
||||
import { ReportItem } from './smartreport.classes.reportitem';
|
||||
|
||||
export class ReportSection {
|
||||
public name: string;
|
||||
public reportItems: ReportItem[] = [];
|
||||
|
||||
constructor(nameArg: string) {
|
||||
this.name = nameArg;
|
||||
}
|
||||
|
||||
public addReportItem(reportItem: ReportItem) {
|
||||
this.reportItems.push(reportItem);
|
||||
}
|
||||
}
|
15
ts/smartreport.classes.smartreport.ts
Normal file
15
ts/smartreport.classes.smartreport.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import * as plugins from './smartreport.plugins';
|
||||
import { ReportSection } from './smartreport.classes.reportsection';
|
||||
|
||||
export class Smartreport {
|
||||
public reportSections: ReportSection[] = [];
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*/
|
||||
constructor() {}
|
||||
|
||||
public addReportSection(reportSectionArg: ReportSection) {
|
||||
this.reportSections.push(reportSectionArg);
|
||||
}
|
||||
}
|
2
ts/smartreport.plugins.ts
Normal file
2
ts/smartreport.plugins.ts
Normal file
@ -0,0 +1,2 @@
|
||||
const removeme = {};
|
||||
export { removeme };
|
Reference in New Issue
Block a user