SDK Reference

    @proveanything/smartlinks

    npm install @proveanything/smartlinks
    View on npm →

    Namespaces

    Other

    config

    Functions for config operations

    2 functions3 types

    getFields

    Returns the full platform field catalog. Fields are used as building blocks for proof type templates — they define the input widgets shown when creating or editing products and proof items. Endpoint: GET /api/v1/public/config/fields

    public
    getFields() → Promise<[]>

    getProofTypes

    Returns all proof type definitions. Proof types are templates that specify which fields to show, which apps are pre-installed, and how the portal behaves for a given product category. Endpoint: GET /api/v1/public/config/proofTypes

    public
    getProofTypes() → Promise<[]>