UNPKG
json-api-deserialize
Version:
latest (0.0.4)
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0-alpha.0
A deserializer for JSON:API responses
json-api-deserialize
/
dist
/
meta
/
resource.interface.d.ts
12 lines
(11 loc)
•
261 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
IRelationships
from
"./relationships.interface"
;
export
default
interface
IResource
{
id
:
string
;
type
:
string
;
attributes
?:
object
;
relationships
?: { [
key
:
string
]:
IRelationships
; };
links
?:
object
;
meta
?:
object
; }