Search
Preparing search index...
The search index is not available
Deco Three Documentation - v1.0.2
Options
All
Public
Public/Protected
All
Inherited
Menu
Deco Three Documentation - v1.0.2
ThreeCoreControllerMiddleware
Class ThreeCoreControllerMiddleware
Hierarchy
PolicyController
ThreeCoreControllerMiddleware
Index
Constructors
constructor
Methods
clear
Import
delete
Data
extend
Get
All
Query
fetch
Buildings
Infos
fetch
Key
Values
importIFC
importJSON
Constructors
constructor
new
Three
Core
Controller
Middleware
(
model
:
typeof
Model
)
:
ThreeCoreControllerMiddleware
Parameters
model:
typeof
Model
Returns
ThreeCoreControllerMiddleware
Methods
clear
Import
clear
Import
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
:
void
Parameters
req:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
res:
Response
<
any
,
Record
<
string
,
any
>
>
next:
NextFunction
Returns
void
delete
Data
delete
Data
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
:
void
Parameters
req:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
res:
Response
<
any
,
Record
<
string
,
any
>
>
next:
NextFunction
Returns
void
extend
Get
All
Query
extend
Get
All
Query
(
query
:
Query
, req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
)
:
Promise
<
void
>
Parameters
query:
Query
req:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
res:
Response
<
any
,
Record
<
string
,
any
>
>
Returns
Promise
<
void
>
fetch
Buildings
Infos
fetch
Buildings
Infos
(
)
:
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
=>
void
Returns
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
=>
void
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
:
void
Parameters
req:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
res:
Response
<
any
,
Record
<
string
,
any
>
>
next:
NextFunction
Returns
void
fetch
Key
Values
fetch
Key
Values
(
)
:
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
=>
void
Returns
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
=>
void
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
:
void
Parameters
req:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
res:
Response
<
any
,
Record
<
string
,
any
>
>
next:
NextFunction
Returns
void
importIFC
importIFC
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
:
void
Parameters
req:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
res:
Response
<
any
,
Record
<
string
,
any
>
>
next:
NextFunction
Returns
void
importJSON
importJSON
(
req
:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
, res
:
Response
<
any
,
Record
<
string
,
any
>
>
, next
:
NextFunction
)
:
void
Parameters
req:
Request
<
ParamsDictionary
,
any
,
any
,
ParsedQs
,
Record
<
string
,
any
>
>
res:
Response
<
any
,
Record
<
string
,
any
>
>
next:
NextFunction
Returns
void
Exports
Three
Core
Controller
Middleware
constructor
clear
Import
delete
Data
extend
Get
All
Query
fetch
Buildings
Infos
fetch
Key
Values
importIFC
importJSON
Generated using
TypeDoc