Index

libs/age-range/src/age-ranges.ts

ageRanges
ageRanges: []
Type : []
Default value : [ { label: 'Under 18', lower: 0, upper: 18 }, { label: '18 - 39', lower: 18, upper: 40 }, { label: '40 - 59', lower: 40, upper: 60 }, { label: '60 and up', lower: 60, upper: 999 } ]

libs/employee-api/src/employee-api.service.ts

API_JITTER
API_JITTER: number
Type : number
Default value : 250
API_LATENCY
API_LATENCY: number
Type : number
Default value : 50
API_URL
API_URL: string
Type : string
Default value : '/api'
EMP_URL
EMP_URL:
Default value : API_URL + '/employees'

libs/video-stat-dashboard/src/+state/video-stats.reducer.ts

currentVideo
currentVideo:
Default value : (prevState: string = undefined, action: VideoStatsAction): string => { switch (action.type) { case 'VIDEO_SELECTED': return action.payload; default: return prevState; } }
topList
topList:
Default value : (prevState: string[] = [], action: VideoStatsAction): string[] => { switch (action.type) { default: return prevState; } }
videoList
videoList:
Default value : (state: Video[] = [], action: VideoStatsAction) => { switch (action.type) { case 'VIDEOS_ARRIVED': return action.payload; default: return state; } }
videoStatsReducerMap
videoStatsReducerMap: object
Type : object
Default value : { videoList, viewsFilter, currentVideo, viewsBreakdown, topList }
viewsBreakdown
viewsBreakdown:
Default value : (prevState: ViewsBreakdownState = viewsBreakdownStateInitial, action: VideoStatsAction): ViewsBreakdownState => { switch (action.type) { case 'ADD_NEW_GRAPH_AXIS': const selectedAxis = [...prevState.selectedAxis, action.payload]; return Object.assign({}, prevState, { selectedAxis }); default: return prevState; } }
viewsFilter
viewsFilter:
Default value : (previousState: ViewsFilterState = viewsFilterInitialState, action: VideoStatsAction): ViewsFilterState => { switch (action.type) { case 'CHANGE_REGION': return Object.assign({}, previousState, { region: action.payload }); case 'CHANGE_DATE_FROM': return Object.assign({}, previousState, { dateFrom: action.payload }); case 'CHANGE_DATE_TO': return Object.assign({}, previousState, { dateTo: action.payload }); case 'TOGGLE_AGE': const ageRanges = previousState.ageRanges.slice(); // clone ageRanges[action.payload] = !ageRanges[action.payload]; return Object.assign({}, previousState, { ageRanges }); default: return previousState; } }

libs/retry-loader/src/faulty.ts

DEFAULT_OPTIONS
DEFAULT_OPTIONS: object
Type : object
Default value : { errorProbability: 0.3, maxDelayMs: 1000 }

libs/retry-loader/src/load-with-retry.ts

DEFAULT_OPTIONS
DEFAULT_OPTIONS: LoadWithRetryOptions
Type : LoadWithRetryOptions
Default value : { attempts: 3, retryDelayMs: 2000, retryBackoffCoefficient: 1.5, retryMaxDelayMs: 30000 }
StatusStrings
StatusStrings: []
Type : []
Default value : [ 'In Progress', 'Retrying', 'Waiting to Retry', 'Success', 'Error' ]

libs/fruit-basket/src/state/state.ts

EMPTY_CART
EMPTY_CART: string
Type : string
Default value : 'EMPTY_CART'
fruitReducerMap
fruitReducerMap: object
Type : object
Default value : { berryCounter: berryCounterReducer, appleCounter: appleCounterReducer }
PICK_APPLES
PICK_APPLES: string
Type : string
Default value : 'PICK_APPLES'
PICK_BERRY
PICK_BERRY: string
Type : string
Default value : 'PICK_BERRY'

apps/portal/src/environments/environment.ts

environment
environment: object
Type : object
Default value : { production: false }

apps/portal/src/environments/environment.prod.ts

environment
environment: object
Type : object
Default value : { production: true }

apps/admin/src/environments/environment.ts

environment
environment: object
Type : object
Default value : { production: false }

apps/agent/src/environments/environment.ts

environment
environment: object
Type : object
Default value : { production: false }

apps/admin/src/environments/environment.prod.ts

environment
environment: object
Type : object
Default value : { production: true }

apps/agent/src/environments/environment.prod.ts

environment
environment: object
Type : object
Default value : { production: true }

libs/video-stat-dashboard/src/video-stat-dashboard.module.ts

FEATURE_REDUCER_TOKEN
FEATURE_REDUCER_TOKEN:
Default value : new InjectionToken<ActionReducerMap<VideoStats>>('Feature Reducers')

libs/fruit-basket/src/fruit-basket.module.ts

FEATURE_REDUCER_TOKEN
FEATURE_REDUCER_TOKEN:
Default value : new InjectionToken<ActionReducerMap<FruitState>>('Feature Reducers')
ROUTES
ROUTES: []
Type : []
Default value : [ { path: '', pathMatch: 'full', component: BasketUiComponent } ]

libs/video-stat-dashboard/src/services/views-breakdown.service.ts

GRAPH_HEIGHT
GRAPH_HEIGHT: number
Type : number
Default value : 200
GRAPH_WIDTH
GRAPH_WIDTH: number
Type : number
Default value : 500

libs/employee-management/src/employee-management.routes.ts

ROUTED_COMPONENTS
ROUTED_COMPONENTS: []
Type : []
Default value : [ ManagementScreenComponent, EmployeeFieldsComponent, AddEmployeeComponent, EditEmployeeComponent ]
ROUTER_MODULE
ROUTER_MODULE:
Default value : RouterModule.forChild(ROUTES)
ROUTES
ROUTES: []
Type : []
Default value : [ { path: 'add', component: AddEmployeeComponent }, { path: ':id', component: EditEmployeeComponent }, { path: '', component: ManagementScreenComponent } ]

apps/agent/src/app/app.module.ts

ROUTES
ROUTES: []
Type : []
Default value : [ { path: '', pathMatch: 'full', redirectTo: 'employee-search' }, { path: 'employee-list', loadChildren: '@enterprise-example/employee-list#EmployeeListModule' }, { path: 'employee-search', loadChildren: '@enterprise-example/employee-search#EmployeeSearchModule' } ]

apps/admin/src/app/app.module.ts

ROUTES
ROUTES: []
Type : []
Default value : [ { path: '', pathMatch: 'full', redirectTo: 'video-stat-dashboard' }, { path: 'employee-list', loadChildren: '@enterprise-example/employee-list#EmployeeListModule' }, { path: 'employee-management', loadChildren: '@enterprise-example/employee-management#EmployeeManagementModule' }, { path: 'employee-search', loadChildren: '@enterprise-example/employee-search#EmployeeSearchModule' }, { path: 'fruit-basket', loadChildren: '@enterprise-example/fruit-basket#FruitBasketModule' }, { path: 'video-stat-dashboard', loadChildren: '@enterprise-example/video-stat-dashboard#VideoStatDashboardModule' } ]

apps/portal/src/app/app.module.ts

ROUTES
ROUTES: []
Type : []
Default value : [ { path: '', pathMatch: 'full', redirectTo: 'emp-search' }, { path: 'emp-search', loadChildren: '@enterprise-example/employee-search#EmployeeSearchModule' } ]

libs/employee-search/src/employee-search.module.ts

ROUTES
ROUTES: []
Type : []
Default value : [ { path: '', component: EmployeeListComponent } ]

libs/employee-list/src/employee-list.module.ts

ROUTES
ROUTES: []
Type : []
Default value : [ { path: '', component: EmployeeListComponent } ]

libs/video-stat-dashboard/src/video-container/video-container-display.component.ts

URLPREFIX
URLPREFIX: string
Type : string
Default value : 'https://www.youtube.com/embed/'

libs/video-stat-dashboard/src/services/mock-video-list.ts

VIDEO_LIST
VIDEO_LIST: []
Type : []
Default value : [ { 'title': 'video 1', 'author': 'Video Author 1', 'id': 'JPuqluYYa-o', 'viewDetails': [ { 'age': 17, 'region': 'North America', 'date': '2016-03-23' }, { 'age': 27, 'region': 'North America', 'date': '2016-03-23' }, { 'age': 37, 'region': 'North America', 'date': '2016-03-23' }, { 'age': 47, 'region': 'Europe', 'date': '2016-03-24' }, { 'age': 37, 'region': 'North America', 'date': '2016-03-24' }, { 'age': 17, 'region': 'North America', 'date': '2016-03-25' } ] }, { 'title': 'video 2', 'author': 'Video Author 2', 'id': 'CkK1BT6mMAw', 'viewDetails': [ { 'age': 36, 'region': 'North America', 'date': '2016-06-23' }, { 'age': 30, 'region': 'North America', 'date': '2016-06-23' }, { 'age': 54, 'region': 'North America', 'date': '2016-07-23' }, { 'age': 43, 'region': 'Europe', 'date': '2016-0-24' }, { 'age': 32, 'region': 'North America', 'date': '2016-08-24' }, { 'age': 32, 'region': 'North America', 'date': '2016-08-25' } ] }, { 'title': 'video 3', 'author': 'Video Author 3', 'id': 'eBLTz8QRg4Q', 'viewDetails': [ { 'age': 17, 'region': 'North America', 'date': '2016-03-23' }, { 'age': 27, 'region': 'North America', 'date': '2016-03-23' }, { 'age': 37, 'region': 'North America', 'date': '2016-03-23' }, { 'age': 47, 'region': 'Europe', 'date': '2016-03-24' }, { 'age': 37, 'region': 'North America', 'date': '2016-03-24' }, { 'age': 17, 'region': 'North America', 'date': '2016-03-25' } ] }, { 'title': 'video 4', 'author': 'Video Author 4', 'id': '4ENpTiHKyi4', 'viewDetails': [ { 'age': 36, 'region': 'North America', 'date': '2016-06-23' }, { 'age': 30, 'region': 'North America', 'date': '2016-06-23' }, { 'age': 54, 'region': 'North America', 'date': '2016-07-23' }, { 'age': 43, 'region': 'Europe', 'date': '2016-0-24' }, { 'age': 32, 'region': 'North America', 'date': '2016-08-24' }, { 'age': 32, 'region': 'North America', 'date': '2016-08-25' } ] }, { 'title': 'video 5', 'author': 'Video Author 5', 'id': 'NQOCQq6PLQg', 'viewDetails': [ { 'age': 17, 'region': 'North America', 'date': '2016-03-23' }, { 'age': 27, 'region': 'North America', 'date': '2016-03-23' }, { 'age': 37, 'region': 'North America', 'date': '2016-03-23' }, { 'age': 47, 'region': 'Europe', 'date': '2016-03-24' }, { 'age': 37, 'region': 'North America', 'date': '2016-03-24' }, { 'age': 17, 'region': 'North America', 'date': '2016-03-25' } ] } ]

libs/video-stat-dashboard/src/+state/video-stats.init.ts

viewsBreakdownStateInitial
viewsBreakdownStateInitial: ViewsBreakdownState
Type : ViewsBreakdownState
Default value : { selectedAxis: ['age'] }
viewsFilterInitialState
viewsFilterInitialState: ViewsFilterState
Type : ViewsFilterState
Default value : { region: 'All', dateTo: moment().startOf('day').valueOf(), dateFrom: moment('1995-01-01').valueOf(), ageRanges: [true, true, true, true] }

results matching ""

    No results matching ""