@corva/ui 0.23.0-7 → 0.23.0-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/constants/wellSummary.js +1 -1
- package/package.json +1 -1
package/constants/wellSummary.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{get as a}from"lodash";var t="/static/media/00540440635d868542f0b1e6c01b459b.svg",e="/static/media/b0b1d748a61692cd1bc2a6b41bb4d862.svg",o="/static/media/8a08caefcbafbcdaa3f0af1afe23f54b.svg",i="/static/media/5324a810000956e377669ef1d862660f.svg",r="/static/media/ca6fe854cf3b94ac7018b5447e9b8c6b.svg",n="/static/media/c0a8ba7272d80b8721250551f86252f0.svg",d="/static/media/66973b6752d85d049d02440a64c83816.svg",c={PREVIOUS_24H_STAGE_COUNT:{key:"PREVIOUS_24H_STAGE_COUNT",label:"Previous 24h Stages",dataGetter:function(t){var e=a(t,["corva#completion-metrics","data","metrics"]);return{previous24hStageCount:e?a(e.filter((function(a){return"stage_count"===a.key})),["0","split"]):0}}},PREVIOUS_24H_PUMPING_HOURS:{key:"PREVIOUS_24H_PUMPING_HOURS",label:"Previous 24h Pumping",dataGetter:function(t){var e=a(t,["corva#completion-metrics","data","metrics"]);return{previous24hPumpingHours:e?a(e.filter((function(a){return"pumping_hours"===a.key})),["0","split"]):0}}},HOLE_DEPTH:{key:"HOLE_DEPTH",label:"Hole Depth",dataSource:[{provider:"corva",collection:"wits",fields:["data.hole_depth"]}],dataGetter:function(t){return{holeDepth:a(t,["corva#wits","data","hole_depth"])}}},BIT_HOLE_DEPTH:{key:"BIT_HOLE_DEPTH",label:"Bit/Hole Depth",dataSource:[{provider:"corva",collection:"wits",fields:["data.bit_depth"]},{provider:"corva",collection:"wits",fields:["data.hole_depth"]}],dataGetter:function(t){return{bitDepth:a(t,["corva#wits","data","bit_depth"]),holeDepth:a(t,["corva#wits","data","hole_depth"])}}},LAST_ACTIVE:{key:"LAST_ACTIVE",label:"Last Active",dataSource:[{provider:"corva",collection:"wits",fields:["timestamp"]}],dataGetter:function(t){return{timestamp:a(t,["corva#wits","timestamp"])}}},PHASE:{key:"PHASE",label:"Phase",dataSource:[{provider:"corva",collection:"data-well-sections-phases",fields:["data.phase_name"]}],dataGetter:function(t){return{phaseName:a(t,["corva#data-well-sections-phases","data","phase_name"])}}},CURRENT_ACTIVITY:{key:"CURRENT_ACTIVITY",label:"Current Activity",dataSource:[{provider:"corva",collection:"wits",fields:["data.state"]}],dataGetter:function(t){return{activityName:a(t,["corva#wits","data","state"])}}},HOLE_SECTION:{key:"HOLE_SECTION",label:"Hole Section",icon:"/static/media/0ba421f68bdeed555d761342b1a1b045.svg",dataSource:[{provider:"corva",collection:"data-well-sections",fields:["data.name"]}],dataGetter:function(t){return{sectionName:a(t,["corva#data-well-sections","data","name"])}}},BHA:{key:"BHA",label:"BHA",icon:t,dataSource:[{provider:"corva",collection:"data-drillstring",fields:["timestamp","data.id","data.components.family","data.components.material","data.components.stabilizer","data.components.bit_type","data.setting_timestamp"]}],dataGetter:function(t){return{components:a(t,["corva#data-drillstring","data","components"]),bhaId:a(t,["corva#data-drillstring","data","id"])}}},BHA_COUNT:{key:"BHA_COUNT",label:"# of Total BHAs",icon:t,dataSource:[{provider:"corva",collection:"data-drillstring",fields:["data.id"]}],dataGetter:function(t){return{count:a(t,["corva#data-drillstring","data","id"])}}},CASING:{key:"CASING",label:"Casing",icon:e,dataSource:[{provider:"corva",collection:"data-casing",fields:["timestamp","data.outer_diameter","data.setting_timestamp"]}],dataGetter:function(t){return{outerDiameter:a(t,["corva#data-casing","data","outer_diameter"]),settingTimestamp:a(t,["corva#data-casing","data","setting_timestamp"])}}},STRING_DESIGN:{key:"STRING_DESIGN",label:"String Design",icon:e},TOTAL_COST:{key:"TOTAL_COST",label:"Total Cost",icon:"/static/media/ad2f90b277877ab4b461a002a885d501.svg"},MUD:{key:"MUD",label:"Mud",icon:o,dataSource:[{provider:"corva",collection:"data-mud",fields:["data.mud_density","data.mud_type"]}],dataGetter:function(t){return{mudDensity:a(t,["corva#data-mud","data","mud_density"]),mudType:a(t,["corva#data-mud","data","mud_type"])}}},TARGET_FORMATION:{key:"TARGET_FORMATION",label:"Target Formation",icon:i},DIVERGENCE:{key:"DIVERGENCE",label:"Divergence From Plan",icon:"/static/media/905e8af2a0d8a649a153959a561b87b7.svg",dataSource:[{provider:"corva",collection:"directional-accuracy",fields:["data.horizontal_plane.distance","data.horizontal_plane.ahead","data.horizontal_plane.right"]}],dataGetter:function(t){return{distance:a(t,["corva#directional-accuracy","data","horizontal_plane","distance"]),ahead:a(t,["corva#directional-accuracy","data","horizontal_plane","ahead"]),right:a(t,["corva#directional-accuracy","data","horizontal_plane","right"])}}},NPT:{key:"NPT",label:"NPT",icon:r,dataSource:[{provider:"corva",collection:"data-npt-events",fields:["data.type","data.start_time","data.end_time"]}],dataGetter:function(t){return{nptType:a(t,["corva#data-npt-events","data","type"]),startTime:a(t,["corva#data-npt-events","data","start_time"]),endTime:a(t,["corva#data-npt-events","data","end_time"])}}},OPERATIONS_SUMMARY:{key:"OPERATIONS_SUMMARY",label:"Operations Summary",icon:"/static/media/e8baca5bdb92a559a66ca0e4f444c8ac.svg",dataSource:[{provider:"corva",collection:"data-operation-summaries",fields:["data"]}],dataGetter:function(t){return{dateTime:a(t,["corva#data-operation-summaries","data","date_time"]),summary:a(t,["corva#data-operation-summaries","data","summary"])}}},ALERT:{key:"ALERT",label:"Alerts",icon:n,dataSource:[{collection:"alert"}],dataGetter:function(t){return{decisionPath:a(t,["alert","decision_path"])}}},ANNOTATION:{key:"ANNOTATION",label:"Comments",icon:d,dataSource:[{collection:"app_annotation"}],dataGetter:function(t){return{firstName:a(t,["app_annotation","user","first_name"]),lastName:a(t,["app_annotation","user","last_name"]),profilePhoto:a(t,["app_annotation","user","profile_photo"]),content:a(t,["app_annotation","context","app_annotation","body"])}}},DRILLING_PERIOD:{key:"DRILLING_PERIOD",label:"Drilling Period",dataSource:[],dataGetter:function(t){return{start:a(t,["asset","stats","drilling","start"]),end:a(t,["asset","stats","drilling","end"])}}}},l={PREVIOUS_24H_STAGE_COUNT:{key:"COMPLETION_PREVIOUS_24H_STAGE_COUNT",label:"Previous 24h Stages",dataGetter:function(t){var e=a(t,["corva#completion-metrics","data","metrics"]);return{previous24hStageCount:e?a(e.filter((function(a){return"stage_count"===a.key})),["0","split"]):0}}},PREVIOUS_24H_PUMPING_HOURS:{key:"COMPLETION_PREVIOUS_24H_PUMPING_HOURS",label:"Previous 24h Pumping",dataGetter:function(t){var e=a(t,["corva#completion-metrics","data","metrics"]);return{previous24hPumpingHours:e?a(e.filter((function(a){return"pumping_hours"===a.key})),["0","split"]):0}}},LAST_ACTIVE:{key:"COMPLETION_LAST_ACTIVE",label:"Last Active",dataSource:[{provider:"corva",collection:"completion-wits",fields:["timestamp"]},{provider:"corva",collection:"wireline-wits",fields:["timestamp"]}],dataGetter:function(t){var e=a(t,["corva#completion-wits","timestamp"]),o=a(t,["corva#wireline-wits","timestamp"]),i=null;return e&&o?i=e>o?e:o:e?i=e:o&&(i=o),{timestamp:i}}},CURRENT_ACTIVITY:{key:"COMPLETION_CURRENT_ACTIVITY",label:"Current Activity",dataSource:[{provider:"corva",collection:"completion-wits",fields:["timestamp"]},{provider:"corva",collection:"wireline-wits",fields:["timestamp"]}],dataGetter:function(t){var e=a(t,["corva#completion-wits","timestamp"]),o=a(t,["corva#wireline-wits","timestamp"]),i="";return e&&o?i=e>o?"frac":"wireline":e?i="frac":o&&(i="wireline"),{activityName:i}}},STAGE:{key:"COMPLETION_STAGE",label:"Stage",dataSource:[{provider:"corva",collection:"completion-wits",fields:["stage_number"]},{provider:"corva",collection:"completion-data-stages",fields:["data.stage_number"]}],dataGetter:function(t){return{planned:a(t,["corva#completion-data-stages","data","stage_number"]),actual:a(t,["corva#completion-wits","stage_number"])}}},PROPPANTS:{key:"COMPLETION_PROPPANTS",label:"Proppant Type",icon:"/static/media/c36bd155405be845b8331c1a878a117e.svg",dataSource:[{provider:"corva",collection:"completion-data-actual-stages",fields:["data.proppants"]}],dataGetter:function(t){return{proppants:a(t,["corva#completion-data-actual-stages","data","proppants"])||[]}}},FLUIDS:{key:"COMPLETION_FLUIDS",label:"Fluid Type",icon:"/static/media/c114aecc412f5d59429823554dd71245.svg",dataSource:[{provider:"corva",collection:"completion-data-actual-stages",fields:["data.fluids"]}],dataGetter:function(t){return{fluids:a(t,["corva#completion-data-actual-stages","data","fluids"])||[]}}},TARGET_FORMATION:{key:"COMPLETION_TARGET_FORMATION",label:"Target Formation",icon:i},NPT:{key:"COMPLETION_NPT",label:"NPT",icon:r,dataSource:[{provider:"corva",collection:"completion-data-npt-events",fields:["data.type","data.start_time","data.end_time"]}],dataGetter:function(t){return{nptType:a(t,["corva#completion-data-npt-events","data","type"]),startTime:a(t,["corva#completion-data-npt-events","data","start_time"]),endTime:a(t,["corva#completion-data-npt-events","data","end_time"])}}},PLUGS_DRILLED_COUNT:{key:"PLUGS_DRILLED_COUNT",label:"Plugs drilled",dataSource:[{provider:"corva",collection:"completion-data-plugs",fields:["data"]}],dataGetter:function(t){return{plugsDrilledCount:(a(t,["corva#completion-data-plugs"])||[]).length}}},OPERATIONS_SUMMARY:{key:"COMPLETION_OPERATIONS_SUMMARY",label:"Operations Summary",icon:"/static/media/e8baca5bdb92a559a66ca0e4f444c8ac.svg",dataSource:[{provider:"corva",collection:"completion-data-operation-summaries",fields:["data"]}],dataGetter:function(t){return{dateTime:a(t,["corva#completion-data-operation-summaries","data","date_time"]),summary:a(t,["corva#completion-data-operation-summaries","data","summary"])}}},ALERT:{key:"COMPLETION_ALERT",label:"Alerts",icon:n,dataSource:[{collection:"alert"}],dataGetter:function(t){return{decisionPath:a(t,["alert","decision_path"])}}},ANNOTATION:{key:"COMPLETION_ANNOTATION",label:"Comments",icon:d,dataSource:[{collection:"app_annotation"}],dataGetter:function(t){return{firstName:a(t,["app_annotation","user","first_name"]),lastName:a(t,["app_annotation","user","last_name"]),profilePhoto:a(t,["app_annotation","user","profile_photo"]),content:a(t,["app_annotation","context","app_annotation","body"])}}},COMPLETION_PERIOD:{key:"COMPLETION_PERIOD",label:"Completion Period",dataSource:[],dataGetter:function(t){return{start:a(t,["asset","stats","completion","start"]),end:a(t,["asset","stats","completion","end"])}}},TOTAL_FRAC_TIME:{key:"TOTAL_FRAC_TIME",label:"Total Frac Time",dataSource:[]},TOTAL_WIRELINE_TIME:{key:"TOTAL_WIRELINE_TIME",label:"Total Wireline Time",dataSource:[]},STAGES_DESIGN:{key:"STAGES_DESIGN",label:"Stages Design vs Actual",dataSource:[{collection:"completion-data-stages"}],dataGetter:function(t){return{totalNumberOfStages:a(t,["completion-data-stages","data","stage_number"])}}}},s={MUD:{key:"DRILLOUT_MUD",label:"MUD",icon:o,dataSource:[{provider:"corva",collection:"drillout-data-mud",fields:["data.mud_density","data.mud_type"]}],dataGetter:function(t){return{mudDensity:a(t,["corva#drillout-data-mud","data","mud_density"]),mudType:a(t,["corva#drillout-data-mud","data","mud_type"])}}},BHA:{key:"DRILLOUT_BHA",label:"BHA",icon:t,dataSource:[{provider:"corva",collection:"drillout-data-drillstring",fields:["timestamp","data.id","data.components.family","data.components.material","data.components.stabilizer","data.components.bit_type","data.setting_timestamp"]}],dataGetter:function(t){return{components:a(t,["corva#drillout-data-drillstring","data","components"]),bhaId:a(t,["corva#drillout-data-drillstring","data","id"])}}}};export{l as COMPLETION_WELL_SUMMARY,c as DRILLING_WELL_SUMMARY,s as DRILLOUT_WELL_SUMMARY};
|
|
1
|
+
import{get as a}from"lodash";var t="/static/media/00540440635d868542f0b1e6c01b459b.svg",e="/static/media/b0b1d748a61692cd1bc2a6b41bb4d862.svg",o="/static/media/8a08caefcbafbcdaa3f0af1afe23f54b.svg",i="/static/media/5324a810000956e377669ef1d862660f.svg",r="/static/media/ca6fe854cf3b94ac7018b5447e9b8c6b.svg",n="/static/media/c0a8ba7272d80b8721250551f86252f0.svg",d="/static/media/66973b6752d85d049d02440a64c83816.svg",c={PREVIOUS_24H_STAGE_COUNT:{key:"PREVIOUS_24H_STAGE_COUNT",label:"Previous 24h Stages",dataGetter:function(t){var e=a(t,["corva#completion-metrics","data","metrics"]);return{previous24hStageCount:e?a(e.filter((function(a){return"stage_count"===a.key})),["0","split"]):0}}},PREVIOUS_24H_PUMPING_HOURS:{key:"PREVIOUS_24H_PUMPING_HOURS",label:"Previous 24h Pumping",dataGetter:function(t){var e=a(t,["corva#completion-metrics","data","metrics"]);return{previous24hPumpingHours:e?a(e.filter((function(a){return"pumping_hours"===a.key})),["0","split"]):0}}},HOLE_DEPTH:{key:"HOLE_DEPTH",label:"Hole Depth",dataSource:[{provider:"corva",collection:"wits",fields:["data.hole_depth"]}],dataGetter:function(t){return{holeDepth:a(t,["corva#wits","data","hole_depth"])}}},BIT_HOLE_DEPTH:{key:"BIT_HOLE_DEPTH",label:"Bit/Hole Depth",dataSource:[{provider:"corva",collection:"wits",fields:["data.bit_depth"]},{provider:"corva",collection:"wits",fields:["data.hole_depth"]}],dataGetter:function(t){return{bitDepth:a(t,["corva#wits","data","bit_depth"]),holeDepth:a(t,["corva#wits","data","hole_depth"])}}},LAST_ACTIVE:{key:"LAST_ACTIVE",label:"Last Active",dataSource:[{provider:"corva",collection:"wits",fields:["timestamp"]}],dataGetter:function(t){return{timestamp:a(t,["corva#wits","timestamp"])}}},PHASE:{key:"PHASE",label:"Phase",dataSource:[{provider:"corva",collection:"data-well-sections-phases",fields:["data.phase_name"]}],dataGetter:function(t){return{phaseName:a(t,["corva#data-well-sections-phases","data","phase_name"])}}},CURRENT_ACTIVITY:{key:"CURRENT_ACTIVITY",label:"Current Activity",dataSource:[{provider:"corva",collection:"wits",fields:["data.state"]}],dataGetter:function(t){return{activityName:a(t,["corva#wits","data","state"])}}},HOLE_SECTION:{key:"HOLE_SECTION",label:"Hole Section",icon:"/static/media/0ba421f68bdeed555d761342b1a1b045.svg",dataSource:[{provider:"corva",collection:"data-well-sections",fields:["data.name"]}],dataGetter:function(t){return{sectionName:a(t,["corva#data-well-sections","data","name"])}}},BHA:{key:"BHA",label:"BHA",icon:t,dataSource:[{provider:"corva",collection:"data-drillstring",fields:["timestamp","data.id","data.components.family","data.components.material","data.components.stabilizer","data.components.bit_type","data.setting_timestamp"]}],dataGetter:function(t){return{components:a(t,["corva#data-drillstring","data","components"]),bhaId:a(t,["corva#data-drillstring","data","id"])}}},BHA_COUNT:{key:"BHA_COUNT",label:"# of Total BHAs",icon:t,dataSource:[{provider:"corva",collection:"data-drillstring",fields:["data.id"]}],dataGetter:function(t){return{count:a(t,["corva#data-drillstring","data","id"])}}},CASING:{key:"CASING",label:"Casing",icon:e,dataSource:[{provider:"corva",collection:"data-casing",fields:["timestamp","data.outer_diameter","data.setting_timestamp"]}],dataGetter:function(t){return{outerDiameter:a(t,["corva#data-casing","data","outer_diameter"]),settingTimestamp:a(t,["corva#data-casing","data","setting_timestamp"])}}},STRING_DESIGN:{key:"STRING_DESIGN",label:"String Design",icon:e},TOTAL_COST:{key:"TOTAL_COST",label:"Total Cost",icon:"/static/media/ad2f90b277877ab4b461a002a885d501.svg"},MUD:{key:"MUD",label:"Mud",icon:o,dataSource:[{provider:"corva",collection:"data-mud",fields:["data.mud_density","data.mud_type"]}],dataGetter:function(t){return{mudDensity:a(t,["corva#data-mud","data","mud_density"]),mudType:a(t,["corva#data-mud","data","mud_type"])}}},TARGET_FORMATION:{key:"TARGET_FORMATION",label:"Target Formation",icon:i},DIVERGENCE:{key:"DIVERGENCE",label:"Divergence From Plan",icon:"/static/media/905e8af2a0d8a649a153959a561b87b7.svg",dataSource:[{provider:"corva",collection:"directional-accuracy",fields:["data.horizontal_plane.distance","data.horizontal_plane.ahead","data.horizontal_plane.right"]}],dataGetter:function(t){return{distance:a(t,["corva#directional-accuracy","data","horizontal_plane","distance"]),ahead:a(t,["corva#directional-accuracy","data","horizontal_plane","ahead"]),right:a(t,["corva#directional-accuracy","data","horizontal_plane","right"])}}},NPT:{key:"NPT",label:"NPT",icon:r,dataSource:[{provider:"corva",collection:"data-npt-events",fields:["data.type","data.start_time","data.end_time"]}],dataGetter:function(t){return{nptType:a(t,["corva#data-npt-events","data","type"]),startTime:a(t,["corva#data-npt-events","data","start_time"]),endTime:a(t,["corva#data-npt-events","data","end_time"])}}},OPERATIONS_SUMMARY:{key:"OPERATIONS_SUMMARY",label:"Operations Summary",icon:"/static/media/e8baca5bdb92a559a66ca0e4f444c8ac.svg",dataSource:[{provider:"corva",collection:"data-operation-summaries",fields:["data"]}],dataGetter:function(t){return{dateTime:a(t,["corva#data-operation-summaries","data","date_time"]),summary:a(t,["corva#data-operation-summaries","data","summary"])}}},ALERT:{key:"ALERT",label:"Alerts",icon:n,dataSource:[{collection:"alert"}],dataGetter:function(t){return{decisionPath:a(t,["alert","decision_path"])}}},ANNOTATION:{key:"ANNOTATION",label:"Comments",icon:d,dataSource:[{collection:"app_annotation"}],dataGetter:function(t){return{firstName:a(t,["app_annotation","user","first_name"]),lastName:a(t,["app_annotation","user","last_name"]),profilePhoto:a(t,["app_annotation","user","profile_photo"]),content:a(t,["app_annotation","context","app_annotation","body"])}}},DRILLING_PERIOD:{key:"DRILLING_PERIOD",label:"Drilling Period",dataSource:[],dataGetter:function(t){return{start:a(t,["asset","stats","drilling","start"]),end:a(t,["asset","stats","drilling","end"])}}}},l={PREVIOUS_24H_STAGE_COUNT:{key:"COMPLETION_PREVIOUS_24H_STAGE_COUNT",label:"Previous 24h Stages",dataGetter:function(t){var e=a(t,["corva#completion-metrics","data","metrics"]);return{previous24hStageCount:e?a(e.filter((function(a){return"stage_count"===a.key})),["0","split"]):0}}},PREVIOUS_24H_PUMPING_HOURS:{key:"COMPLETION_PREVIOUS_24H_PUMPING_HOURS",label:"Previous 24h Pumping",dataGetter:function(t){var e=a(t,["corva#completion-metrics","data","metrics"]);return{previous24hPumpingHours:e?a(e.filter((function(a){return"pumping_hours"===a.key})),["0","split"]):0}}},LAST_ACTIVE:{key:"COMPLETION_LAST_ACTIVE",label:"Last Active",dataSource:[{provider:"corva",collection:"completion-wits",fields:["timestamp"]},{provider:"corva",collection:"wireline-wits",fields:["timestamp"]}],dataGetter:function(t){var e=a(t,["corva#completion-wits","timestamp"]),o=a(t,["corva#wireline-wits","timestamp"]),i=null;return e&&o?i=e>o?e:o:e?i=e:o&&(i=o),{timestamp:i}}},CURRENT_ACTIVITY:{key:"COMPLETION_CURRENT_ACTIVITY",label:"Current Activity",dataSource:[{provider:"corva",collection:"completion-wits",fields:["timestamp"]},{provider:"corva",collection:"wireline-wits",fields:["timestamp"]}],dataGetter:function(t){var e=a(t,["corva#completion-wits","timestamp"]),o=a(t,["corva#wireline-wits","timestamp"]),i="";return e&&o?i=e>o?"frac":"wireline":e?i="frac":o&&(i="wireline"),{activityName:i}}},STAGE:{key:"COMPLETION_STAGE",label:"Stage",dataSource:[{provider:"corva",collection:"completion-wits",fields:["stage_number"]},{provider:"corva",collection:"completion-data-stages",fields:["data.stage_number"]}],dataGetter:function(t){return{planned:a(t,["corva#completion-data-stages","data","stage_number"]),actual:a(t,["corva#completion-wits","stage_number"])}}},PROPPANTS:{key:"COMPLETION_PROPPANTS",label:"Proppant Type",icon:"/static/media/c36bd155405be845b8331c1a878a117e.svg",dataSource:[{provider:"corva",collection:"completion-data-actual-stages",fields:["data.proppants"]}],dataGetter:function(t){return{proppants:a(t,["corva#completion-data-actual-stages","data","proppants"])||[]}}},FLUIDS:{key:"COMPLETION_FLUIDS",label:"Fluid Type",icon:"/static/media/c114aecc412f5d59429823554dd71245.svg",dataSource:[{provider:"corva",collection:"completion-data-actual-stages",fields:["data.fluids"]}],dataGetter:function(t){return{fluids:a(t,["corva#completion-data-actual-stages","data","fluids"])||[]}}},TARGET_FORMATION:{key:"COMPLETION_TARGET_FORMATION",label:"Target Formation",icon:i},NPT:{key:"COMPLETION_NPT",label:"NPT",icon:r,dataSource:[{provider:"corva",collection:"completion-data-npt-events",fields:["data.type","data.start_time","data.end_time"]}],dataGetter:function(t){return{nptType:a(t,["corva#completion-data-npt-events","data","type"]),startTime:a(t,["corva#completion-data-npt-events","data","start_time"]),endTime:a(t,["corva#completion-data-npt-events","data","end_time"])}}},PLUGS_DRILLED_COUNT:{key:"PLUGS_DRILLED_COUNT",label:"Plugs drilled",dataSource:[{provider:"corva",collection:"completion-data-plugs",fields:["data"]}],dataGetter:function(t){return{plugsDrilledCount:(a(t,["corva#completion-data-plugs"])||[]).length}}},OPERATIONS_SUMMARY:{key:"COMPLETION_OPERATIONS_SUMMARY",label:"Operations Summary",icon:"/static/media/e8baca5bdb92a559a66ca0e4f444c8ac.svg",dataSource:[{provider:"corva",collection:"completion-data-operation-summaries",fields:["data"]}],dataGetter:function(t){return{dateTime:a(t,["corva#completion-data-operation-summaries","data","date_time"]),summary:a(t,["corva#completion-data-operation-summaries","data","summary"])}}},ALERT:{key:"COMPLETION_ALERT",label:"Alerts",icon:n,dataSource:[{collection:"alert"}],dataGetter:function(t){return{decisionPath:a(t,["alert","decision_path"])}}},ANNOTATION:{key:"COMPLETION_ANNOTATION",label:"Comments",icon:d,dataSource:[{collection:"app_annotation"}],dataGetter:function(t){return{firstName:a(t,["app_annotation","user","first_name"]),lastName:a(t,["app_annotation","user","last_name"]),profilePhoto:a(t,["app_annotation","user","profile_photo"]),content:a(t,["app_annotation","context","app_annotation","body"])}}},COMPLETION_PERIOD:{key:"COMPLETION_PERIOD",label:"Completion Period",dataSource:[],dataGetter:function(t){return{start:a(t,["asset","stats","completion","start"]),end:a(t,["asset","stats","completion","end"])}}},TOTAL_FRAC_TIME:{key:"TOTAL_FRAC_TIME",label:"Total Frac Time",dataSource:[]},TOTAL_WIRELINE_TIME:{key:"TOTAL_WIRELINE_TIME",label:"Total Wireline Time",dataSource:[]},STAGES_DESIGN:{key:"STAGES_DESIGN",label:"Stages Design vs Actual",dataSource:[{collection:"completion-data-stages"}],dataGetter:function(t){return{totalNumberOfStages:a(t,["completion-data-stages","data","stage_number"])}}}},s={MUD:{key:"DRILLOUT_MUD",label:"Mud",icon:o,dataSource:[{provider:"corva",collection:"drillout-data-mud",fields:["data.mud_density","data.mud_type"]}],dataGetter:function(t){return{mudDensity:a(t,["corva#drillout-data-mud","data","mud_density"]),mudType:a(t,["corva#drillout-data-mud","data","mud_type"])}}},BHA:{key:"DRILLOUT_BHA",label:"BHA",icon:t,dataSource:[{provider:"corva",collection:"drillout-data-drillstring",fields:["timestamp","data.id","data.components.family","data.components.material","data.components.stabilizer","data.components.bit_type","data.setting_timestamp"]}],dataGetter:function(t){return{components:a(t,["corva#drillout-data-drillstring","data","components"]),bhaId:a(t,["corva#drillout-data-drillstring","data","id"])}}}};export{l as COMPLETION_WELL_SUMMARY,c as DRILLING_WELL_SUMMARY,s as DRILLOUT_WELL_SUMMARY};
|