Skip to content

Commit

Permalink
feat(core)!: Refactor time series data module to remove unused functi…
Browse files Browse the repository at this point in the history
…onality. Add meta field to data stream.

BREAKING CHANGE: Refactored export from `@iot-app-kit/core` IoTAppKitDataModule to be named TimeSeriesDataModule, and removed the concept of multiple data sources per time series data module
  • Loading branch information
diehbria committed Aug 31, 2022
1 parent 0edf35c commit c063d5c
Show file tree
Hide file tree
Showing 20 changed files with 168 additions and 434 deletions.
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@iot-app-kit/related-table": "^1.5.0",
"@iot-app-kit/source-iotsitewise": "^1.5.0",
"@stencil/core": "^2.7.0",
"@synchro-charts/core": "^6.0.0",
"@synchro-charts/core": "^6.0.1",
"styled-components": "^5.3.0"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/__mocks__/data-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export const createMockSiteWiseDataSource = (
onRequestData?: (props: any) => void;
} = { dataStreams: [], onRequestData: () => {} }
): DataSource<SiteWiseDataStreamQuery> => ({
name: 'site-wise',
initiateRequest: jest.fn(
(
{ query, request, onSuccess = () => {} }: DataSourceRequest<SiteWiseDataStreamQuery>,
Expand Down

0 comments on commit c063d5c

Please sign in to comment.