@igstack/app-catalog-backend-core 0.3.0 → 0.3.1-alpha-20260305181002

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igstack/app-catalog-backend-core",
3
- "version": "0.3.0",
3
+ "version": "0.3.1-alpha-20260305181002",
4
4
  "description": "Backend core library for App Catalog",
5
5
  "homepage": "https://github.com/lislon/app-catalog",
6
6
  "repository": {
@@ -50,8 +50,8 @@
50
50
  "tsyringe": "^4.10.0",
51
51
  "yaml": "^2.8.0",
52
52
  "zod": "^4.3.5",
53
- "@igstack/app-catalog-table-sync": "0.3.0",
54
- "@igstack/app-catalog-shared-core": "0.3.0"
53
+ "@igstack/app-catalog-shared-core": "0.3.1-alpha-20260305181002",
54
+ "@igstack/app-catalog-table-sync": "0.3.1-alpha-20260305181002"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@tanstack/vite-config": "^0.4.3",
package/src/db/client.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { PrismaClient } from './prisma'
1
+ import { PrismaClient } from '../generated/prisma/client'
2
2
  import { PrismaPg } from '@prisma/adapter-pg'
3
3
  import pg from 'pg'
4
4
 
@@ -9,7 +9,7 @@ import { readFile, readdir, stat } from 'node:fs/promises'
9
9
  import { group } from 'radashi'
10
10
  import { upsertAsset } from '../modules/assets/upsertAsset'
11
11
  import type { ApprovalMethod } from '../types'
12
- import type { PrismaClient } from './prisma'
12
+ import type { PrismaClient } from '../generated/prisma/client'
13
13
 
14
14
  export interface SyncAppCatalogResult {
15
15
  created: number
@@ -1,4 +1,4 @@
1
- import type { Prisma } from './prisma'
1
+ import type { Prisma } from '../generated/prisma/client'
2
2
  import type { ObjectKeys, ScalarKeys } from './tableSyncPrismaAdapter'
3
3
 
4
4
  interface CommonSyncTableInfo<TPrismaModelName extends Prisma.ModelName> {
@@ -1,5 +1,5 @@
1
1
  import { tableSync } from '@igstack/app-catalog-table-sync'
2
- import type { Prisma, PrismaClient } from './prisma'
2
+ import type { Prisma, PrismaClient } from '../generated/prisma/client'
3
3
  import { mapValues, omit, pick } from 'radashi'
4
4
 
5
5
  export type ScalarKeys<TPrismaModelName extends Prisma.ModelName> =
@@ -1,4 +1,4 @@
1
- import { PrismaClient } from '../db/prisma'
1
+ import { PrismaClient } from '../generated/prisma/client'
2
2
  import { PrismaPg } from '@prisma/adapter-pg'
3
3
  import pg from 'pg'
4
4
  import type { EhDatabaseConfig } from './types'
@@ -1,5 +1,5 @@
1
1
  import { parseAssetMeta } from './assetUtils'
2
- import type { AssetType, PrismaClient } from '../../db/prisma'
2
+ import type { AssetType, PrismaClient } from '../../generated/prisma/client'
3
3
 
4
4
  export interface UpsertAssetParams {
5
5
  prisma: PrismaClient
package/src/db/prisma.ts DELETED
@@ -1,3 +0,0 @@
1
- // Re-export Prisma types and client from the generated Prisma 7 client
2
- // This file serves as the single source of truth for Prisma imports within backend-core
3
- export * from '../generated/prisma/client'