| Total Complexity | 0 |
| Complexity/F | 0 |
| Lines of Code | 12 |
| Function Count | 0 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | 1 | import * as t from 'io-ts'; |
|
| 2 | 1 | import {NonEmptyString} from 'io-ts-types/lib/NonEmptyString'; |
|
| 3 | 1 | import {AttributesC} from './AttributesC'; |
|
| 4 | 1 | import {RelationshipsC} from './RelationshipsC'; |
|
| 5 | |||
| 6 | 1 | export const JsonApiDataC = t.partial({ |
|
| 7 | type: NonEmptyString, |
||
| 8 | id: NonEmptyString, |
||
| 9 | attributes: AttributesC, |
||
| 10 | relationships: RelationshipsC |
||
| 11 | }); |
||
| 12 |