Type Alias ObjectHelperFunctions

type ObjectHelperFunctions = {
    getListData<ItemType>(listDef: ListBoxProperties): Promise<ItemType[]>;
    getListObject<ItemType>(
        listDef: ListBoxProperties,
    ): Promise<GenericListObject<ItemType>>;
    getOrCreateSessionObject<
        GenericObjectCustomType extends
            GenericObject<AnyGenericObjectProperties, AnyGenericObjectLayout> = GenericObject<
            AnyGenericObjectProperties,
            AnyGenericObjectLayout,
        >,
    >(
        props: ListBoxProperties,
    ): Promise<GenericObjectCustomType>;
}
Index
  • Help method to fetch app object data from Engine through a session object

    Type Parameters

    • ItemType

    Parameters

    Returns Promise<ItemType[]>

    A Promise that when resolved holds a list of data objects of the specified type