UNPKG
@materia/interfaces
Version:
beta (1.0.0-beta.1)
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-rc.0
1.0.0-beta.9
1.0.0-beta.8
1.0.0-beta.7
1.0.0-beta.6
1.0.0-beta.5
1.0.0-beta.4
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
github.com/materiahq/materia-interfaces
materiahq/materia-interfaces
@materia/interfaces
/
relation.model.d.ts
16 lines
(15 loc)
•
291 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export
interface
IRelation
{ type?:
string
; field?:
string
;
as
?:
string
; through?:
string
; reference: { entity:
string
; field?:
string
;
as
?:
string
; }; unique?:
boolean
; implicit?:
boolean
; entity?:
string
; paired?:
boolean
; }