Skip to content

Embedded form

Embedded form #1049

Triggered via pull request October 9, 2024 13:52
Status Failure
Total duration 1m 40s
Artifacts

e2e.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
start
@premieroctet/next-admin#typecheck: command (/home/runner/work/next-admin/next-admin/packages/next-admin) /tmp/xfs-4e76c95a/yarn run typecheck exited (2)
start
Cannot find name 'transformSchema'.
start
Cannot find name 'schema'.
start
Cannot find name 'id'.
start
Cannot find name 'id'.
start
Cannot find name 'id'.
start
Cannot find name 'id'.
start
Type '{ id?: { User: { payload: Prisma.$UserPayload<DefaultArgs>; fields: Prisma.UserFieldRefs; operations: { findUnique: { args: Prisma.UserFindUniqueArgs<DefaultArgs>; result: PayloadToResult<...> | null; }; ... 14 more ...; count: { ...; }; }; }; Post: { ...; }; Profile: { ...; }; Category: { ...; }; CategoriesOnPosts:...' is not assignable to type 'Model<M, object>'.
start
Type 'Record<"id", ReactElement<any, string | JSXElementConstructor<any>> | undefined> | undefined' is not assignable to type 'Record<keyof { User: { payload: $UserPayload<DefaultArgs>; fields: UserFieldRefs; operations: { findUnique: { args: UserFindUniqueArgs<DefaultArgs>; result: PayloadToResult<...> | null; }; ... 14 more ...; count: { ...; }; }; }; Post: { ...; }; Profile: { ...; }; Category: { ...; }; CategoriesOnPosts: { ...; }; }[M]...'.
start
Type 'Schema | undefined' is not assignable to type 'Schema'.
start
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
start
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
start: packages/next-admin/src/components/ClientActionDialog.tsx#L60
React Hook useEffect has missing dependencies: 'action.depth' and 'apiBasePath'. Either include them or remove the dependency array
start: packages/next-admin/src/components/Filters.tsx#L38
React Hook useEffect has a missing dependency: 'fetchUrlFilter'. Either include it or remove the dependency array
start: packages/next-admin/src/components/Form.tsx#L211
React Hook useMemo has missing dependencies: 'basePath', 'canCreate', 'canDelete', 'canEdit', 'edit', 'resource', 'router', 'runDeletion', 'showMessage', and 't'. Either include them or remove the dependency array
start: packages/next-admin/src/components/Form.tsx#L311
React Hook useCallback has missing dependencies: 'basePath', 'cleanAll', 'resource', 'router', 'setFormData', 'showMessage', and 't'. Either include them or remove the dependency array. Outer scope values like 'id' aren't valid dependencies because mutating them doesn't re-render the component
start: packages/next-admin/src/components/Form.tsx#L560
React Hook useMemo has missing dependencies: 'CustomForm', 'allDisabled', 'data', 'extraErrors', 'isPending', 'modelSchema', 'schema', 'templates', and 'uiSchema'. Either include them or remove the dependency array
start: packages/next-admin/src/components/Menu.tsx#L158
Do not use `<img>` element. Use `<Image />` from `next/image` instead. See: https://nextjs.org/docs/messages/no-img-element
start: packages/next-admin/src/components/advancedSearch/AdvancedSearchFieldCondition.tsx#L38
React Hook useEffect has missing dependencies: 'uiBlock' and 'updateUiBlock'. Either include them or remove the dependency array
start: packages/next-admin/src/components/inputs/DateWidget.tsx#L34
React Hook useCallback has missing dependencies: 'props.name' and 'setFieldDirty'. Either include them or remove the dependency array
start: packages/next-admin/src/components/inputs/EmbeddedForm/EmbeddedFormModal.tsx#L70
React Hook useEffect has a missing dependency: 'originalResource'. Either include it or remove the dependency array
start: packages/next-admin/src/components/inputs/RichText/RichTextField.tsx#L70
React Hook useMemo has missing dependencies: 'format' and 'required'. Either include them or remove the dependency array