@@ -2,14 +2,14 @@ export interface RequestInitExtended extends Omit<RequestInit, "headers"> {
2
2
headers ?: HeadersInit | ( ( ) => HeadersInit ) ;
3
3
}
4
4
5
- export type IriTemplateMapping = {
5
+ export interface IriTemplateMapping {
6
6
"@type" : "IriTemplateMapping" ;
7
7
variable : "string" ;
8
8
property : string | null ;
9
9
required : boolean ;
10
- } ;
10
+ }
11
11
12
- export type ExpandedOperation = {
12
+ export interface ExpandedOperation {
13
13
"@type" : [ "http://www.w3.org/ns/hydra/core#Operation" ] ;
14
14
"http://www.w3.org/2000/01/rdf-schema#label" : [
15
15
{
@@ -41,9 +41,9 @@ export type ExpandedOperation = {
41
41
"@value" : boolean ;
42
42
} ,
43
43
] ;
44
- } ;
44
+ }
45
45
46
- export type ExpandedRdfProperty = {
46
+ export interface ExpandedRdfProperty {
47
47
"@id" : string ;
48
48
"@type" : [
49
49
| "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property"
@@ -92,9 +92,9 @@ export type ExpandedRdfProperty = {
92
92
"@value" : number ;
93
93
} ,
94
94
] ;
95
- } ;
95
+ }
96
96
97
- export type ExpandedSupportedProperty = {
97
+ export interface ExpandedSupportedProperty {
98
98
"@type" : [ "http://www.w3.org/ns/hydra/core#SupportedProperty" ] ;
99
99
"http://www.w3.org/ns/hydra/core#title" : [
100
100
{
@@ -127,9 +127,9 @@ export type ExpandedSupportedProperty = {
127
127
"@value" : boolean ;
128
128
} ,
129
129
] ;
130
- } ;
130
+ }
131
131
132
- export type ExpandedClass = {
132
+ export interface ExpandedClass {
133
133
"@id" : string ;
134
134
"@type" : [ "http://www.w3.org/ns/hydra/core#Class" ] ;
135
135
"http://www.w3.org/2000/01/rdf-schema#label" ?: [
@@ -159,9 +159,9 @@ export type ExpandedClass = {
159
159
"@value" : boolean ;
160
160
} ,
161
161
] ;
162
- } ;
162
+ }
163
163
164
- export type ExpandedDoc = {
164
+ export interface ExpandedDoc {
165
165
"@id" : string ;
166
166
"@type" : [ "http://www.w3.org/ns/hydra/core#ApiDocumentation" ] ;
167
167
"http://www.w3.org/ns/hydra/core#title" : [
@@ -180,9 +180,9 @@ export type ExpandedDoc = {
180
180
} ,
181
181
] ;
182
182
"http://www.w3.org/ns/hydra/core#supportedClass" : ExpandedClass [ ] ;
183
- } ;
183
+ }
184
184
185
- export type Entrypoint = {
185
+ export interface Entrypoint {
186
186
"@id" : string ;
187
187
"@type" : [ string ] ;
188
188
[ key : string ] :
@@ -193,4 +193,4 @@ export type Entrypoint = {
193
193
]
194
194
| string
195
195
| [ string ] ;
196
- } ;
196
+ }
0 commit comments