allowedProperties |
Type : []
|
Default value : ['sort', '_source', '_score']
|
List of allowed properties in this DTO |
allowedProperties |
Type : []
|
Default value : ['size', 'query', 'pit', 'sort']
|
List of allowed properties in this DTO |
allowedProperties |
Type : []
|
Default value : ['took', 'timed_out', '_shards', 'hits', 'pit_id']
|
List of allowed properties in this DTO |
allowedProperties |
Type : []
|
Default value : ['data', 'meta']
|
List of allowed properties in this DTO |
allowedProperties |
Type : []
|
Default value : ['id', 'title', 'authors', 'topic', 'summary', 'tags', 'content']
|
List of allowed properties in this DTO |
allowedProperties |
Type : []
|
Default value : ['query', 'es_query']
|
List of allowed properties in this DTO |
allowedProperties |
Type : []
|
Default value : ['query', 'pagen', 'limit', 'order']
|
List of allowed properties in this DTO |
allowedProperties |
Type : []
|
Default value : ['data', 'status']
|
List of allowed properties in this DTO |
IS_PUBLIC_KEY |
Type : string
|
Default value : 'isPublic'
|
key for public state |
Public |
Default value : () => SetMetadata(IS_PUBLIC_KEY, true)
|
decorates method as public |
modulesList |
Default value : Object.keys(modules).map(moduleIndex => modules[moduleIndex as keyof typeof modules])
|
application modules list |
Roles |
Default value : (...roles: Role[]) => SetMetadata(ROLES_KEY, roles)
|
retuns a list of defined roles |
ROLES_KEY |
Type : string
|
Default value : 'roles'
|
keys of roles |