• 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 contacts = await Showpad.getStoreEntries<Contact>('Contacts')

    Type Parameters

    • T extends JsonValue = JsonValue

    Parameters

    • store: string

    Returns Promise<AppsDbEntry<T>[]>

Generated using TypeDoc