diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06652d8bda0c3e738085f97fa1aebe64322675a0..ef75c2b3046a94af26563e2176c7fc63a36a920d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,7 +47,7 @@ variables: ## common steps cache_lint_test: - image: 'denoland/deno:alpine-1.28.1' + image: 'denoland/deno:alpine-1.36.1' stage: 'test' script: - deno cache --lock=deno.lock app/deps.ts app/dev_deps.ts diff --git a/Dockerfile b/Dockerfile index 7fcbcdf53e39d4d312c8e25f12997d62397e8522..7aeebd7e28db9d79ddac2ca35117e36a9104c31e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:alpine-1.28.1 +FROM denoland/deno:alpine-1.36.1 # The port that your application listens to. EXPOSE 8001 diff --git a/README.md b/README.md index 17d0c8c9df0459f104198dffac68d61a4994de9b..a0a25a9b8b417e9007c8c68f0d5c70208aa88692 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The backend for handling donation projects, including a GraphQL API for ### Setup -Install [`deno`](https://github.com/denoland/deno_install) in version 1.25.1 +Install [`deno`](https://github.com/denoland/deno_install) in version 1.36.1 as well as [`Velociraptor`](https://velociraptor.run/docs/installation/). diff --git a/app/server.ts b/app/server.ts index 6e596bc3a19ab52d00ef4043592fc37273006f78..99695972bf8b0ff818548bd6efd4dc00dc942987 100644 --- a/app/server.ts +++ b/app/server.ts @@ -75,7 +75,7 @@ const typeDefs = ` type Query { # uses offset-based pagination as described in https://www.apollographql.com/docs/react/pagination/offset-based - projects(offset: Int, limit: Int, location: String): ProjectsResponse! + projects(offset: Int = 0, limit: Int = 10, location: String): ProjectsResponse! project(id: Int!): Project! } `;