We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b108a40 commit 437fb19Copy full SHA for 437fb19
packages/masa-source/src/services/index.ts
@@ -1,6 +1,7 @@
1
import {
2
IPlatformSearchService,
3
PlatformState,
4
+ SourceItem,
5
SourcePluginSearchOptions,
6
} from "@curatedotfun/types";
7
import { z } from "zod";
@@ -24,7 +25,7 @@ export interface PlatformConfig<
24
25
26
// Interface for entries in the service registry
27
export interface ServiceRegistryEntry<
- TItem = any,
28
+ TItem extends SourceItem,
29
TPlatformOptionsInput extends Record<string, any> = Record<string, any>,
30
TPlatformOptionsOutput extends Record<string, any> = Record<string, any>,
31
TPlatformState extends PlatformState = PlatformState,
0 commit comments