MCPcopy Create free account
hub / github.com/dropbox/dbxcli / jsonContractDefinitions

Function jsonContractDefinitions

cmd/json_contract_test.go:1030–1084  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1028}
1029
1030func jsonContractDefinitions() map[string][]string {
1031 return normalizeStringSliceMap(map[string][]string{
1032 "account": jsonFieldNames[jsonAccount](),
1033 "account_auth": jsonFieldNames[accountAuth](),
1034 "account_input": jsonFieldNames[accountInput](),
1035 "account_name": jsonFieldNames[jsonAccountName](),
1036 "account_team": jsonFieldNames[jsonAccountTeam](),
1037 "du_allocation": jsonFieldNames[duAllocation](),
1038 "du_output": jsonFieldNames[duOutput](),
1039 "empty": {},
1040 "command_arg": jsonFieldNames[jsonCommandArg](),
1041 "command_example": jsonFieldNames[jsonCommandExample](),
1042 "command_flag": jsonFieldNames[jsonCommandFlag](),
1043 "command_input_property": jsonFieldNames[jsonCommandInputProperty](),
1044 "command_input_schema": jsonFieldNames[jsonCommandInputSchema](),
1045 "command_manifest": jsonFieldNames[jsonCommandManifest](),
1046 "command_schema_refs": jsonFieldNames[jsonCommandSchemaRefs](),
1047 "command_stdin_stdout": jsonFieldNames[jsonCommandStdinStdout](),
1048 "get_input": jsonFieldNames[getCommandInput](),
1049 "get_result_input": jsonFieldNames[getResultInput](),
1050 "help_input": jsonFieldNames[jsonHelpInput](),
1051 "ls_input": jsonFieldNames[lsInput](),
1052 "logout_result": jsonFieldNames[logoutResult](),
1053 "metadata": jsonFieldNames[jsonMetadata](),
1054 "mkdir_input": jsonFieldNames[mkdirInput](),
1055 "operation_output": jsonFieldNames[jsonOperationOutput](),
1056 "operation_result": jsonFieldNames[jsonOperationResult](),
1057 "put_input": jsonFieldNames[putCommandInput](),
1058 "put_result_input": jsonFieldNames[putResultInput](),
1059 "relocation_input": jsonFieldNames[relocationInput](),
1060 "remove_input": jsonFieldNames[removeInput](),
1061 "restore_input": jsonFieldNames[restoreInput](),
1062 "revs_input": jsonFieldNames[revsInput](),
1063 "search_input": jsonFieldNames[searchInput](),
1064 "share_folder": jsonFieldNames[shareFolderJSONMetadata](),
1065 "share_link_create_input": jsonFieldNames[shareLinkCreateInput](),
1066 "share_link_download_input": jsonFieldNames[shareLinkDownloadInput](),
1067 "share_link_download_result": jsonFieldNames[shareLinkDownloadResult](),
1068 "share_link_info_input": jsonFieldNames[shareLinkInfoInput](),
1069 "share_link_list_input": jsonFieldNames[shareLinkListInput](),
1070 "share_link_metadata": jsonFieldNames[shareLinkJSONMetadata](),
1071 "share_link_permissions": jsonFieldNames[shareLinkJSONPermissions](),
1072 "share_link_revoke_input": jsonFieldNames[shareLinkRevokeInput](),
1073 "share_link_revoke_result": jsonFieldNames[shareLinkRevokeResult](),
1074 "share_link_update_input": jsonFieldNames[shareLinkUpdateInput](),
1075 "team_group": jsonFieldNames[teamGroupJSON](),
1076 "team_info": jsonFieldNames[teamInfoJSON](),
1077 "team_member": jsonFieldNames[teamMemberJSON](),
1078 "team_member_add_input": jsonFieldNames[teamMemberAddInput](),
1079 "team_member_add_item": jsonFieldNames[teamMemberAddItemJSON](),
1080 "team_member_mutation": jsonFieldNames[teamMemberMutationJSON](),
1081 "team_member_remove_input": jsonFieldNames[teamMemberRemoveInput](),
1082 "version": jsonFieldNames[versionOutput](),
1083 })
1084}
1085
1086func jsonCommandSchemas() map[string]jsonGoldenCommandSchema {
1087 return map[string]jsonGoldenCommandSchema{

Callers 1

Calls 1

normalizeStringSliceMapFunction · 0.85

Tested by

no test coverage detected