File tree 1 file changed +3
-27
lines changed
1 file changed +3
-27
lines changed Original file line number Diff line number Diff line change
1
+ import { ContentSourceMapsLookup , CPAContentSourceMaps } from '@contentful/content-source-maps'
1
2
import { EntryFields } from './entry'
2
- import { SpaceLink , EnvironmentLink } from './link'
3
+ import { EnvironmentLink , SpaceLink } from './link'
3
4
4
5
/**
5
6
* Definition of common part of system managed metadata
@@ -21,31 +22,6 @@ export interface EntitySys extends BaseSys {
21
22
space : { sys : SpaceLink }
22
23
environment : { sys : EnvironmentLink }
23
24
locale ?: string
24
- contentSourceMaps ?: ContentSourceMaps
25
+ contentSourceMaps ?: CPAContentSourceMaps
25
26
contentSourceMapsLookup ?: ContentSourceMapsLookup
26
27
}
27
-
28
- export type ContentSourceMaps = {
29
- sys : {
30
- type : 'ContentSourceMaps'
31
- }
32
- mappings : Record <
33
- string ,
34
- {
35
- source : {
36
- fieldType : number
37
- editorInterface : number
38
- }
39
- }
40
- >
41
- }
42
-
43
- export type ContentSourceMapsLookup = {
44
- sys : {
45
- type : 'ContentSourceMapsLookup'
46
- }
47
- fieldType : string [ ]
48
- editorInterface : {
49
- [ key : string ] : string
50
- } [ ]
51
- }
You can’t perform that action at this time.
0 commit comments