mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
updated postgres package build
This commit is contained in:
@@ -344,7 +344,6 @@ export class DataController extends Controller {
|
|||||||
if (!this.entityExists(entity)) {
|
if (!this.entityExists(entity)) {
|
||||||
return this.notFound(c);
|
return this.notFound(c);
|
||||||
}
|
}
|
||||||
console.log("id", id);
|
|
||||||
const options = c.req.valid("query") as RepoQuery;
|
const options = c.req.valid("query") as RepoQuery;
|
||||||
const result = await this.em.repository(entity).findId(id, options);
|
const result = await this.em.repository(entity).findId(id, options);
|
||||||
|
|
||||||
|
|||||||
@@ -391,7 +391,7 @@ function EntityField({
|
|||||||
allowDeselect={false}
|
allowDeselect={false}
|
||||||
control={control}
|
control={control}
|
||||||
size="xs"
|
size="xs"
|
||||||
className="w-20"
|
className="w-22"
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
@@ -38,10 +38,11 @@
|
|||||||
"entry": ["src/index.ts"],
|
"entry": ["src/index.ts"],
|
||||||
"format": ["esm"],
|
"format": ["esm"],
|
||||||
"target": "es2022",
|
"target": "es2022",
|
||||||
|
"metafile": true,
|
||||||
"clean": true,
|
"clean": true,
|
||||||
"minify": true,
|
"minify": true,
|
||||||
"dts": true,
|
"dts": true,
|
||||||
"external": ["bknd", "pg", "kysely", "kysely-postgres-js"]
|
"external": ["bknd", "pg", "postgres", "kysely", "kysely-postgres-js"]
|
||||||
},
|
},
|
||||||
"files": ["dist", "README.md", "!*.map", "!metafile*.json"]
|
"files": ["dist", "README.md", "!*.map", "!metafile*.json"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user