• If the generic type is passed, the result will immediately be typed correctly.

    If the value is a stringified JSON it will automatically be parsed. Also booleans, strings and numbers will automatically be parsed correctly.

    Example

    import { Showpad } from '@showpad/experience-app-sdk'

    type Contact = {
    name: string
    surname: string
    }

    const contact = await Showpad.getStoreEntryValue<Contact>('Contacts', '4aeed8ee-45d1-43c9-9c98-76ff57420b82')

    Type Parameters

    • T extends JsonValue = JsonValue

    Parameters

    • store: string
    • entryId: string

    Returns Promise<T>

Generated using TypeDoc