UNPKG
triplecheck-core
Version:
latest (1.0.0)
1.0.0
0.0.1
Core contracts and utilities for TripleCheck.
triplecheck-core
/
build
/
contracts
/
Repository.d.ts
6 lines
(5 loc)
•
211 B
TypeScript
View Raw
1
2
3
4
5
6
export
declare
abstract
class
Repository
{
abstract
getData
(
key
:
string
):
Promise
<
any
>;
abstract
updateData
(
key
:
string
,
data
:
any
):
Promise
<
void
>;
abstract
deleteData
(
key
:
string
):
Promise
<
void
>; }