content-provider
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

content-provider

Comunication through apps

Install

npm install content-provider
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


test(...)

test(options: { name: string; }) => Promise<{ result: any; }>
Param Type
options { name: string; }

Returns: Promise<{ result: any; }>


getValues()

getValues() => Promise<{ result: any[]; }>

Returns: Promise<{ result: any[]; }>


insertValue(...)

insertValue(options: { name: string; }) => Promise<{ result: any; }>
Param Type
options { name: string; }

Returns: Promise<{ result: any; }>


deleteValue(...)

deleteValue(options: { id: string; }) => Promise<{ result: any; }>
Param Type
options { id: string; }

Returns: Promise<{ result: any; }>


updateValue(...)

updateValue(options: { id: string; name: string; }) => Promise<{ result: any; }>
Param Type
options { id: string; name: string; }

Returns: Promise<{ result: any; }>


addListener(string, ...)

addListener(evtName: string, callback: (a: void) => any) => void
Param Type
evtName string
callback (a: void) => any

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.30latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i content-provider

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

35.9 kB

Total Files

28

Last publish

Collaborators

  • tecofactory