Skip to content

Commit e1588fb

Browse files
authored
Merge pull request #1017
* refactor(33325): add the OpenAPI stubs for the interpolation service * refactor(33325): add react query key for interpolation variables * refactor(33325): add mocks * refactor(33325): add react query hooks * test(33325): add test * refactor(33325): remove the static list of variables * refactor(33325): redesign the component * fix(33325): fix the (too) early firing of change events * test(33325): add tests * test(33325): update the test wrapper * test(33325): add tests * test(33325): add tests * test(33325): add tests * test(33325): add tests * refactor(33325): add translations * chore(33325): add interpretation to the MSW config * refactor(33325): fix typo * refactor(33325): refactor the designer type to avoid conflict * fix(33325): fix typo * refactor(33325): add interpolation support to selected schemas * fix(33325): fix detection of errors * fix(33325): fix styling * test(33325): fix tests * fix(33325): fix bug * fix(33325): bit of cleaning
1 parent 6ea7ca2 commit e1588fb

37 files changed

+755
-129
lines changed

hivemq-edge-frontend/src/__test-utils__/msw/handlers.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { handlers as DataHubBehaviorPoliciesService } from '@/extensions/datahub
1010
import { handlers as DataHubSchemasService } from '@/extensions/datahub/api/hooks/DataHubSchemasService/__handlers__'
1111
import { handlers as DataHubScriptsService } from '@/extensions/datahub/api/hooks/DataHubScriptsService/__handlers__'
1212
import { handlersWithoutLicense as DataHubFunctionsService } from '@/extensions/datahub/api/hooks/DataHubFunctionsService/__handlers__'
13+
import { handlers as DataHubInterpolationService } from '@/extensions/datahub/api/hooks/DataHubInterpolationService/__handlers__'
1314

1415
import type { MQTTSample } from '@/hooks/usePrivateMqttClient/type.ts'
1516

@@ -33,6 +34,7 @@ export const createHandlersWithMQTTClient = (
3334
) => {
3435
return [
3536
...DataHubFunctionsService,
37+
...DataHubInterpolationService,
3638
// ...combinerHandlers,
3739
// ...DeviceHandlers,
3840
// ...TopicFilterHandlers,

hivemq-edge-frontend/src/api/__generated__/HiveMqClient.ts

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hivemq-edge-frontend/src/api/__generated__/core/OpenAPI.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hivemq-edge-frontend/src/api/__generated__/index.ts

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hivemq-edge-frontend/src/api/__generated__/models/InterpolationVariable.ts

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hivemq-edge-frontend/src/api/__generated__/models/InterpolationVariableList.ts

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hivemq-edge-frontend/src/api/__generated__/models/PolicyType.ts

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hivemq-edge-frontend/src/api/__generated__/schemas/$InterpolationVariable.ts

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hivemq-edge-frontend/src/api/__generated__/schemas/$InterpolationVariableList.ts

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hivemq-edge-frontend/src/api/__generated__/schemas/$PolicyType.ts

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)