IDataProvider types for each data provider supported by PAPI. Extensions can add more
data providers with corresponding data provider IDs by adding details to their .d.ts file and
registering a data provider engine in their activate function with
papi.dataProviders.registerEngine.
Note: Data Provider names must consist of two strings separated by at least one period. We
recommend one period and lower camel case in case we expand the api in the future to allow dot
notation.
An extension can extend this interface to add types for the data provider it registers by
adding the following to its .d.ts file (in this example, we are adding the
'helloSomeone.people' data provider types):
IDataProvider types for each data provider supported by PAPI. Extensions can add more data providers with corresponding data provider IDs by adding details to their
.d.ts
file and registering a data provider engine in theiractivate
function withpapi.dataProviders.registerEngine
.Note: Data Provider names must consist of two strings separated by at least one period. We recommend one period and lower camel case in case we expand the api in the future to allow dot notation.
An extension can extend this interface to add types for the data provider it registers by adding the following to its
.d.ts
file (in this example, we are adding the'helloSomeone.people'
data provider types):Example