Skip to content

feat(nextjs): admin page to edit project wide user permissions #67

feat(nextjs): admin page to edit project wide user permissions

feat(nextjs): admin page to edit project wide user permissions #67

Triggered via push October 14, 2024 18:27
Status Failure
Total duration 1m 7s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 13 warnings
typecheck
Type '{ onChange: (...event: any[]) => void; onBlur: Noop; value: string | null | undefined; disabled?: boolean | undefined; name: "image"; ref: RefCallBack; placeholder: string; }' is not assignable to type 'InputProps'.
typecheck
Type '{ status: "Verified" | "Unverified" | "Pending"; id: string; name: string | null; email: string; isPublic: boolean; role: "Admin" | "User"; emailVerified: Date | null; image: string | null; }' is not assignable to type '{ status: "Verified" | "Unverified" | "Pending"; id: string; email: string; isPublic: boolean; role: "Admin" | "User"; name?: string | undefined; image?: string | undefined; }'.
typecheck
Property 'isLoading' does not exist on type 'UseTRPCMutationResult<void, TRPCClientErrorLike<{ input: { description: string; title: string; embedId: string; }; output: void; transformer: true; errorShape: { data: { zodError: typeToFlattenedError<any, string> | null; code: "PARSE_ERROR" | ... 17 more ... | "CLIENT_CLOSED_REQUEST"; httpStatus: number; path?: str...'.
typecheck
Property 'isLoading' does not exist on type 'UseTRPCMutationResult<void, TRPCClientErrorLike<{ input: { description: string; title: string; embedId: string; }; output: void; transformer: true; errorShape: { data: { zodError: typeToFlattenedError<any, string> | null; code: "PARSE_ERROR" | ... 17 more ... | "CLIENT_CLOSED_REQUEST"; httpStatus: number; path?: str...'.
typecheck
Type '{ items: { title: string; url: string; icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>>; }[]; searchResults: { ...; }[]; }' is not assignable to type 'IntrinsicAttributes & { items: { title: string; url: string; icon: LucideIcon; isActive?: boolean | undefined; items?: { title: string; url: string; }[] | undefined; }[]; } & ClassAttributes<...> & HTMLAttributes<...>'.
typecheck
Object is possibly 'undefined'.
typecheck
Argument of type 'TZDate | undefined' is not assignable to parameter of type 'TZDate'.
typecheck
@amaxa/nextjs#typecheck: command (/home/runner/work/amaxa/amaxa/apps/nextjs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
typecheck
Process completed with exit code 2.
lint
@amaxa/nextjs#lint: command (/home/runner/work/amaxa/amaxa/apps/nextjs) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
lint: apps/nextjs/src/app/(home)/admin/_components/form.tsx#L40
Use an `interface` instead of a `type`
lint: apps/nextjs/src/app/(home)/admin/_components/form.tsx#L49
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: apps/nextjs/src/app/(home)/admin/_components/form.tsx#L54
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: apps/nextjs/src/app/(home)/admin/_components/table.tsx#L31
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint
Process completed with exit code 1.
format
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
typecheck
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. 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 following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: apps/website/src/app/(marketing)/about-us/_components/our-partners.tsx#L47
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
lint: apps/website/src/app/(marketing)/about-us/_components/our-partners.tsx#L62
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
lint: apps/website/src/app/(marketing)/team/page.tsx#L89
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
lint: apps/website/src/components/platform-hero.tsx#L48
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
lint: apps/website/src/components/platform-hero.tsx#L53
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
lint: apps/nextjs/src/app/(auth)/unverified/page.tsx#L3
'Button' is defined but never used. Allowed unused vars must match /^_/u
lint: apps/nextjs/src/app/(auth)/unverified/page.tsx#L9
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element