remove some ops filter

This commit is contained in:
2024-10-15 16:18:03 +07:00
parent fcc2b96a3b
commit 16084feafc
2 changed files with 2 additions and 77 deletions

View File

@@ -1,75 +0,0 @@
#0 building with "desktop-linux" instance using docker driver
#1 [api internal] load build definition from Dockerfile
#1 transferring dockerfile: 668B done
#1 DONE 0.0s
#2 [api internal] load metadata for docker.io/library/node:20
#2 DONE 1.8s
#3 [api internal] load .dockerignore
#3 transferring context: 52B done
#3 DONE 0.0s
#4 [api node_base 1/2] FROM docker.io/library/node:20@sha256:fffa89e023a3351904c04284029105d9e2ac7020886d683775a298569591e5bb
#4 resolve docker.io/library/node:20@sha256:fffa89e023a3351904c04284029105d9e2ac7020886d683775a298569591e5bb 0.0s done
#4 DONE 0.0s
#5 [api internal] load build context
#5 transferring context: 543.62kB 0.3s done
#5 DONE 0.3s
#6 [api node_base 2/2] WORKDIR /app
#6 CACHED
#7 [api node_modules 1/3] COPY package*.json ./
#7 CACHED
#8 [api node_modules 2/3] RUN npm config set legacy-peer-deps true
#8 CACHED
#9 [api node_modules 3/3] RUN npm install
#9 CACHED
#10 [api build 1/1] COPY . .
#10 DONE 0.9s
#11 [api runtime 1/2] COPY --from=node_modules /app/node_modules ./node_modules
#11 DONE 2.9s
#12 [api runtime 2/2] RUN npm run prisma:generate
#12 0.607
#12 0.607 > epess-web-backend@0.0.1 prisma:generate
#12 0.607 > npx prisma generate --schema=./epess-database/prisma/schema.prisma
#12 0.607
#12 1.500 Environment variables loaded from .env
#12 1.502 Prisma schema loaded from epess-database/prisma/schema.prisma
#12 12.77
#12 12.77 ✔ Generated Prisma Client (v5.19.1) to ./epess-database/node_modules/@prisma/client in 338ms
#12 12.77
#12 12.77 ✔ Generated Pothos integration to ./src/types/pothos.generated.ts in 62ms
#12 12.77
#12 12.77 Start by importing your Prisma Client (See: http://pris.ly/d/importing-client)
#12 12.77
#12 12.77 Tip: Want to turn off tips and other hints? https://pris.ly/tip-4-nohints
#12 12.77
#12 12.77
#12 12.77 warn Versions of prisma@5.20.0 and @prisma/client@5.19.1 don't match.
#12 12.77 This might lead to unexpected behavior.
#12 12.77 Please make sure they have the same version.
#12 12.99 npm notice
#12 12.99 npm notice New minor version of npm available! 10.8.2 -> 10.9.0
#12 12.99 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0
#12 12.99 npm notice To update run: npm install -g npm@10.9.0
#12 12.99 npm notice
#12 DONE 13.0s
#13 [api] exporting to image
#13 exporting layers
#13 exporting layers 13.0s done
#13 exporting manifest sha256:9d28fbbad876bd861c59992e6ed767768cd3fd055b0dc357814f19ae41505daa 0.0s done
#13 exporting config sha256:c0e62a1f31804b71d7244810bf231f5a2b4e82da3c014edffe6bc4871400a76c done
#13 exporting attestation manifest sha256:9a3dd5ebe98a3071aa88a777c7d1648bb0fdf09f21a6178735c312655aac5546 0.0s done
#13 exporting manifest list sha256:8fd012fe4699ac992144a31c04f8331b7d401b74ca126b91555da7e4822f5450 0.0s done
#13 naming to docker.io/library/epess-web-backend-api:latest done
#13 unpacking to docker.io/library/epess-web-backend-api:latest

View File

@@ -13,7 +13,7 @@ import type { FilterOps } from '@pothos/plugin-prisma-utils';
import * as Prisma from '@prisma/client';
import { SchemaBuilderToken } from '@smatch-corp/nestjs-pothos';
const filterOps = ['equals', 'in', 'notIn', 'not', 'is'] as const;
const filterOps = ['equals', 'in', 'notIn', 'not'] as const;
const sortableFilterProps = ['lt', 'lte', 'gt', 'gte'] as const;
const stringFilterOps = [
...filterOps,
@@ -30,7 +30,7 @@ const scalarListOps = [
'isEmpty',
'equals',
] as const;
const JsonFilterOps = ['equals', 'in', 'notIn', 'not', 'is'] as const;
const JsonFilterOps = ['equals', 'in', 'notIn', 'not'] as const;
const EnumFilterOps = ['equals', 'not'] as const;
@Injectable()