initial_script_insert_master.js 1.29 KB
use DMAMANAGER

db.storyboard_target_type.drop()

db.createCollection("storyboard_target_type")

db.storyboard_target_type.insert(
	[
		{
			"name" : "Extra",
			"api" : "listExtraTarget"
		},
		{
			"name" : "Screen",
			"api" : "listAppUi"
		}
	]
)

db.storyboard_extra_target_type.drop()

db.createCollection("storyboard_extra_target_type")

db.storyboard_extra_target_type.insert(
	[
		{
			"uiName" : "self"
		},
		{
			"uiName" : "refresh"
		}
	]
)

db.screen_input_type.drop()

db.createCollection("screen_input_type")

db.screen_input_type.insert(
	[
		{
			"name" : "Global",
			"api" : "listGlobalValue"
		},
		{
			"name" : "Native",
			"api" : "listScreenNativeInputType"
		}
	]
)

db.screen_native_input_type.drop()

db.createCollection("screen_native_input_type")

db.screen_native_input_type.insert(
	[
		{
			"globalName" : "Not required location permission",
			"fieldType" : "Location",
			"source" : "Native",
			"api" : "",
			"action" : "",
			"dataStructure" : "",
			"className" : "LocationBlank",
			"dmaParameter" : "_dma_internal_location"
		},
		{
			"globalName" : "Required location permission",
			"fieldType" : "Location",
			"source" : "Native",
			"api" : "",
			"action" : "",
			"dataStructure" : "",
			"className" : "LocationCheck",
			"dmaParameter" : "_dma_internal_location"
		}
	]
)