Skip to content

Commit

Permalink
Merge pull request #529 from uib-ub:api/update-packages-fix-import-error
Browse files Browse the repository at this point in the history
Api/update-packages-fix-import-error
  • Loading branch information
tarjelavik authored Oct 10, 2024
2 parents 11571b8 + 6381b86 commit 5b41d82
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
8 changes: 4 additions & 4 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
},
"dependencies": {
"@elastic/elasticsearch": "8.12.2",
"@hono/zod-openapi": "^0.15.1",
"@hono/zod-validator": "^0.2.2",
"@hono/zod-openapi": "0.16.4",
"@hono/zod-validator": "0.4.1",
"@iiif/builder": "^2.0.1",
"@scalar/hono-api-reference": "^0.5.152",
"@scalar/hono-api-reference": "0.5.152",
"@thegetty/linkedart.js": "^0.20.0",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
Expand All @@ -22,7 +22,7 @@
"dotenv": "^16.4.1",
"edtf": "^4.6.0",
"fetch-retry-ts": "^1.3.1",
"hono": "^4.6.3",
"hono": "4.6.3",
"jsonld": "^8",
"jsonld-contexts": "*",
"lodash": "^4.17.21",
Expand Down
3 changes: 1 addition & 2 deletions apps/api/src/routes/sparql/file-sets/file-sets.route.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { DATA_SOURCES } from '@config/constants'
import { cleanJsonld } from '@helpers/cleaners/cleanJsonLd'
import { createRoute, OpenAPIHono } from '@hono/zod-openapi'
import { createRoute, OpenAPIHono, z } from '@hono/zod-openapi'
import executeQuery from '@lib/executeQuery'
import { sqb } from '@lib/sparqlQueryBuilder'
import { PaginationParamsSchema, SourceParamsSchema } from '@models'
import { listFileSetsSparqlQuery } from '@services/sparql/queries'
import { HTTPException } from 'hono/http-exception'
import jsonld, { ContextDefinition } from 'jsonld'
import ubbontContext from 'jsonld-contexts/src/ubbontContext'
import { z } from 'zod'

const route = new OpenAPIHono()

Expand Down
31 changes: 20 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5b41d82

Please sign in to comment.