Skip to content

fix(orgunit): create default valueFormatter #842

fix(orgunit): create default valueFormatter

fix(orgunit): create default valueFormatter #842

Triggered via push October 29, 2024 08:54
Status Failure
Total duration 2m 3s
Artifacts
Matrix: e2e
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 33 warnings
build: src/pages/categories/New.tsx#L15
Type '(values: ModelWithAttributeValues, form: FormApi<ModelWithAttributeValues, Partial<ModelWithAttributeValues>>, callback?: ((errors?: SubmissionErrors) => void) | undefined) => void | ... 1 more ... | Promise<...>' is not assignable to type '(values: { attributeValues: { attribute: { id: string; }; value: string; }[]; categoryOptions: { id: string; }[]; dataDimensionType: dataDimensionType; dataDimension: boolean; name?: string | undefined; id?: string | undefined; code?: string | undefined; description?: string | undefined; shortName?: string | undefin...'.
build: src/pages/categoryCombos/New.tsx#L14
Type '(values: ModelWithAttributeValues, form: FormApi<ModelWithAttributeValues, Partial<ModelWithAttributeValues>>, callback?: ((errors?: SubmissionErrors) => void) | undefined) => void | ... 1 more ... | Promise<...>' is not assignable to type '(values: { attributeValues: { attribute: { id: string; }; value: string; }[]; categories: { id: string; }[]; dataDimensionType: dataDimensionType; skipTotal: boolean; name?: string | undefined; id?: string | undefined; code?: string | undefined; }, form: FormApi<...>, callback?: ((errors?: SubmissionErrors) => void)...'.
build: src/pages/categoryOptionGroups/New.tsx#L14
Type '(values: ModelWithAttributeValues, form: FormApi<ModelWithAttributeValues, Partial<ModelWithAttributeValues>>, callback?: ((errors?: SubmissionErrors) => void) | undefined) => void | ... 1 more ... | Promise<...>' is not assignable to type '(values: { attributeValues: { attribute: { id: string; }; value: string; }[]; categoryOptions: { id: string; }[]; dataDimensionType: dataDimensionType; dataDimension: boolean; name?: string | undefined; id?: string | undefined; code?: string | undefined; description?: string | undefined; shortName?: string | undefin...'.
build: src/pages/categoryOptions/New.tsx#L14
Type '(values: ModelWithAttributeValues, form: FormApi<ModelWithAttributeValues, Partial<ModelWithAttributeValues>>, callback?: ((errors?: SubmissionErrors) => void) | undefined) => void | ... 1 more ... | Promise<...>' is not assignable to type '(values: { attributeValues: { attribute: { id: string; }; value: string; }[]; name?: string | undefined; id?: string | undefined; organisationUnits?: { id: string; }[] | undefined; code?: string | undefined; ... 4 more ...; startDate?: string | undefined; }, form: FormApi<...>, callback?: ((errors?: SubmissionErrors...'.
build
Process completed with exit code 2.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint: .prettierrc.js#L1
File ignored by default.
lint: src/app/sidebar/Sidebar.spec.tsx#L3
Using exported name 'userEvent' as identifier for default export
lint: src/components/loading/Loader.spec.tsx#L7
Unexpected any. Specify a different type
lint: src/components/loading/Loader.spec.tsx#L20
Unexpected any. Specify a different type
lint: src/components/loading/Loader.spec.tsx#L34
Unexpected any. Specify a different type
lint: src/components/loading/Loader.spec.tsx#L50
Unexpected any. Specify a different type
lint: src/components/metadataFormControls/AggregationLevelMultiSelect/types.ts#L6
'filterFields' is assigned a value but only used as a type
lint: src/components/metadataFormControls/CategoryComboSelect/types.ts#L3
'filterFields' is assigned a value but only used as a type
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
e2e (2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, cypress-io/github-action@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e (1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
e2e (1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1, cypress-io/github-action@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
e2e (1)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2