Skip to content

Commit decd44a

Browse files
authored
Merge pull request elizaOS#1492 from tomguluson92/tomguluson92-patch-2
fix: remove `type` when import from `elizaos`
2 parents 0c7b050 + 06c038c commit decd44a

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

packages/plugin-story/src/actions/attachTerms.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import {
44
generateObjectDeprecated,
55
HandlerCallback,
66
ModelClass,
7-
type IAgentRuntime,
8-
type Memory,
9-
type State,
7+
IAgentRuntime,
8+
Memory,
9+
State,
1010
} from "@elizaos/core";
1111
import { WalletProvider } from "../providers/wallet";
1212
import { attachTermsTemplate } from "../templates";

packages/plugin-story/src/actions/getAvailableLicenses.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import {
44
generateObjectDeprecated,
55
HandlerCallback,
66
ModelClass,
7-
type IAgentRuntime,
8-
type Memory,
9-
type State,
7+
IAgentRuntime,
8+
Memory,
9+
State,
1010
} from "@elizaos/core";
1111
import { getAvailableLicensesTemplate, licenseIPTemplate } from "../templates";
1212
import { Address } from "viem";

packages/plugin-story/src/actions/getIPDetails.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import {
44
generateObjectDeprecated,
55
HandlerCallback,
66
ModelClass,
7-
type IAgentRuntime,
8-
type Memory,
9-
type State,
7+
IAgentRuntime,
8+
Memory,
9+
State,
1010
} from "@elizaos/core";
1111
import { getIPDetailsTemplate } from "../templates";
1212
import { Address } from "viem";

packages/plugin-story/src/actions/licenseIP.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import {
44
generateObjectDeprecated,
55
HandlerCallback,
66
ModelClass,
7-
type IAgentRuntime,
8-
type Memory,
9-
type State,
7+
IAgentRuntime,
8+
Memory,
9+
State,
1010
} from "@elizaos/core";
1111
import { WalletProvider } from "../providers/wallet";
1212
import { licenseIPTemplate } from "../templates";

packages/plugin-story/src/actions/registerIP.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import {
44
generateObjectDeprecated,
55
HandlerCallback,
66
ModelClass,
7-
type IAgentRuntime,
8-
type Memory,
9-
type State,
7+
IAgentRuntime,
8+
Memory,
9+
State,
1010
} from "@elizaos/core";
1111
import pinataSDK from "@pinata/sdk";
1212
import { RegisterIpResponse } from "@story-protocol/core-sdk";

packages/plugin-story/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export * from "./actions/getIPDetails";
66
export * from "./providers/wallet";
77
export * from "./types";
88

9-
import type { Plugin } from "@elizaos/core";
9+
import { Plugin } from "@elizaos/core";
1010
import { storyWalletProvider } from "./providers/wallet";
1111
import { registerIPAction } from "./actions/registerIP";
1212
import { licenseIPAction } from "./actions/licenseIP";

packages/plugin-story/src/providers/wallet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { IAgentRuntime, Provider, Memory, State } from "@elizaos/core";
1+
import { IAgentRuntime, Provider, Memory, State } from "@elizaos/core";
22
import {
33
createPublicClient,
44
createWalletClient,

0 commit comments

Comments
 (0)