Skip to content

Commit 437fb19

Browse files
authored
Fix masa plugin (#47)
* working * README * clean * upgrade type * clean comments * fix build
1 parent b108a40 commit 437fb19

File tree

1 file changed

+2
-1
lines changed
  • packages/masa-source/src/services

1 file changed

+2
-1
lines changed

packages/masa-source/src/services/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import {
22
IPlatformSearchService,
33
PlatformState,
4+
SourceItem,
45
SourcePluginSearchOptions,
56
} from "@curatedotfun/types";
67
import { z } from "zod";
@@ -24,7 +25,7 @@ export interface PlatformConfig<
2425

2526
// Interface for entries in the service registry
2627
export interface ServiceRegistryEntry<
27-
TItem = any,
28+
TItem extends SourceItem,
2829
TPlatformOptionsInput extends Record<string, any> = Record<string, any>,
2930
TPlatformOptionsOutput extends Record<string, any> = Record<string, any>,
3031
TPlatformState extends PlatformState = PlatformState,

0 commit comments

Comments
 (0)