diff --git a/lib/interact-for-custom-metadata.ts b/lib/interact-for-custom-metadata.ts index 881078c..ddee921 100644 --- a/lib/interact-for-custom-metadata.ts +++ b/lib/interact-for-custom-metadata.ts @@ -1,13 +1,16 @@ import prompts from "prompts" import { getSeam } from "./get-seam" import { CustomMetadata } from "@seamapi/types/connect" + +type UpdatedCustomMetadata = { + [x: string]: string | boolean | null +} + export const interactForCustomMetadata = async ( custom_metadata: CustomMetadata ) => { const seam = await getSeam() - const updated_custom_metadata: CustomMetadata = { - ...custom_metadata, - } + const updated_custom_metadata: UpdatedCustomMetadata = { ...custom_metadata } const displayCurrentCustomMetadata = () => { console.log("custom_metadata:")