mirror of https://github.com/langgenius/dify.git
23 lines
836 B
TypeScript
23 lines
836 B
TypeScript
import type { InferContractRouterInputs } from '@orpc/contract'
|
|
import { bindPartnerStackContract, invoicesContract } from './console/billing'
|
|
import { systemFeaturesContract } from './console/system'
|
|
import { collectionPluginsContract, collectionsContract, searchAdvancedContract } from './marketplace'
|
|
|
|
export const marketplaceRouterContract = {
|
|
collections: collectionsContract,
|
|
collectionPlugins: collectionPluginsContract,
|
|
searchAdvanced: searchAdvancedContract,
|
|
}
|
|
|
|
export type MarketPlaceInputs = InferContractRouterInputs<typeof marketplaceRouterContract>
|
|
|
|
export const consoleRouterContract = {
|
|
systemFeatures: systemFeaturesContract,
|
|
billing: {
|
|
invoices: invoicesContract,
|
|
bindPartnerStack: bindPartnerStackContract,
|
|
},
|
|
}
|
|
|
|
export type ConsoleInputs = InferContractRouterInputs<typeof consoleRouterContract>
|