1.1.28 • Published 1 month ago
@outliant/sunrise-utils v1.1.28
Sunrise Utils
A Node.js package that contains code which is commonly used Project Sunrise
You have the following utils available:
log
: Custom logging for sunrise projectsfieldConditions
: Returns an array for sunrise column filterstaskPipeline
: Task pipeline reusable codestaskStatusOptions
: Array of task status column optionsdefaultCustomColumns
: Array of task pipeline custom columnsbuildFiltersQuery(orgId, departmentId, filters = [], query = {}, searchFields = [])
: Function to build task pipeline filter ES queryorgId
: Organization IDdepartmentId
: Department IDfilters
: Array of filtersquery
: Query request params that includessize
,projectId
,search
searchFields
: Array of fields that thesearch
will run against including the defaults
buildSortScript(query = {}, customSort = [])
: Function to build task pipeline sort scriptquery
: Query request params that includessort
,sortBy
customSort
: Array of custom ES sorting script that will be appended to the list of sorting script
projectPipeline
: Project pipeline reusable codesbuildFiltersQuery(orgId, departmentId, filters = [], query = {}, searchFields = [])
: Function to build task pipeline filter ES queryorgId
: Organization IDdepartmentId
: Department IDfilters
: Array of filtersquery
: Query request params that includessize
,projectId
,search
searchFields
: Array of fields that thesearch
will run against including the defaults
buildSortScript(query = {}, customSort = [])
: Function to build task pipeline sort scriptquery
: Query request params that includessort
,sortBy
customSort
: Array of custom ES sorting script that will be appended to the list of sorting script
Installation
npm i @outliant/sunrise-utils
1.1.28
1 month ago
1.1.27
1 month ago
1.1.26
2 months ago
1.1.25
2 months ago
1.1.24
2 months ago
1.1.23
2 months ago
1.1.22
2 months ago
1.1.21
3 months ago
1.1.20
3 months ago
1.1.19
4 months ago
1.1.18
4 months ago
1.1.17
4 months ago
1.1.16
5 months ago
1.1.15
5 months ago
1.1.14
5 months ago
1.1.9
7 months ago
1.1.8
8 months ago
1.1.7
8 months ago
1.1.6
8 months ago
1.1.12
6 months ago
1.1.11
7 months ago
1.1.10
7 months ago
1.1.13
6 months ago
1.1.5
12 months ago
1.1.4
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.1.3
1 year ago
1.0.4
1 year ago
1.1.2
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.3
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago