@forge/resolver
    TypeScript icon, indicating that this package has built-in type declarations

    1.4.4 • Public • Published

    Forge Resolver

    A helper class that is used to define backend functions that can be called in Forge apps.

    Requirements

    See Set up Forge for details of the software required to develop Forge apps.

    Usage

    
    import Resolver from '@forge/resolver';
    
    const resolver = new Resolver();
    resolver.define('getData', () => { return 'Hello world!'; });
    resolver.define('setData', (data) => { setData(data); });
    
    const getDefinition = resolver.getDefinitions();
    export const getDefinition;
    
    

    Support

    See Get help for how to get help and provide feedback.

    Keywords

    none

    Install

    npm i @forge/resolver

    DownloadsWeekly Downloads

    1,830

    Version

    1.4.4

    License

    UNLICENSED

    Unpacked Size

    13.5 kB

    Total Files

    6

    Last publish

    Collaborators

    • danwinterwijntjes
    • atlassian-cicd