Skip to content

refactor: simplify store actions export #13546

refactor: simplify store actions export

refactor: simplify store actions export #13546

Triggered via pull request March 21, 2024 09:34
Status Failure
Total duration 9m 9s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors
Build
Process completed with exit code 1.
Lint: src/app/base/components/DhcpForm/DhcpForm.test.tsx#L10
Module '"@/app/store/dhcpsnippet"' has no exported member 'dhcpActions'. Did you mean to use 'import dhcpActions from "@/app/store/dhcpsnippet"' instead?
Lint: src/app/base/components/node/FieldlessForm/FieldlessForm.tsx#L9
Module '"@/app/store/controller"' has no exported member 'actions'. Did you mean to use 'import actions from "@/app/store/controller"' instead?
Lint: src/app/base/components/node/FieldlessForm/FieldlessForm.tsx#L10
Module '"@/app/store/machine"' has no exported member 'actions'. Did you mean to use 'import actions from "@/app/store/machine"' instead?
Lint: src/app/base/components/node/FieldlessForm/FieldlessForm.tsx#L74
This expression is not callable.
Lint: src/app/domains/views/DomainDetails/DomainDetails.tsx#L19
'"@/app/store/domain"' has no exported member named 'domainsActions'. Did you mean 'domainActions'?
Lint: src/app/store/machine/utils/hooks.tsx#L41
Module '"@/app/store/resourcepool"' has no exported member 'actions'. Did you mean to use 'import actions from "@/app/store/resourcepool"' instead?
Lint: src/app/store/resourcepool/actions.test.ts#L1
Module '"./"' has no exported member 'actions'. Did you mean to use 'import actions from "./"' instead?
Lint: src/app/store/space/actions.test.ts#L1
Module '"./"' has no exported member 'actions'. Did you mean to use 'import actions from "./"' instead?
Lint: src/app/store/vlan/actions.test.ts#L1
Module '"./"' has no exported member 'actions'. Did you mean to use 'import actions from "./"' instead?
Lint
Process completed with exit code 2.
src/app/store/resourcepool/actions.test.ts > resourcepool actions > returns an action for fetching resource pools: src/app/store/resourcepool/actions.test.ts#L7
TypeError: Cannot read properties of undefined (reading 'fetch') ❯ src/app/store/resourcepool/actions.test.ts:7:20
src/app/store/resourcepool/actions.test.ts > resourcepool actions > returns an action for creating resource pools: src/app/store/resourcepool/actions.test.ts#L18
TypeError: Cannot read properties of undefined (reading 'create') ❯ src/app/store/resourcepool/actions.test.ts:18:20
src/app/store/resourcepool/actions.test.ts > resourcepool actions > returns an action for updating resource pools: src/app/store/resourcepool/actions.test.ts#L35
TypeError: Cannot read properties of undefined (reading 'update') ❯ src/app/store/resourcepool/actions.test.ts:35:15
src/app/store/resourcepool/actions.test.ts > resourcepool actions > returns an action for deleting resource pools: src/app/store/resourcepool/actions.test.ts#L53
TypeError: Cannot read properties of undefined (reading 'delete') ❯ src/app/store/resourcepool/actions.test.ts:53:20
src/app/store/resourcepool/actions.test.ts > resourcepool actions > returns an action for cleaning resource pools: src/app/store/resourcepool/actions.test.ts#L68
TypeError: Cannot read properties of undefined (reading 'cleanup') ❯ src/app/store/resourcepool/actions.test.ts:68:20
src/app/store/resourcepool/actions.test.ts > resourcepool actions > returns an action for creating resource pools with machines: src/app/store/resourcepool/actions.test.ts#L76
TypeError: Cannot read properties of undefined (reading 'createWithMachines') ❯ src/app/store/resourcepool/actions.test.ts:76:20
src/app/store/space/actions.test.ts > space actions > returns a fetch action: src/app/store/space/actions.test.ts#L5
TypeError: Cannot read properties of undefined (reading 'fetch') ❯ src/app/store/space/actions.test.ts:5:20
src/app/store/space/actions.test.ts > space actions > returns a create action: src/app/store/space/actions.test.ts#L16
TypeError: Cannot read properties of undefined (reading 'create') ❯ src/app/store/space/actions.test.ts:16:20
src/app/store/space/actions.test.ts > space actions > returns an update action: src/app/store/space/actions.test.ts#L33
TypeError: Cannot read properties of undefined (reading 'update') ❯ src/app/store/space/actions.test.ts:33:15
src/app/store/space/actions.test.ts > space actions > returns a delete action: src/app/store/space/actions.test.ts#L51
TypeError: Cannot read properties of undefined (reading 'delete') ❯ src/app/store/space/actions.test.ts:51:20