@rglabs/butterfly 1.0.4 → 1.2.0
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.
Potentially problematic release.
This version of @rglabs/butterfly might be problematic. Click here for more details.
- package/.butterfly/config.json +6 -0
- package/.butterfly/cookies.json +26 -0
- package/.butterfly/requests.log +1399 -0
- package/.claude/settings.local.json +5 -1
- package/POC-Generator/README.md +85 -0
- package/POC-Generator/examples/imports/example.xlsx +0 -0
- package/POC-Generator/examples/reports/examples/query_code.twig +225 -0
- package/POC-Generator/examples/reports/examples/script.js +401 -0
- package/POC-Generator/examples/tables/example_group/table_examples/example.json +394 -0
- package/POC-Generator/imports/.gitkeep +0 -0
- package/POC-Generator/mocks/.gitkeep +7 -0
- package/POC-Generator/reports/.gitkeep +0 -0
- package/POC-Generator/tables/.gitkeep +0 -0
- package/README.md +146 -1
- package/butterfly-resources/bfy_ai_tasks/bfy-translations/output_format.json +1 -0
- package/butterfly-resources/bfy_ai_tasks/bfy-translations/prompt.bfy +4 -0
- package/butterfly-resources/bfy_ai_tasks/bfy-translations/task.json +21 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-business-developer/action_preview_code.bfy +74 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-business-developer/initial_code.bfy +115 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-business-developer/output_format.json +8 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-business-developer/prompt.bfy +8 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-business-developer/system_message.bfy +10 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-business-developer/task.json +18 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-developer/action_preview_code.bfy +114 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-developer/initial_code.bfy +119 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-developer/output_format.json +8 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-developer/prompt.bfy +8 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-developer/system_message.bfy +15 -0
- package/butterfly-resources/bfy_ai_tasks/butterfly-developer/task.json +18 -0
- package/butterfly-resources/bfy_ai_tasks/create-objects/action_code.bfy +225 -0
- package/butterfly-resources/bfy_ai_tasks/create-objects/action_preview_code.bfy +249 -0
- package/butterfly-resources/bfy_ai_tasks/create-objects/initial_code.bfy +75 -0
- package/butterfly-resources/bfy_ai_tasks/create-objects/output_format.json +11 -0
- package/butterfly-resources/bfy_ai_tasks/create-objects/prompt.bfy +12 -0
- package/butterfly-resources/bfy_ai_tasks/create-objects/system_message.bfy +92 -0
- package/butterfly-resources/bfy_ai_tasks/create-objects/task.json +17 -0
- package/butterfly-resources/bfy_ai_tasks/create-workflows/action_code.bfy +198 -0
- package/butterfly-resources/bfy_ai_tasks/create-workflows/action_preview_code.bfy +261 -0
- package/butterfly-resources/bfy_ai_tasks/create-workflows/initial_code.bfy +117 -0
- package/butterfly-resources/bfy_ai_tasks/create-workflows/output_format.json +25 -0
- package/butterfly-resources/bfy_ai_tasks/create-workflows/prompt.bfy +10 -0
- package/butterfly-resources/bfy_ai_tasks/create-workflows/system_message.bfy +186 -0
- package/butterfly-resources/bfy_ai_tasks/create-workflows/task.json +17 -0
- package/butterfly-resources/bfy_ai_tasks/cronjob-generator/action_code.bfy +9 -0
- package/butterfly-resources/bfy_ai_tasks/cronjob-generator/action_preview_code.bfy +218 -0
- package/butterfly-resources/bfy_ai_tasks/cronjob-generator/output_format.json +8 -0
- package/butterfly-resources/bfy_ai_tasks/cronjob-generator/prompt.bfy +11 -0
- package/butterfly-resources/bfy_ai_tasks/cronjob-generator/system_message.bfy +31 -0
- package/butterfly-resources/bfy_ai_tasks/cronjob-generator/task.json +18 -0
- package/butterfly-resources/bfy_ai_tasks/generate-dashboard-report/action_code.bfy +39 -0
- package/butterfly-resources/bfy_ai_tasks/generate-dashboard-report/action_preview_code.bfy +2 -0
- package/butterfly-resources/bfy_ai_tasks/generate-dashboard-report/output_format.json +4 -0
- package/butterfly-resources/bfy_ai_tasks/generate-dashboard-report/prompt.bfy +1 -0
- package/butterfly-resources/bfy_ai_tasks/generate-dashboard-report/system_message.bfy +6 -0
- package/butterfly-resources/bfy_ai_tasks/generate-dashboard-report/task.json +18 -0
- package/butterfly-resources/bfy_ai_tasks/generate-objects/action_code.bfy +183 -0
- package/butterfly-resources/bfy_ai_tasks/generate-objects/action_preview_code.bfy +286 -0
- package/butterfly-resources/bfy_ai_tasks/generate-objects/output_format.json +5 -0
- package/butterfly-resources/bfy_ai_tasks/generate-objects/prompt.bfy +15 -0
- package/butterfly-resources/bfy_ai_tasks/generate-objects/system_message.bfy +92 -0
- package/butterfly-resources/bfy_ai_tasks/generate-objects/task.json +18 -0
- package/butterfly-resources/bfy_ai_tasks/generate-waiting-quotes/output_format.json +7 -0
- package/butterfly-resources/bfy_ai_tasks/generate-waiting-quotes/prompt.bfy +7 -0
- package/butterfly-resources/bfy_ai_tasks/generate-waiting-quotes/system_message.bfy +4 -0
- package/butterfly-resources/bfy_ai_tasks/generate-waiting-quotes/task.json +20 -0
- package/butterfly-resources/bfy_ai_tasks/generate-workflows/action_code.bfy +83 -0
- package/butterfly-resources/bfy_ai_tasks/generate-workflows/action_preview_code.bfy +445 -0
- package/butterfly-resources/bfy_ai_tasks/generate-workflows/initial_code.bfy +75 -0
- package/butterfly-resources/bfy_ai_tasks/generate-workflows/output_format.json +22 -0
- package/butterfly-resources/bfy_ai_tasks/generate-workflows/prompt.bfy +12 -0
- package/butterfly-resources/bfy_ai_tasks/generate-workflows/system_message.bfy +11 -0
- package/butterfly-resources/bfy_ai_tasks/generate-workflows/task.json +17 -0
- package/butterfly-resources/bfy_ai_tasks/insert-sample-data/action_code.bfy +95 -0
- package/butterfly-resources/bfy_ai_tasks/insert-sample-data/action_preview_code.bfy +168 -0
- package/butterfly-resources/bfy_ai_tasks/insert-sample-data/output_format.json +9 -0
- package/butterfly-resources/bfy_ai_tasks/insert-sample-data/prompt.bfy +14 -0
- package/butterfly-resources/bfy_ai_tasks/insert-sample-data/task.json +19 -0
- package/butterfly-resources/bfy_ai_tasks/report-generator/action_code.bfy +30 -0
- package/butterfly-resources/bfy_ai_tasks/report-generator/action_preview_code.bfy +2 -0
- package/butterfly-resources/bfy_ai_tasks/report-generator/initial_code.bfy +75 -0
- package/butterfly-resources/bfy_ai_tasks/report-generator/output_format.json +6 -0
- package/butterfly-resources/bfy_ai_tasks/report-generator/prompt.bfy +10 -0
- package/butterfly-resources/bfy_ai_tasks/report-generator/system_message.bfy +31 -0
- package/butterfly-resources/bfy_ai_tasks/report-generator/task.json +17 -0
- package/butterfly-resources/bfy_ai_tasks/twig-code-to-diagram/output_format.json +9 -0
- package/butterfly-resources/bfy_ai_tasks/twig-code-to-diagram/prompt.bfy +3 -0
- package/butterfly-resources/bfy_ai_tasks/twig-code-to-diagram/task.json +21 -0
- package/butterfly-resources/bfy_ai_tasks/update-theme-settings/action_code.bfy +208 -0
- package/butterfly-resources/bfy_ai_tasks/update-theme-settings/action_preview_code.bfy +211 -0
- package/butterfly-resources/bfy_ai_tasks/update-theme-settings/initial_code.bfy +101 -0
- package/butterfly-resources/bfy_ai_tasks/update-theme-settings/output_format.json +17 -0
- package/butterfly-resources/bfy_ai_tasks/update-theme-settings/prompt.bfy +13 -0
- package/butterfly-resources/bfy_ai_tasks/update-theme-settings/system_message.bfy +25 -0
- package/butterfly-resources/bfy_ai_tasks/update-theme-settings/task.json +17 -0
- package/butterfly-resources/bfy_ai_tasks/whatsapp-integration/action_code.bfy +20 -0
- package/butterfly-resources/bfy_ai_tasks/whatsapp-integration/action_preview_code.bfy +127 -0
- package/butterfly-resources/bfy_ai_tasks/whatsapp-integration/output_format.json +6 -0
- package/butterfly-resources/bfy_ai_tasks/whatsapp-integration/prompt.bfy +17 -0
- package/butterfly-resources/bfy_ai_tasks/whatsapp-integration/system_message.bfy +84 -0
- package/butterfly-resources/bfy_ai_tasks/whatsapp-integration/task.json +18 -0
- package/butterfly-resources/objects/butterfly/api_collections/api_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_collections/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_collections/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_collections/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_collections/object.json +41 -0
- package/butterfly-resources/objects/butterfly/api_collections/updated_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/api_collection_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/body/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/body_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/disable_ssl_verification/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/follow_redirects/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/form_data/configuration.yaml +5 -0
- package/butterfly-resources/objects/butterfly/api_requests/form_data/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/api_requests/headers/configuration.yaml +5 -0
- package/butterfly-resources/objects/butterfly/api_requests/headers/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/api_requests/method/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/object.json +41 -0
- package/butterfly-resources/objects/butterfly/api_requests/url/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_requests/url_parameters/configuration.yaml +5 -0
- package/butterfly-resources/objects/butterfly/api_requests/url_parameters/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/api_workspaces/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_workspaces/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/api_workspaces/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chat_messages/bfy_ai_chat_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chat_messages/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chat_messages/message/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chat_messages/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chat_messages/role/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chats/bfy_ai_task_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chats/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chats/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chats/remote_user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chats/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_chats/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_contexts/context/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_contexts/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_contexts/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_contexts/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/ai_alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/bfy_ai_task_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/duration_in_ms/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/input_token/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/model/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/output_token/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/request/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_logs/response/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_models/api_version/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_models/integration_class_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_models/integration_model/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_models/max_tokens/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_models/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_models/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_models/temperature/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/action_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/action_preview_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/bfy_ai_log_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/bfy_ai_model_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/code_language/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/has_action/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/include_chat_history/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/initial_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/is_bfy/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/multiple_sub_tasks/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/output_format/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/parent_bfy_ai_task_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/prompt/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/response_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/system_message/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/task_folder_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/task_structure/code.bfy +77 -0
- package/butterfly-resources/objects/butterfly/bfy_ai_tasks/task_structure/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/bfy_captcha_required_actions/ip_address/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_captcha_required_actions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_captcha_required_actions/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_captcha_required_actions/release_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_cronjobs/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_cronjobs/code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_cronjobs/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_cronjobs/group_tag/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_cronjobs/last_executed_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_cronjobs/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_cronjobs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_cronjobs/process_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_cronjobs/running_interval/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/error_when_not_found/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/example_file/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/excel_format_data/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/field_mapping/configuration.yaml +4 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/field_mapping/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/identifier_fields/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/ignore_fields/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/ignore_if_exist/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/insert_new_rows/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_data_import_profiles/update_existing_rows/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_embedding_models/dimensions/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_embedding_models/distance/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_embedding_models/input_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_embedding_models/integration_class_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_embedding_models/integration_model/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_embedding_models/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_embedding_models/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_folders/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_folders/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_folders/parent_bfy_folder_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_languages/iso_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_languages/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_languages/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_languages/translations/processing_code.bfy +22 -0
- package/butterfly-resources/objects/butterfly/bfy_languages/translations/spec.json +34 -0
- package/butterfly-resources/objects/butterfly/bfy_languages/translations/template_code.bfy +242 -0
- package/butterfly-resources/objects/butterfly/bfy_module_relations/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_module_relations/cms_module_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_module_relations/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_module_relations/item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_module_relations/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_module_relations/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_report_config/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_report_config/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_report_config/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_report_config/threshold/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/bfy_sm_action_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/default_value/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/manipulation_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/required/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/val_1/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/val_2/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/val_3/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/val_4/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/val_5/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_action_specs/validation_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_actions/bfy_state_machine_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_actions/code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_actions/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_actions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_actions/running_order/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_transition_actions/action_type/code.js +4 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_transition_actions/action_type/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_transition_actions/bfy_sm_action_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_transition_actions/bfy_sm_transition_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_transition_actions/bfy_workflow_id/code.js +3 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_transition_actions/bfy_workflow_id/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_transition_actions/bfy_workflow_node_alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_sm_transition_actions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_roles/bfy_state_machine_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_roles/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_roles/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_roles/validation_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_states/bfy_state_machine_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_states/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_states/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_states/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/bfy_state_machine_transition_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/default_value/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/manipulation_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/required/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/val_1/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/val_2/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/val_3/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/val_4/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/val_5/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transition_specs/validation_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/action_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/bfy_state_machine_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/bfy_state_machine_role_ids/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/button_title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/from_bfy_state_machine_state_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/to_bfy_state_machine_state_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/transition_system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machine_transitions/validation_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machines/bfy_state_machine_state_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machines/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machines/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_state_machines/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_templates/bfy_folder_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_templates/code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_templates/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_templates/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_templates/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_templates/updated_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_translation_texts/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_translation_texts/source/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_translations/bfy_language_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_translations/bfy_translation_text_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_translations/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_translations/text/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/city/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/country/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/device_hash/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/first_seen/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/ip_address/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/is_trusted/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/last_seen/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/location/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/user_agent/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_user_devices/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_connections/bfy_workflow_version_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_connections/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_connections/source_bfy_workflow_node_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_connections/source_point/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_connections/target_bfy_workflow_node_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_connections/target_point/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_email_attachments/bfy_workflow_node_context_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_email_attachments/cms_file_upload_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_email_attachments/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_email_attachments/file_path/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_email_attachments/file_size/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_email_attachments/filename/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_email_attachments/mime_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_email_attachments/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_email_attachments/stored_filename/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_branches/bfy_workflow_execution_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_branches/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_branches/parent_bfy_workflow_execution_branch_ids/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/bfy_workflow_execution_branch_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/bfy_workflow_execution_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/context/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/duration_in_ms/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/error_message/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/finished_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/input/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/scheduled_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/source_bfy_workflow_node_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/started_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_execution_steps/target_bfy_workflow_node_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_executions/bfy_workflow_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_executions/bfy_workflow_node_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_executions/bfy_workflow_version_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_executions/executed_node_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_executions/finished_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_executions/finished_node_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_executions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_executions/started_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_executions/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/bfy_workflow_execution_step_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/bfy_workflow_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/bfy_workflow_node_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/context_data/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/context_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/error_message/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/external_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/processed_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_node_contexts/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/bfy_workflow_id/code.js +11 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/bfy_workflow_id/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/bfy_workflow_version_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/connections/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/hash/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/latest_executions/code.bfy +1 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/latest_executions/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/node_group_class_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/node_identifier_key/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/params/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/pinned_data/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/position_x/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/position_y/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_nodes/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_versions/bfy_workflow_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_versions/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_versions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_versions/published_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_versions/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflow_versions/version_number/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflows/bfy_workflow_node_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflows/bfy_workflow_version_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflows/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workflows/object.json +41 -0
- package/butterfly-resources/objects/butterfly/bfy_workspaces/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workspaces/cms_report_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workspaces/hash/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workspaces/menu_color/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workspaces/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/bfy_workspaces/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_admin_favorites/cms_admin_menu_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_admin_favorites/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_admin_favorites/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_admin_favorites/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_admin_menus/depth/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_admin_menus/icon/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_admin_menus/link/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_admin_menus/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_admin_menus/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_admin_menus/parent_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_admin_menus/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_approve_recipients/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_approve_recipients/conditions/configuration.yaml +10 -0
- package/butterfly-resources/objects/butterfly/cms_approve_recipients/conditions/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_approve_recipients/has_conditions/code.js +4 -0
- package/butterfly-resources/objects/butterfly/cms_approve_recipients/has_conditions/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_approve_recipients/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_approve_recipients/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_approve_recipients/user_ids/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_approve_recipients/usergroup_ids/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_block_parameters/cms_block_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_block_parameters/column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_block_parameters/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_block_parameters/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_block_parameters/parameters/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_block_parameters/type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_blocks/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_blocks/class_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_blocks/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_blocks/module/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_blocks/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_blocks/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_blocks/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_cache/cache_key/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_cache/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_cache/expire/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_cache/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_cache/value/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_data_import/bfy_data_import_profile_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_data_import/content_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_data_import/filename/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_data_import/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_data_import/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_data_import/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_segments/cms_design_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_segments/customer_segment_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_segments/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_design_segments/parent_cms_design_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/cache_duration/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/cms_design_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/cms_layout_place_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/cms_widget_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/cms_widget_profile_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/params/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_design_widgets/use_cache/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/background_color/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/class/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/cms_layout_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/is_draft/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_designs/page_description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/page_keywords/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/page_title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/parent_cms_design_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/release_note/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/schema_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/segmentation/configuration.yaml +12 -0
- package/butterfly-resources/objects/butterfly/cms_designs/segmentation/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_designs/social_description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/social_image/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/social_title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/updated_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/utag_additional_data/configuration.yaml +6 -0
- package/butterfly-resources/objects/butterfly/cms_designs/utag_additional_data/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_designs/utag_channel/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/utag_page_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_designs/utag_page_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_devices/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_devices/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_devices/parent_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_devices/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_devices/user_agent/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_email_templates/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_email_templates/bfy_state_machine_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_email_templates/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_email_templates/content/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_email_templates/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_email_templates/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_email_templates/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_email_templates/subject/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/azure_config/configuration.yaml +13 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/azure_config/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/base_folder/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/base_url/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/disable/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/ftp_config/configuration.yaml +15 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/ftp_config/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/google_cloud_config/configuration.yaml +10 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/google_cloud_config/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/integration_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/medianova_config/configuration.yaml +32 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/medianova_config/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/other_config/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/overwrite_strategy/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/restrict_min/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/s3_config/configuration.yaml +23 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/s3_config/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/sanitize_filename/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/sftp_config/configuration.yaml +20 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/sftp_config/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_file_storages/sub_folder_format/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_uploads/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_uploads/cms_file_storage_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_uploads/extensions/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_uploads/max_filesize/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_file_uploads/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_file_uploads/path/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/duration/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/file_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/filename/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/height/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/is_optimized/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/started_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_cache/width/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/cms_file_storage_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/detect_faces/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/fill_color/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/has_archive/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/height/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/image_quality/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/image_size_limit/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/is_webp_enabled/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/operation/code.js +1 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/operation/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/others/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/path/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_image_uploads/width/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_layout_places/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_layout_places/cms_layout_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_layout_places/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_layout_places/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_layout_places/width/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_layouts/code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_layouts/filename/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_layouts/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_layouts/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_logs/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_logs/context/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_logs/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_logs/level_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_logs/message/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_logs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_modules/author/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_modules/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_modules/current_version/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_modules/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_modules/marketplace_module_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_modules/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_modules/namespace/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_modules/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_object_generator/database_alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_generator/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_object_generator/table_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_indexes/is_unique/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_indexes/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_object_indexes/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_indexes/object_specs/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_locks/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_locks/entity_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_locks/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_object_locks/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_locks/session_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_locks/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_page_tabs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_object_page_tabs/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_page_tabs/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_pivots/column_grouping/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_pivots/column_object_spec_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_pivots/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_object_pivots/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_pivots/row_grouping/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_pivots/row_object_spec_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_pivots/value_object_spec_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_pivots/value_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_subpages/cms_design_item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_subpages/link_format/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_object_subpages/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_object_subpages/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/condition_value/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/default_value/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/object_spec_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/object_specs/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/permission_type/code.js +5 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/permission_type/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/restriction_condition/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/restriction_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_exceptions/usergroup_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_groups/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permission_groups/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_permission_groups/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permissions/cms_permission_group_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permissions/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_permissions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_permissions/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_categories/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_categories/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_report_queries/cms_report_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_queries/column_size/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_queries/js_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_queries/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_report_queries/query/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_queries/show_title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_queries/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_queries/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/cms_report_id/code.js +3 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/cms_report_id/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/default_value/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/height/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/required/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/val_1/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/val_2/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/val_3/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/val_4/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/val_5/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_report_specs/width/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/cache_duration/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/cms_report_category_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/detail_query/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/hide_in_list/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_reports/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/others/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/permission_level/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/query/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/report_permission/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_reports/type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_search_synonyms/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_search_synonyms/source_phrases/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_search_synonyms/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_search_synonyms/target_phrase/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_setting_groups/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_setting_groups/allow_api_access/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_setting_groups/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_setting_groups/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_setting_groups/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_settings/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/cms_setting_group_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/css_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/js_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_settings/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/val_1/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/val_2/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/val_3/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/val_4/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/val_5/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_settings/value/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_sms_templates/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_sms_templates/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_sms_templates/content/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_sms_templates/integration/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_sms_templates/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_sms_templates/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/attestation_format/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/auth_key/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/auth_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/credential_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/last_used_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/origin_hostname/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/public_key/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/sign_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/transports/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/user_email/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/user_handle/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_user_auth_keys/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_videos/notes/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_videos/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_videos/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_videos/video/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_categories/class_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_categories/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_categories/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_widget_categories/owner_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_profiles/cms_widget_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_profiles/custom_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_profiles/has_custom_code/code.js +4 -0
- package/butterfly-resources/objects/butterfly/cms_widget_profiles/has_custom_code/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/cms_widget_profiles/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_profiles/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_widget_profiles/params/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/cms_widget_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/default_value/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/manipulation_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/val_1/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/val_2/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/val_3/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/val_4/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/val_5/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widget_specs/validation_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/Description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/class_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/cms_widget_category_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/content_pool_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/image/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/is_online/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/is_system/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/object.json +41 -0
- package/butterfly-resources/objects/butterfly/cms_widgets/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/aggregations/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/date_interval/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/fields/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/get_by_info_item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/has_rss/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/image/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/is_prior/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/object.json +41 -0
- package/butterfly-resources/objects/butterfly/content_pools/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/offset/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/order_by/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/page_size/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/pin_items/code.js +4 -0
- package/butterfly-resources/objects/butterfly/content_pools/pin_items/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/content_pools/pinned_items/configuration.yaml +9 -0
- package/butterfly-resources/objects/butterfly/content_pools/pinned_items/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/content_pools/query_string/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/rss_title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/search_phrase/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/size/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/sort_by_field/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/sort_by_field_order/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/content_pools/type/code.js +5 -0
- package/butterfly-resources/objects/butterfly/content_pools/type/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/customer_segments/conditions/configuration.yaml +14 -0
- package/butterfly-resources/objects/butterfly/customer_segments/conditions/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/customer_segments/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/customer_segments/object.json +41 -0
- package/butterfly-resources/objects/butterfly/customer_segments/slug/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/changes/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/entity_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/object.json +41 -0
- package/butterfly-resources/objects/butterfly/draft_items/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/published/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/published_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/published_by/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/reason/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/reverted_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/reverted_by/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/draft_items/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_relations/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_relations/item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_relations/object.json +41 -0
- package/butterfly-resources/objects/butterfly/item_relations/related_item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_relations/weight/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats/comment_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats/hit/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats/hit_2_days/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats/hit_today/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats/item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats/like_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats/object.json +41 -0
- package/butterfly-resources/objects/butterfly/item_stats/rating/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats/rating_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats_daily/comment_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats_daily/date/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats_daily/hit/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats_daily/item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats_daily/like_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_stats_daily/object.json +41 -0
- package/butterfly-resources/objects/butterfly/item_subpages/cms_design_item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_subpages/cms_object_subpage_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_subpages/main_item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_subpages/object.json +41 -0
- package/butterfly-resources/objects/butterfly/item_subpages/sub_seo/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/item_subpages/update_status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/entity_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/expiry_date/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/image/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/label/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/object.json +41 -0
- package/butterfly-resources/objects/butterfly/items/release_date/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/seo/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/items/updated_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/language_settings/image/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/language_settings/lang_key/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/language_settings/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/language_settings/object.json +41 -0
- package/butterfly-resources/objects/butterfly/media_library/alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/media_library/dimensions/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/media_library/filename/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/media_library/object.json +41 -0
- package/butterfly-resources/objects/butterfly/media_library/tags/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/is_notified/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/message/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/object.json +41 -0
- package/butterfly-resources/objects/butterfly/notifications/read_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/sender_email/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/sender_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/sender_user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/notifications/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/action_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/changed_data/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/device_hash/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/entity_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/ip_address/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/location/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/notes/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/object_logs/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/user_agent/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/user_email/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_logs/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_permissions/add_permission/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_permissions/approve_permission/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_permissions/delete_permission/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_permissions/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_permissions/edit_permission/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_permissions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/object_permissions/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_permissions/object_spec_ids/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_permissions/usergroup_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_permissions/view_permission/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_relations/child_object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_relations/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_relations/display_after/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_relations/display_column/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_relations/has_ordering/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_relations/item_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_relations/multiple_image_upload_spec_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_relations/object.json +41 -0
- package/butterfly-resources/objects/butterfly/object_relations/parent_object_id/code.js +4 -0
- package/butterfly-resources/objects/butterfly/object_relations/parent_object_id/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/object_relations/relation_type/code.js +4 -0
- package/butterfly-resources/objects/butterfly/object_relations/relation_type/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/object_relations/table_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_sections/object.json +41 -0
- package/butterfly-resources/objects/butterfly/object_sections/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_sections/slug/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_sections/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_spec_permissions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/object_spec_permissions/object_permission_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_spec_permissions/object_spec_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/column_size/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/css_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/default_value/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/edit_order_no/code.js +3 -0
- package/butterfly-resources/objects/butterfly/object_specs/edit_order_no/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/object_specs/edit_place_no/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/edit_position/code.js +3 -0
- package/butterfly-resources/objects/butterfly/object_specs/edit_position/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/object_specs/explicit_column/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/height/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/index_detailed/code.js +3 -0
- package/butterfly-resources/objects/butterfly/object_specs/index_detailed/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/object_specs/index_detailed_fields/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/is_displayed_in_filter/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/is_readonly/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/is_sensitive/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/js_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/list_column/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/list_order_no/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/manipulation_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/object_specs/object_id/code.js +3 -0
- package/butterfly-resources/objects/butterfly/object_specs/object_id/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/object_specs/required/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/search_column/code.js +3 -0
- package/butterfly-resources/objects/butterfly/object_specs/search_column/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/object_specs/section_title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/val_1/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/val_2/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/val_3/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/val_4/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/val_5/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/validation_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_specs/width/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_tabs/object.json +41 -0
- package/butterfly-resources/objects/butterfly/object_tabs/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_tabs/object_section_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_tabs/position/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_tabs/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_views/displayed_column_names/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_views/filters/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_views/group_by_column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_views/listing_query/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_views/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_views/object.json +41 -0
- package/butterfly-resources/objects/butterfly/object_views/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_views/system_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/object_views/view_type/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/add_last_order/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/auto_increment_column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/bfy_embedding_model_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/cms_design_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/cms_design_rule/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/database_alias/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/explicit_columns/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/has_change_notes/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/has_draft/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/has_item/code.js +4 -0
- package/butterfly-resources/objects/butterfly/objects/has_item/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/objects/has_order/code.js +4 -0
- package/butterfly-resources/objects/butterfly/objects/has_order/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/objects/has_trash/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/hide_object_section_relations/code.js +7 -0
- package/butterfly-resources/objects/butterfly/objects/hide_object_section_relations/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/objects/hierarchy_object_spec_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/include_in_sitemap/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/is_cms_object/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/is_workspace_specific/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/label/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/left_column_size/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/listing_query/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/main_menu_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/main_object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/menu_id/code.js +3 -0
- package/butterfly-resources/objects/butterfly/objects/menu_id/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/objects/meta_description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/meta_title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/object.json +41 -0
- package/butterfly-resources/objects/butterfly/objects/object_section_relation_tables/code.js +3 -0
- package/butterfly-resources/objects/butterfly/objects/object_section_relation_tables/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/objects/ordering_column_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/protect_schema/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/remove_database_alias_from_url/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/section_title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/seo/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/sub_menu_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/table_name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/objects/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/pages/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/pages/content_pool_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/pages/create_design/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/pages/dont_autorefresh/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/pages/link/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/pages/meta_description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/pages/meta_title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/pages/object.json +41 -0
- package/butterfly-resources/objects/butterfly/pages/page_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/pages/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/redirect_map/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/redirect_map/is_fixed/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/redirect_map/is_tracked/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/redirect_map/object.json +41 -0
- package/butterfly-resources/objects/butterfly/redirect_map/redirect_item_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/redirect_map/redirect_to/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/redirect_map/response_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/redirect_map/seo_request/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/redirect_map/url/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/trash/created_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/trash/object.json +41 -0
- package/butterfly-resources/objects/butterfly/trash/object_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/trash/parameters/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/trash/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/user_auth/api_key/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/user_auth/description/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/user_auth/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/user_auth/object.json +41 -0
- package/butterfly-resources/objects/butterfly/user_auth/password/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/user_auth/user_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/user_auth_sessions/expires_at/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/user_auth_sessions/object.json +41 -0
- package/butterfly-resources/objects/butterfly/user_auth_sessions/session_key/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/user_auth_sessions/user_auth_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/usergroups/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/usergroups/cms_permissions/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/usergroups/cms_report_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/usergroups/object.json +41 -0
- package/butterfly-resources/objects/butterfly/usergroups/title/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/about/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/additional_dashboard_ids/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/api_access/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/bfy_language_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/bfy_workspace_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/cms_report_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/email/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/enable_ip_whitelist/code.js +4 -0
- package/butterfly-resources/objects/butterfly/users/enable_ip_whitelist/spec.json +35 -0
- package/butterfly-resources/objects/butterfly/users/id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/ip_whitelist/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/is_developer/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/last_login_date/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/last_login_ip/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/name/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/object.json +41 -0
- package/butterfly-resources/objects/butterfly/users/password/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/phone_number/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/reset_password_email_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/reset_password_expiry_date/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/reset_password_request_count/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/reset_password_sms_code/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/role_id/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/seo/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/status/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/usergroup_ids/spec.json +36 -0
- package/butterfly-resources/objects/butterfly/users/username/spec.json +36 -0
- package/butterfly-resources/objects/default/customer_communications/communication_date/spec.json +36 -0
- package/butterfly-resources/objects/default/customer_communications/communication_type/spec.json +36 -0
- package/butterfly-resources/objects/default/customer_communications/customer_id/spec.json +36 -0
- package/butterfly-resources/objects/default/customer_communications/notes/spec.json +36 -0
- package/butterfly-resources/objects/default/customer_communications/object.json +41 -0
- package/butterfly-resources/objects/default/customer_communications/subject/spec.json +36 -0
- package/butterfly-resources/objects/default/customer_communications/user_id/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/address/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/company/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/created_at/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/email/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/first_name/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/last_name/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/object.json +41 -0
- package/butterfly-resources/objects/default/customers/phone/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/project_count/code.bfy +1 -0
- package/butterfly-resources/objects/default/customers/project_count/spec.json +35 -0
- package/butterfly-resources/objects/default/customers/status/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/tax_number/spec.json +36 -0
- package/butterfly-resources/objects/default/customers/tax_office/spec.json +36 -0
- package/butterfly-resources/objects/default/project_payments/amount/spec.json +36 -0
- package/butterfly-resources/objects/default/project_payments/description/spec.json +36 -0
- package/butterfly-resources/objects/default/project_payments/object.json +41 -0
- package/butterfly-resources/objects/default/project_payments/payment_date/spec.json +36 -0
- package/butterfly-resources/objects/default/project_payments/payment_method/spec.json +36 -0
- package/butterfly-resources/objects/default/project_payments/project_id/spec.json +36 -0
- package/butterfly-resources/objects/default/project_payments/status/spec.json +36 -0
- package/butterfly-resources/objects/default/project_tasks/completion_percentage/spec.json +36 -0
- package/butterfly-resources/objects/default/project_tasks/description/spec.json +36 -0
- package/butterfly-resources/objects/default/project_tasks/end_date/spec.json +36 -0
- package/butterfly-resources/objects/default/project_tasks/object.json +41 -0
- package/butterfly-resources/objects/default/project_tasks/project_id/spec.json +36 -0
- package/butterfly-resources/objects/default/project_tasks/responsible_user/spec.json +36 -0
- package/butterfly-resources/objects/default/project_tasks/start_date/spec.json +36 -0
- package/butterfly-resources/objects/default/project_tasks/status/spec.json +36 -0
- package/butterfly-resources/objects/default/project_tasks/task_name/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/actual_cost/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/customer_id/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/description/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/end_date/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/estimated_budget/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/object.json +41 -0
- package/butterfly-resources/objects/default/projects/priority/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/project_name/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/start_date/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/status/spec.json +36 -0
- package/butterfly-resources/objects/default/projects/task_summary/code.bfy +1 -0
- package/butterfly-resources/objects/default/projects/task_summary/spec.json +35 -0
- package/butterfly-resources/objects/default/ticket_attachments/file_name/spec.json +36 -0
- package/butterfly-resources/objects/default/ticket_attachments/file_path/spec.json +36 -0
- package/butterfly-resources/objects/default/ticket_attachments/object.json +41 -0
- package/butterfly-resources/objects/default/ticket_attachments/ticket_id/spec.json +36 -0
- package/butterfly-resources/objects/default/ticket_attachments/uploaded_at/spec.json +36 -0
- package/butterfly-resources/objects/default/ticket_categories/category_name/spec.json +36 -0
- package/butterfly-resources/objects/default/ticket_categories/description/spec.json +36 -0
- package/butterfly-resources/objects/default/ticket_categories/object.json +41 -0
- package/butterfly-resources/objects/default/ticket_comments/comment/spec.json +36 -0
- package/butterfly-resources/objects/default/ticket_comments/created_at/spec.json +36 -0
- package/butterfly-resources/objects/default/ticket_comments/object.json +41 -0
- package/butterfly-resources/objects/default/ticket_comments/ticket_id/spec.json +36 -0
- package/butterfly-resources/objects/default/ticket_comments/user_id/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/assigned_user_id/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/category_id/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/closed_at/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/created_at/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/created_user_id/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/description/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/note/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/object.json +41 -0
- package/butterfly-resources/objects/default/tickets/priority/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/state/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/status/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/title/spec.json +36 -0
- package/butterfly-resources/objects/default/tickets/updated_at/spec.json +36 -0
- package/butterfly-resources/objects/default/user_devices/created_at/spec.json +36 -0
- package/butterfly-resources/objects/default/user_devices/device_token/spec.json +36 -0
- package/butterfly-resources/objects/default/user_devices/device_type/spec.json +36 -0
- package/butterfly-resources/objects/default/user_devices/object.json +41 -0
- package/butterfly-resources/objects/default/user_devices/user_id/spec.json +36 -0
- package/butterfly-resources/objects/default/webservices/custom_seo/spec.json +36 -0
- package/butterfly-resources/objects/default/webservices/method/spec.json +36 -0
- package/butterfly-resources/objects/default/webservices/object.json +41 -0
- package/butterfly-resources/objects/default/webservices/page_code/spec.json +36 -0
- package/butterfly-resources/reports/bogazici-yonetim-as-yonetim-kontrol-paneli/queries/bogazici-yonetim-as-yonetim-kontrol-paneli/query.json +10 -0
- package/butterfly-resources/reports/bogazici-yonetim-as-yonetim-kontrol-paneli/queries/bogazici-yonetim-as-yonetim-kontrol-paneli/query_code.bfy +487 -0
- package/butterfly-resources/reports/bogazici-yonetim-as-yonetim-kontrol-paneli/report.json +18 -0
- package/dist/commands/code.d.ts +11 -0
- package/dist/commands/code.d.ts.map +1 -0
- package/dist/commands/code.js +70 -0
- package/dist/commands/code.js.map +1 -0
- package/dist/commands/create-object.d.ts +6 -0
- package/dist/commands/create-object.d.ts.map +1 -0
- package/dist/commands/create-object.js +293 -0
- package/dist/commands/create-object.js.map +1 -0
- package/dist/commands/create-report.d.ts +6 -0
- package/dist/commands/create-report.d.ts.map +1 -0
- package/dist/commands/create-report.js +154 -0
- package/dist/commands/create-report.js.map +1 -0
- package/dist/commands/diff.d.ts +4 -0
- package/dist/commands/diff.d.ts.map +1 -0
- package/dist/commands/diff.js +237 -0
- package/dist/commands/diff.js.map +1 -0
- package/dist/commands/download.d.ts.map +1 -1
- package/dist/commands/download.js +65 -3
- package/dist/commands/download.js.map +1 -1
- package/dist/commands/layout.d.ts +10 -0
- package/dist/commands/layout.d.ts.map +1 -0
- package/dist/commands/layout.js +81 -0
- package/dist/commands/layout.js.map +1 -0
- package/dist/commands/record.d.ts +19 -0
- package/dist/commands/record.d.ts.map +1 -0
- package/dist/commands/record.js +485 -0
- package/dist/commands/record.js.map +1 -0
- package/dist/commands/run-poc.d.ts +3 -0
- package/dist/commands/run-poc.d.ts.map +1 -0
- package/dist/commands/run-poc.js +18 -0
- package/dist/commands/run-poc.js.map +1 -0
- package/dist/commands/setup.js +1 -1
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/start-poc.d.ts +3 -0
- package/dist/commands/start-poc.d.ts.map +1 -0
- package/dist/commands/start-poc.js +55 -0
- package/dist/commands/start-poc.js.map +1 -0
- package/dist/commands/sync-docs.d.ts +3 -0
- package/dist/commands/sync-docs.d.ts.map +1 -0
- package/dist/commands/sync-docs.js +27 -0
- package/dist/commands/sync-docs.js.map +1 -0
- package/dist/commands/translate.d.ts +13 -0
- package/dist/commands/translate.d.ts.map +1 -0
- package/dist/commands/translate.js +399 -0
- package/dist/commands/translate.js.map +1 -0
- package/dist/commands/upload.d.ts.map +1 -1
- package/dist/commands/upload.js +52 -20
- package/dist/commands/upload.js.map +1 -1
- package/dist/components/ConflictResolver.d.ts +12 -0
- package/dist/components/ConflictResolver.d.ts.map +1 -0
- package/dist/components/ConflictResolver.js +77 -0
- package/dist/components/ConflictResolver.js.map +1 -0
- package/dist/components/DiffView.d.ts +11 -0
- package/dist/components/DiffView.d.ts.map +1 -0
- package/dist/components/DiffView.js +101 -0
- package/dist/components/DiffView.js.map +1 -0
- package/dist/components/RecordPreview.d.ts +11 -0
- package/dist/components/RecordPreview.d.ts.map +1 -0
- package/dist/components/RecordPreview.js +91 -0
- package/dist/components/RecordPreview.js.map +1 -0
- package/dist/components/UploadProgress.d.ts +2 -0
- package/dist/components/UploadProgress.d.ts.map +1 -1
- package/dist/components/UploadProgress.js +35 -22
- package/dist/components/UploadProgress.js.map +1 -1
- package/dist/diff/adapters/index.d.ts +8 -0
- package/dist/diff/adapters/index.d.ts.map +1 -0
- package/dist/diff/adapters/index.js +18 -0
- package/dist/diff/adapters/index.js.map +1 -0
- package/dist/diff/adapters/objectsAdapter.d.ts +13 -0
- package/dist/diff/adapters/objectsAdapter.d.ts.map +1 -0
- package/dist/diff/adapters/objectsAdapter.js +177 -0
- package/dist/diff/adapters/objectsAdapter.js.map +1 -0
- package/dist/diff/adapters/reportsAdapter.d.ts +14 -0
- package/dist/diff/adapters/reportsAdapter.d.ts.map +1 -0
- package/dist/diff/adapters/reportsAdapter.js +212 -0
- package/dist/diff/adapters/reportsAdapter.js.map +1 -0
- package/dist/diff/adapters/types.d.ts +19 -0
- package/dist/diff/adapters/types.d.ts.map +1 -0
- package/dist/diff/adapters/types.js +2 -0
- package/dist/diff/adapters/types.js.map +1 -0
- package/dist/diff/engine.d.ts +19 -0
- package/dist/diff/engine.d.ts.map +1 -0
- package/dist/diff/engine.js +57 -0
- package/dist/diff/engine.js.map +1 -0
- package/dist/diff/types.d.ts +34 -0
- package/dist/diff/types.d.ts.map +1 -0
- package/dist/diff/types.js +110 -0
- package/dist/diff/types.js.map +1 -0
- package/dist/index.js +61 -7
- package/dist/index.js.map +1 -1
- package/dist/utils/api.d.ts +33 -0
- package/dist/utils/api.d.ts.map +1 -1
- package/dist/utils/api.js +253 -0
- package/dist/utils/api.js.map +1 -1
- package/dist/utils/bfySplitter.d.ts +12 -0
- package/dist/utils/bfySplitter.d.ts.map +1 -0
- package/dist/utils/bfySplitter.js +151 -0
- package/dist/utils/bfySplitter.js.map +1 -0
- package/dist/utils/docs.d.ts +14 -0
- package/dist/utils/docs.d.ts.map +1 -1
- package/dist/utils/docs.js +154 -9
- package/dist/utils/docs.js.map +1 -1
- package/dist/utils/files.d.ts.map +1 -1
- package/dist/utils/files.js +68 -28
- package/dist/utils/files.js.map +1 -1
- package/dist/utils/resourceHandlers.d.ts +50 -0
- package/dist/utils/resourceHandlers.d.ts.map +1 -0
- package/dist/utils/resourceHandlers.js +684 -0
- package/dist/utils/resourceHandlers.js.map +1 -0
- package/dist/utils/resourceMapping.d.ts +32 -0
- package/dist/utils/resourceMapping.d.ts.map +1 -0
- package/dist/utils/resourceMapping.js +210 -0
- package/dist/utils/resourceMapping.js.map +1 -0
- package/dist/utils/singleResourceDownload.d.ts +14 -0
- package/dist/utils/singleResourceDownload.d.ts.map +1 -0
- package/dist/utils/singleResourceDownload.js +261 -0
- package/dist/utils/singleResourceDownload.js.map +1 -0
- package/dist/utils/uploadHandler.d.ts +10 -14
- package/dist/utils/uploadHandler.d.ts.map +1 -1
- package/dist/utils/uploadHandler.js +186 -629
- package/dist/utils/uploadHandler.js.map +1 -1
- package/docs/examples/README.md +95 -0
- package/docs/field-types/README.md +29 -0
- package/docs/forge/README.md +199 -0
- package/docs/forge/commands/database/add-database.sh +61 -0
- package/docs/forge/commands/history/provision-150842870.output +1 -0
- package/docs/forge/commands/history/provision-150842870.sh +1 -0
- package/docs/forge/commands/history/provision-150842877.output +4 -0
- package/docs/forge/commands/history/provision-150842877.sh +17 -0
- package/docs/forge/commands/history/provision-150842878.output +4 -0
- package/docs/forge/commands/history/provision-150842878.sh +17 -0
- package/docs/forge/commands/history/provision-150843050.output +1 -0
- package/docs/forge/commands/history/provision-150843050.sh +41 -0
- package/docs/forge/commands/history/provision-150843051.output +0 -0
- package/docs/forge/commands/history/provision-150843051.sh +9 -0
- package/docs/forge/commands/history/provision-150843052.output +0 -0
- package/docs/forge/commands/history/provision-150843052.sh +14 -0
- package/docs/forge/commands/history/provision-150843053.output +1 -0
- package/docs/forge/commands/history/provision-150843053.sh +28 -0
- package/docs/forge/commands/history/provision-150843054.output +1 -0
- package/docs/forge/commands/history/provision-150843054.sh +28 -0
- package/docs/forge/commands/history/provision-150843462.output +0 -0
- package/docs/forge/commands/history/provision-150843462.sh +6 -0
- package/docs/forge/commands/history/provision-150843606.output +0 -0
- package/docs/forge/commands/history/provision-150843606.sh +4 -0
- package/docs/forge/commands/history/provision-150843679.output +1 -0
- package/docs/forge/commands/history/provision-150843679.sh +4 -0
- package/docs/forge/commands/history/provision-150843691.output +0 -0
- package/docs/forge/commands/history/provision-150843691.sh +6 -0
- package/docs/forge/commands/history/provision-150843757.output +1 -0
- package/docs/forge/commands/history/provision-150843757.sh +41 -0
- package/docs/forge/commands/history/provision-150843764.output +309 -0
- package/docs/forge/commands/history/provision-150843764.sh +140 -0
- package/docs/forge/commands/history/provision-150843848.output +1 -0
- package/docs/forge/commands/history/provision-150843848.sh +45 -0
- package/docs/forge/commands/history/provision-150843853.output +0 -0
- package/docs/forge/commands/history/provision-150843853.sh +17 -0
- package/docs/forge/commands/history/provision-150843854.output +1 -0
- package/docs/forge/commands/history/provision-150843854.sh +28 -0
- package/docs/forge/commands/history/provision-150843859.output +0 -0
- package/docs/forge/commands/history/provision-150843859.sh +16 -0
- package/docs/forge/commands/history/provision-150843860.output +1 -0
- package/docs/forge/commands/history/provision-150843860.sh +28 -0
- package/docs/forge/commands/history/provision-150843897.output +303 -0
- package/docs/forge/commands/history/provision-150843897.sh +147 -0
- package/docs/forge/commands/history/provision-150843999.output +100 -0
- package/docs/forge/commands/history/provision-150843999.sh +147 -0
- package/docs/forge/commands/history/provision-150844036.output +1 -0
- package/docs/forge/commands/history/provision-150844036.sh +49 -0
- package/docs/forge/commands/history/provision-150844044.output +0 -0
- package/docs/forge/commands/history/provision-150844044.sh +20 -0
- package/docs/forge/commands/history/provision-150844045.output +1 -0
- package/docs/forge/commands/history/provision-150844045.sh +28 -0
- package/docs/forge/commands/history/provision-150844057.output +0 -0
- package/docs/forge/commands/history/provision-150844057.sh +23 -0
- package/docs/forge/commands/history/provision-150844058.output +1 -0
- package/docs/forge/commands/history/provision-150844058.sh +28 -0
- package/docs/forge/commands/history/provision-150844146.output +3 -0
- package/docs/forge/commands/history/provision-150844146.sh +59 -0
- package/docs/forge/commands/history/provision-150844155.output +5 -0
- package/docs/forge/commands/history/provision-150844155.sh +84 -0
- package/docs/forge/commands/history/provision-150844156.output +4 -0
- package/docs/forge/commands/history/provision-150844156.sh +29 -0
- package/docs/forge/commands/history/provision-150844157.output +2 -0
- package/docs/forge/commands/history/provision-150844157.sh +14 -0
- package/docs/forge/commands/history/provision-150844158.output +1 -0
- package/docs/forge/commands/history/provision-150844158.sh +28 -0
- package/docs/forge/commands/history/provision-150844162.output +5 -0
- package/docs/forge/commands/history/provision-150844162.sh +84 -0
- package/docs/forge/commands/history/provision-150844163.output +3 -0
- package/docs/forge/commands/history/provision-150844163.sh +11 -0
- package/docs/forge/commands/history/provision-150844164.output +1 -0
- package/docs/forge/commands/history/provision-150844164.sh +28 -0
- package/docs/forge/commands/history/provision-150846994.output +2 -0
- package/docs/forge/commands/history/provision-150847463.output +1 -0
- package/docs/forge/commands/history/provision-150847463.sh +28 -0
- package/docs/forge/commands/history/provision-150847513.output +3 -0
- package/docs/forge/commands/history/provision-150847513.sh +11 -0
- package/docs/forge/commands/history/provision-150847514.output +2 -0
- package/docs/forge/commands/history/provision-150847514.sh +9 -0
- package/docs/forge/commands/history/provision-150847515.output +1 -0
- package/docs/forge/commands/history/provision-150847515.sh +28 -0
- package/docs/forge/commands/history/provision-150847541.output +2 -0
- package/docs/forge/commands/history/provision-150847562.output +6 -0
- package/docs/forge/commands/history/provision-150847562.sh +71 -0
- package/docs/forge/commands/history/provision-150847574.output +4 -0
- package/docs/forge/commands/history/provision-150847574.sh +23 -0
- package/docs/forge/commands/history/provision-150847659.output +277 -0
- package/docs/forge/commands/history/provision-150847659.sh +195 -0
- package/docs/forge/commands/history/provision-150847735.output +1 -0
- package/docs/forge/commands/history/provision-150847735.sh +4 -0
- package/docs/forge/commands/history/provision-150847736.output +9 -0
- package/docs/forge/commands/history/provision-150847736.sh +16 -0
- package/docs/forge/commands/history/provision-150848165.output +2 -0
- package/docs/forge/commands/history/provision-150848165.sh +31 -0
- package/docs/forge/commands/history/provision-150848166.output +9 -0
- package/docs/forge/commands/history/provision-150848166.sh +1 -0
- package/docs/forge/commands/history/provision-150848170.output +67 -0
- package/docs/forge/commands/history/provision-150848170.sh +1 -0
- package/docs/forge/commands/history/provision-150848264.output +3 -0
- package/docs/forge/commands/history/provision-150848264.sh +11 -0
- package/docs/forge/commands/history/provision-150848265.output +67 -0
- package/docs/forge/commands/history/provision-150848265.sh +1 -0
- package/docs/forge/commands/history/provision-150848340.output +3 -0
- package/docs/forge/commands/history/provision-150848340.sh +9 -0
- package/docs/forge/commands/history/provision-150848374.output +3 -0
- package/docs/forge/commands/history/provision-150848374.sh +1 -0
- package/docs/forge/commands/history/provision-150848519.output +4 -0
- package/docs/forge/commands/history/provision-150848519.sh +17 -0
- package/docs/forge/commands/history/provision-150848619.output +0 -0
- package/docs/forge/commands/history/provision-150848619.sh +2 -0
- package/docs/forge/commands/nginx/configure-timeout.sh +58 -0
- package/docs/forge/commands/nginx/configure-uploads.sh +60 -0
- package/docs/forge/commands/nginx/restart-services.sh +40 -0
- package/docs/forge/commands/php/add-php.sh +34 -0
- package/docs/forge/commands/php/switch-php.sh +42 -0
- package/docs/forge/commands/scheduler/add-cron.sh +53 -0
- package/docs/forge/commands/system/set-hostname.sh +38 -0
- package/docs/forge/commands/system/set-timezone.sh +63 -0
- package/docs/forge/example-setup-page/setup.html +29 -0
- package/docs/forge/legacy/php82-psql17.sh +814 -0
- package/docs/forge/legacy/php83-mariadb10.sh +853 -0
- package/docs/forge/legacy/php83-mariadb11.sh +853 -0
- package/docs/forge/legacy/php83-mysql.sh +987 -0
- package/docs/forge/legacy/php83.sh +790 -0
- package/docs/forge/legacy/php84-psql16.sh +807 -0
- package/docs/forge/legacy/php84-psql18.sh +807 -0
- package/docs/forge/provision/base/00-init.sh +122 -0
- package/docs/forge/provision/base/01-ssh.sh +140 -0
- package/docs/forge/provision/base/02-swap.sh +59 -0
- package/docs/forge/provision/base/03-packages.sh +193 -0
- package/docs/forge/provision/base/04-sudoers.sh +101 -0
- package/docs/forge/provision/base/05-firewall.sh +53 -0
- package/docs/forge/provision/base/install.sh +34 -0
- package/docs/forge/provision/cache/install-memcached.sh +63 -0
- package/docs/forge/provision/cache/install-redis.sh +91 -0
- package/docs/forge/provision/database/mariadb/install.sh +206 -0
- package/docs/forge/provision/database/mysql/install.sh +224 -0
- package/docs/forge/provision/database/postgresql/install.sh +154 -0
- package/docs/forge/provision/php/install-php82.sh +6 -0
- package/docs/forge/provision/php/install-php83.sh +6 -0
- package/docs/forge/provision/php/install-php84.sh +6 -0
- package/docs/forge/provision/php/install.sh +254 -0
- package/docs/forge/provision/tools/install-nodejs.sh +99 -0
- package/docs/forge/provision/webserver/nginx/install.sh +333 -0
- package/docs/forge/templates/nginx/laravel-site-ssl.conf.template +79 -0
- package/docs/forge/templates/nginx/laravel-site.conf.template +57 -0
- package/docs/forge/templates/php/pool.conf.template +44 -0
- package/docs/object-specs/README.md +136 -0
- package/docs/objects/README.md +89 -0
- package/package.json +1 -1
- package/object_response.png +0 -0
- package/object_specs_response.png +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-docs.d.ts","sourceRoot":"","sources":["../../src/commands/sync-docs.ts"],"names":[],"mappings":";AAEA,wBA4BE"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { syncDocs } from '../utils/docs.js';
|
|
2
|
+
export default async () => {
|
|
3
|
+
console.log('Syncing documentation and commands...');
|
|
4
|
+
const result = await syncDocs();
|
|
5
|
+
if (result.success) {
|
|
6
|
+
const docFiles = result.syncedFiles.filter(f => f.startsWith('docs/') || f === 'CLAUDE.md');
|
|
7
|
+
const commandFiles = result.syncedFiles.filter(f => f.startsWith('.claude/commands/'));
|
|
8
|
+
console.log(`\x1b[32m✓ Synced ${result.syncedFiles.length} file(s)\x1b[0m`);
|
|
9
|
+
if (docFiles.length > 0) {
|
|
10
|
+
console.log(`\n\x1b[36mDocumentation (${docFiles.length}):\x1b[0m`);
|
|
11
|
+
for (const file of docFiles) {
|
|
12
|
+
console.log(` - ${file}`);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
if (commandFiles.length > 0) {
|
|
16
|
+
console.log(`\n\x1b[36mSlash Commands (${commandFiles.length}):\x1b[0m`);
|
|
17
|
+
for (const file of commandFiles) {
|
|
18
|
+
console.log(` - ${file}`);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
console.log(`\x1b[31m✗ Failed to sync: ${result.error}\x1b[0m`);
|
|
24
|
+
process.exit(1);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=sync-docs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-docs.js","sourceRoot":"","sources":["../../src/commands/sync-docs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,eAAe,KAAK,IAAI,EAAE;IACxB,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,CAAC;IAErD,MAAM,MAAM,GAAG,MAAM,QAAQ,EAAE,CAAC;IAEhC,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,MAAM,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,WAAW,CAAC,CAAC;QAC5F,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC,CAAC;QAEvF,OAAO,CAAC,GAAG,CAAC,oBAAoB,MAAM,CAAC,WAAW,CAAC,MAAM,iBAAiB,CAAC,CAAC;QAE5E,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACxB,OAAO,CAAC,GAAG,CAAC,4BAA4B,QAAQ,CAAC,MAAM,WAAW,CAAC,CAAC;YACpE,KAAK,MAAM,IAAI,IAAI,QAAQ,EAAE,CAAC;gBAC5B,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;YAC7B,CAAC;QACH,CAAC;QAED,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC5B,OAAO,CAAC,GAAG,CAAC,6BAA6B,YAAY,CAAC,MAAM,WAAW,CAAC,CAAC;YACzE,KAAK,MAAM,IAAI,IAAI,YAAY,EAAE,CAAC;gBAChC,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;YAC7B,CAAC;QACH,CAAC;IACH,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,6BAA6B,MAAM,CAAC,KAAK,SAAS,CAAC,CAAC;QAChE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
interface TranslateCommandOptions {
|
|
2
|
+
lang?: string;
|
|
3
|
+
langId?: string;
|
|
4
|
+
source?: string;
|
|
5
|
+
sourceId?: string;
|
|
6
|
+
text?: string;
|
|
7
|
+
file?: string;
|
|
8
|
+
format?: 'json' | 'table';
|
|
9
|
+
limit?: string;
|
|
10
|
+
}
|
|
11
|
+
export default function translateCommand(operation: string, options: TranslateCommandOptions): Promise<void>;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=translate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate.d.ts","sourceRoot":"","sources":["../../src/commands/translate.tsx"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA8bD,wBAA8B,gBAAgB,CAC5C,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,IAAI,CAAC,CAuCf"}
|
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import { promises as fs } from 'fs';
|
|
2
|
+
import { loadAuthConfig } from '../utils/auth.js';
|
|
3
|
+
import { ButterflyAPI } from '../utils/api.js';
|
|
4
|
+
async function getUntranslated(api, options) {
|
|
5
|
+
const languageId = await resolveLanguageId(api, options);
|
|
6
|
+
if (!languageId) {
|
|
7
|
+
console.error('ERROR: Language not found. Use --lang (iso_code) or --lang-id');
|
|
8
|
+
process.exit(1);
|
|
9
|
+
}
|
|
10
|
+
const limit = options.limit ? parseInt(options.limit, 10) : undefined;
|
|
11
|
+
const code = `
|
|
12
|
+
{% set existing = db().from('bfy_translations').where('bfy_language_id', ${languageId}).column('bfy_translation_text_id') %}
|
|
13
|
+
{% set untranslated = db().from('bfy_translation_texts').whereNotIn('id', existing)${limit ? `.limit(${limit})` : ''}.get() %}
|
|
14
|
+
{{ untranslated|json_encode }}
|
|
15
|
+
`.trim();
|
|
16
|
+
const result = await api.executeCode(code);
|
|
17
|
+
if (!result.success) {
|
|
18
|
+
console.error(`ERROR: ${result.error || 'Failed to fetch untranslated texts'}`);
|
|
19
|
+
process.exit(1);
|
|
20
|
+
}
|
|
21
|
+
let untranslated = [];
|
|
22
|
+
try {
|
|
23
|
+
untranslated = JSON.parse(result.output || '[]');
|
|
24
|
+
}
|
|
25
|
+
catch {
|
|
26
|
+
console.error('ERROR: Failed to parse response');
|
|
27
|
+
process.exit(1);
|
|
28
|
+
}
|
|
29
|
+
if (untranslated.length === 0) {
|
|
30
|
+
console.log('All texts are translated for this language.');
|
|
31
|
+
process.exit(0);
|
|
32
|
+
}
|
|
33
|
+
if (options.format === 'table') {
|
|
34
|
+
console.log('\nUntranslated texts:\n');
|
|
35
|
+
console.log('ID\t| Source');
|
|
36
|
+
console.log('-'.repeat(60));
|
|
37
|
+
for (const text of untranslated) {
|
|
38
|
+
const truncated = text.source.length > 50 ? text.source.substring(0, 47) + '...' : text.source;
|
|
39
|
+
console.log(`${text.id}\t| ${truncated}`);
|
|
40
|
+
}
|
|
41
|
+
console.log(`\nTotal: ${untranslated.length} untranslated texts`);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
console.log(JSON.stringify(untranslated, null, 2));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
async function addTranslation(api, options) {
|
|
48
|
+
if (!options.text) {
|
|
49
|
+
console.error('ERROR: --text is required for add operation');
|
|
50
|
+
process.exit(1);
|
|
51
|
+
}
|
|
52
|
+
const languageId = await resolveLanguageId(api, options);
|
|
53
|
+
if (!languageId) {
|
|
54
|
+
console.error('ERROR: Language not found. Use --lang (iso_code) or --lang-id');
|
|
55
|
+
process.exit(1);
|
|
56
|
+
}
|
|
57
|
+
const sourceTextId = await resolveSourceTextId(api, options);
|
|
58
|
+
if (!sourceTextId) {
|
|
59
|
+
console.error('ERROR: Source text not found. Use --source (text) or --source-id');
|
|
60
|
+
process.exit(1);
|
|
61
|
+
}
|
|
62
|
+
const checkCode = `
|
|
63
|
+
{% set t = db().from('bfy_translations')
|
|
64
|
+
.where('bfy_language_id', ${languageId})
|
|
65
|
+
.where('bfy_translation_text_id', ${sourceTextId})
|
|
66
|
+
.first() %}
|
|
67
|
+
{{ t ? t.id : 'null' }}
|
|
68
|
+
`.trim();
|
|
69
|
+
const checkResult = await api.executeCode(checkCode);
|
|
70
|
+
const existingId = checkResult.output && checkResult.output !== 'null'
|
|
71
|
+
? parseInt(checkResult.output, 10)
|
|
72
|
+
: null;
|
|
73
|
+
if (existingId) {
|
|
74
|
+
const result = await api.performOperation('bfy_translations', 'edit', {
|
|
75
|
+
id: existingId,
|
|
76
|
+
text: options.text
|
|
77
|
+
});
|
|
78
|
+
if (result.success) {
|
|
79
|
+
console.log(`SUCCESS: Translation updated (ID: ${existingId})`);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
console.error(`ERROR: ${result.error || result.message || 'Failed to update translation'}`);
|
|
83
|
+
process.exit(1);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
const result = await api.performOperation('bfy_translations', 'add', {
|
|
88
|
+
bfy_language_id: languageId,
|
|
89
|
+
bfy_translation_text_id: sourceTextId,
|
|
90
|
+
text: options.text
|
|
91
|
+
});
|
|
92
|
+
if (result.success) {
|
|
93
|
+
console.log(`SUCCESS: Translation added (ID: ${result.id})`);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
console.error(`ERROR: ${result.error || result.message || 'Failed to add translation'}`);
|
|
97
|
+
process.exit(1);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function parseCSVLine(line) {
|
|
102
|
+
const fields = [];
|
|
103
|
+
let current = '';
|
|
104
|
+
let inQuotes = false;
|
|
105
|
+
for (let i = 0; i < line.length; i++) {
|
|
106
|
+
const char = line[i];
|
|
107
|
+
const nextChar = line[i + 1];
|
|
108
|
+
if (char === '"' && !inQuotes) {
|
|
109
|
+
inQuotes = true;
|
|
110
|
+
}
|
|
111
|
+
else if (char === '"' && inQuotes) {
|
|
112
|
+
if (nextChar === '"') {
|
|
113
|
+
current += '"';
|
|
114
|
+
i++;
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
inQuotes = false;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
else if (char === '\t' && !inQuotes) {
|
|
121
|
+
fields.push(current);
|
|
122
|
+
current = '';
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
current += char;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
fields.push(current);
|
|
129
|
+
return fields;
|
|
130
|
+
}
|
|
131
|
+
async function bulkTranslate(api, options) {
|
|
132
|
+
if (!options.file) {
|
|
133
|
+
console.error('ERROR: --file is required for bulk operation');
|
|
134
|
+
process.exit(1);
|
|
135
|
+
}
|
|
136
|
+
const languageId = await resolveLanguageId(api, options);
|
|
137
|
+
if (!languageId) {
|
|
138
|
+
console.error('ERROR: Language not found. Use --lang (iso_code) or --lang-id');
|
|
139
|
+
process.exit(1);
|
|
140
|
+
}
|
|
141
|
+
let translations;
|
|
142
|
+
try {
|
|
143
|
+
const fileContent = await fs.readFile(options.file, 'utf-8');
|
|
144
|
+
const lines = fileContent.split('\n').filter(line => line.trim() !== '');
|
|
145
|
+
if (lines.length === 0) {
|
|
146
|
+
console.error('ERROR: File is empty');
|
|
147
|
+
process.exit(1);
|
|
148
|
+
}
|
|
149
|
+
const firstLine = lines[0].toLowerCase();
|
|
150
|
+
const startIndex = (firstLine.includes('source') && firstLine.includes('text')) ? 1 : 0;
|
|
151
|
+
translations = [];
|
|
152
|
+
for (let i = startIndex; i < lines.length; i++) {
|
|
153
|
+
const fields = parseCSVLine(lines[i]);
|
|
154
|
+
if (fields.length < 2) {
|
|
155
|
+
console.error(`WARNING: Skipping line ${i + 1} - expected 2 columns (source, text), got ${fields.length}`);
|
|
156
|
+
continue;
|
|
157
|
+
}
|
|
158
|
+
const source = fields[0].trim();
|
|
159
|
+
const text = fields[1].trim();
|
|
160
|
+
if (source && text) {
|
|
161
|
+
translations.push({ source, text });
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
catch (error) {
|
|
166
|
+
console.error(`ERROR: Failed to read/parse file: ${error.message}`);
|
|
167
|
+
process.exit(1);
|
|
168
|
+
}
|
|
169
|
+
if (translations.length === 0) {
|
|
170
|
+
console.error('ERROR: No valid translations found in file');
|
|
171
|
+
process.exit(1);
|
|
172
|
+
}
|
|
173
|
+
console.log(`Processing ${translations.length} translations...`);
|
|
174
|
+
const sourcesCode = `
|
|
175
|
+
{% set texts = db().from('bfy_translation_texts').get() %}
|
|
176
|
+
{% set map = {} %}
|
|
177
|
+
{% for t in texts %}
|
|
178
|
+
{% set map = map|merge({('s_' ~ t.id): t.source}) %}
|
|
179
|
+
{% endfor %}
|
|
180
|
+
{{ map|json_encode }}
|
|
181
|
+
`.trim();
|
|
182
|
+
const sourcesResult = await api.executeCode(sourcesCode);
|
|
183
|
+
let sourceTextMap = {};
|
|
184
|
+
try {
|
|
185
|
+
sourceTextMap = JSON.parse(sourcesResult.output || '{}');
|
|
186
|
+
}
|
|
187
|
+
catch {
|
|
188
|
+
console.error('ERROR: Failed to fetch source texts');
|
|
189
|
+
process.exit(1);
|
|
190
|
+
}
|
|
191
|
+
const sourceToId = {};
|
|
192
|
+
for (const [key, source] of Object.entries(sourceTextMap)) {
|
|
193
|
+
const id = parseInt(key.replace('s_', ''), 10);
|
|
194
|
+
sourceToId[source] = id;
|
|
195
|
+
}
|
|
196
|
+
const existingCode = `
|
|
197
|
+
{% set t = db().from('bfy_translations').where('bfy_language_id', ${languageId}).get() %}
|
|
198
|
+
{% set map = {} %}
|
|
199
|
+
{% for tr in t %}
|
|
200
|
+
{% set map = map|merge({('t_' ~ tr.bfy_translation_text_id): tr.id}) %}
|
|
201
|
+
{% endfor %}
|
|
202
|
+
{{ map|json_encode }}
|
|
203
|
+
`.trim();
|
|
204
|
+
const existingResult = await api.executeCode(existingCode);
|
|
205
|
+
let existingMap = {};
|
|
206
|
+
try {
|
|
207
|
+
existingMap = JSON.parse(existingResult.output || '{}');
|
|
208
|
+
}
|
|
209
|
+
catch {
|
|
210
|
+
console.error('ERROR: Failed to fetch existing translations');
|
|
211
|
+
process.exit(1);
|
|
212
|
+
}
|
|
213
|
+
let added = 0;
|
|
214
|
+
let updated = 0;
|
|
215
|
+
let skipped = 0;
|
|
216
|
+
let errors = 0;
|
|
217
|
+
const missingSourceTexts = [];
|
|
218
|
+
for (const entry of translations) {
|
|
219
|
+
let sourceTextId;
|
|
220
|
+
if (entry.sourceId) {
|
|
221
|
+
sourceTextId = entry.sourceId;
|
|
222
|
+
}
|
|
223
|
+
else if (entry.source) {
|
|
224
|
+
sourceTextId = sourceToId[entry.source];
|
|
225
|
+
}
|
|
226
|
+
if (!sourceTextId) {
|
|
227
|
+
if (entry.source) {
|
|
228
|
+
const createResult = await api.performOperation('bfy_translation_texts', 'add', {
|
|
229
|
+
source: entry.source
|
|
230
|
+
});
|
|
231
|
+
if (createResult.success && createResult.id) {
|
|
232
|
+
sourceTextId = createResult.id;
|
|
233
|
+
sourceToId[entry.source] = sourceTextId;
|
|
234
|
+
console.log(` Created source text: "${entry.source.substring(0, 30)}..." (ID: ${sourceTextId})`);
|
|
235
|
+
}
|
|
236
|
+
else {
|
|
237
|
+
missingSourceTexts.push(entry.source);
|
|
238
|
+
errors++;
|
|
239
|
+
continue;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
else {
|
|
243
|
+
skipped++;
|
|
244
|
+
continue;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
const existingTranslationId = existingMap[`t_${sourceTextId}`];
|
|
248
|
+
if (existingTranslationId) {
|
|
249
|
+
const result = await api.performOperation('bfy_translations', 'edit', {
|
|
250
|
+
id: existingTranslationId,
|
|
251
|
+
text: entry.text
|
|
252
|
+
});
|
|
253
|
+
if (result.success) {
|
|
254
|
+
updated++;
|
|
255
|
+
}
|
|
256
|
+
else {
|
|
257
|
+
errors++;
|
|
258
|
+
console.error(` ERROR updating translation for source ID ${sourceTextId}: ${result.error || result.message}`);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
else {
|
|
262
|
+
const result = await api.performOperation('bfy_translations', 'add', {
|
|
263
|
+
bfy_language_id: languageId,
|
|
264
|
+
bfy_translation_text_id: sourceTextId,
|
|
265
|
+
text: entry.text
|
|
266
|
+
});
|
|
267
|
+
if (result.success) {
|
|
268
|
+
added++;
|
|
269
|
+
existingMap[`t_${sourceTextId}`] = result.id;
|
|
270
|
+
}
|
|
271
|
+
else {
|
|
272
|
+
errors++;
|
|
273
|
+
console.error(` ERROR adding translation for source ID ${sourceTextId}: ${result.error || result.message}`);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
console.log('\n--- Summary ---');
|
|
278
|
+
console.log(`Added: ${added}`);
|
|
279
|
+
console.log(`Updated: ${updated}`);
|
|
280
|
+
console.log(`Skipped: ${skipped}`);
|
|
281
|
+
console.log(`Errors: ${errors}`);
|
|
282
|
+
if (missingSourceTexts.length > 0) {
|
|
283
|
+
console.log(`\nMissing source texts that couldn't be created:`);
|
|
284
|
+
for (const text of missingSourceTexts.slice(0, 10)) {
|
|
285
|
+
console.log(` - ${text.substring(0, 50)}...`);
|
|
286
|
+
}
|
|
287
|
+
if (missingSourceTexts.length > 10) {
|
|
288
|
+
console.log(` ... and ${missingSourceTexts.length - 10} more`);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
process.exit(errors > 0 ? 1 : 0);
|
|
292
|
+
}
|
|
293
|
+
async function listLanguages(api, options) {
|
|
294
|
+
const code = `
|
|
295
|
+
{% set langs = db().from('bfy_languages').get() %}
|
|
296
|
+
{% set result = [] %}
|
|
297
|
+
{% for l in langs %}
|
|
298
|
+
{% set total = db().from('bfy_translation_texts').count() %}
|
|
299
|
+
{% set translated = db().from('bfy_translations').where('bfy_language_id', l.id).count() %}
|
|
300
|
+
{% set result = result|merge([{
|
|
301
|
+
"id": l.id,
|
|
302
|
+
"name": l.name,
|
|
303
|
+
"iso_code": l.iso_code,
|
|
304
|
+
"total": total,
|
|
305
|
+
"translated": translated,
|
|
306
|
+
"untranslated": total - translated
|
|
307
|
+
}]) %}
|
|
308
|
+
{% endfor %}
|
|
309
|
+
{{ result|json_encode }}
|
|
310
|
+
`.trim();
|
|
311
|
+
const result = await api.executeCode(code);
|
|
312
|
+
if (!result.success) {
|
|
313
|
+
console.error(`ERROR: ${result.error || 'Failed to fetch languages'}`);
|
|
314
|
+
process.exit(1);
|
|
315
|
+
}
|
|
316
|
+
let languages = [];
|
|
317
|
+
try {
|
|
318
|
+
languages = JSON.parse(result.output || '[]');
|
|
319
|
+
}
|
|
320
|
+
catch {
|
|
321
|
+
console.error('ERROR: Failed to parse response');
|
|
322
|
+
process.exit(1);
|
|
323
|
+
}
|
|
324
|
+
if (options.format === 'table' || !options.format) {
|
|
325
|
+
console.log('\nAvailable languages:\n');
|
|
326
|
+
console.log('ID\t| ISO\t| Name\t\t| Translated\t| Untranslated');
|
|
327
|
+
console.log('-'.repeat(70));
|
|
328
|
+
for (const lang of languages) {
|
|
329
|
+
const name = lang.name.padEnd(12);
|
|
330
|
+
console.log(`${lang.id}\t| ${lang.iso_code}\t| ${name}\t| ${lang.translated}/${lang.total}\t\t| ${lang.untranslated}`);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
console.log(JSON.stringify(languages, null, 2));
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
async function resolveLanguageId(api, options) {
|
|
338
|
+
if (options.langId) {
|
|
339
|
+
return parseInt(options.langId, 10);
|
|
340
|
+
}
|
|
341
|
+
if (options.lang) {
|
|
342
|
+
const code = `{% set l = db().from('bfy_languages').where('iso_code', '${options.lang}').first() %}{{ l ? l.id : 'null' }}`;
|
|
343
|
+
const result = await api.executeCode(code);
|
|
344
|
+
if (result.success && result.output && result.output !== 'null') {
|
|
345
|
+
return parseInt(result.output, 10);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
return null;
|
|
349
|
+
}
|
|
350
|
+
async function resolveSourceTextId(api, options) {
|
|
351
|
+
if (options.sourceId) {
|
|
352
|
+
return parseInt(options.sourceId, 10);
|
|
353
|
+
}
|
|
354
|
+
if (options.source) {
|
|
355
|
+
const escapedSource = options.source.replace(/'/g, "\\'");
|
|
356
|
+
const code = `{% set t = db().from('bfy_translation_texts').where('source', '${escapedSource}').first() %}{{ t ? t.id : 'null' }}`;
|
|
357
|
+
const result = await api.executeCode(code);
|
|
358
|
+
if (result.success && result.output && result.output !== 'null') {
|
|
359
|
+
return parseInt(result.output, 10);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
return null;
|
|
363
|
+
}
|
|
364
|
+
export default async function translateCommand(operation, options) {
|
|
365
|
+
try {
|
|
366
|
+
const validOperations = ['get-untranslated', 'add', 'bulk', 'languages'];
|
|
367
|
+
if (!validOperations.includes(operation)) {
|
|
368
|
+
console.error(`ERROR: Invalid operation: ${operation}`);
|
|
369
|
+
console.error(`Valid operations: ${validOperations.join(', ')}`);
|
|
370
|
+
process.exit(1);
|
|
371
|
+
}
|
|
372
|
+
const config = await loadAuthConfig();
|
|
373
|
+
if (!config) {
|
|
374
|
+
console.error('ERROR: No authentication configured. Run "butterfly-cli setup" first.');
|
|
375
|
+
process.exit(1);
|
|
376
|
+
}
|
|
377
|
+
const api = new ButterflyAPI(config);
|
|
378
|
+
await api.authenticate();
|
|
379
|
+
switch (operation) {
|
|
380
|
+
case 'get-untranslated':
|
|
381
|
+
await getUntranslated(api, options);
|
|
382
|
+
break;
|
|
383
|
+
case 'add':
|
|
384
|
+
await addTranslation(api, options);
|
|
385
|
+
break;
|
|
386
|
+
case 'bulk':
|
|
387
|
+
await bulkTranslate(api, options);
|
|
388
|
+
break;
|
|
389
|
+
case 'languages':
|
|
390
|
+
await listLanguages(api, options);
|
|
391
|
+
break;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
catch (error) {
|
|
395
|
+
console.error(`ERROR: ${error.message}`);
|
|
396
|
+
process.exit(1);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
//# sourceMappingURL=translate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translate.js","sourceRoot":"","sources":["../../src/commands/translate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,EAA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,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QAGD,MAAM,MAAM,GAAG,MAAM,cAAc,EAAE,CAAC;QACtC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO,CAAC,KAAK,CAAC,uEAAuE,CAAC,CAAC;YACvF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QAED,MAAM,GAAG,GAAG,IAAI,YAAY,CAAC,MAAM,CAAC,CAAC;QACrC,MAAM,GAAG,CAAC,YAAY,EAAE,CAAC;QAGzB,QAAQ,SAAS,EAAE,CAAC;YAClB,KAAK,kBAAkB;gBACrB,MAAM,eAAe,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;gBACpC,MAAM;YACR,KAAK,KAAK;gBACR,MAAM,cAAc,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;gBACnC,MAAM;YACR,KAAK,MAAM;gBACT,MAAM,aAAa,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;gBAClC,MAAM;YACR,KAAK,WAAW;gBACd,MAAM,aAAa,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;gBAClC,MAAM;QACV,CAAC;IACH,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,OAAO,CAAC,KAAK,CAAC,UAAU,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;QACzC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/commands/upload.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/commands/upload.tsx"],"names":[],"mappings":"yBA4NgB,SAAS,MAAM,EAAE;AAAjC,wBAEE"}
|
package/dist/commands/upload.js
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
2
|
import { render, Box, Text } from 'ink';
|
|
3
|
-
import { join, resolve } from 'path';
|
|
4
|
-
import { readdir, stat } from 'fs/promises';
|
|
3
|
+
import { join, resolve, basename, dirname } from 'path';
|
|
4
|
+
import { readdir, stat, access } from 'fs/promises';
|
|
5
5
|
import { loadAuthConfig } from '../utils/auth.js';
|
|
6
6
|
import { ButterflyAPI } from '../utils/api.js';
|
|
7
7
|
import { UploadProgress } from '../components/UploadProgress.js';
|
|
8
8
|
import { UploadHandler } from '../utils/uploadHandler.js';
|
|
9
|
+
async function isPartFolder(dirPath) {
|
|
10
|
+
const folderName = basename(dirPath);
|
|
11
|
+
const parentDir = dirname(dirPath);
|
|
12
|
+
const potentialContainerPath = join(parentDir, `${folderName}.bfy`);
|
|
13
|
+
try {
|
|
14
|
+
await access(potentialContainerPath);
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
catch {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
9
21
|
async function getFilesFromFolder(folderPath) {
|
|
10
22
|
const files = [];
|
|
11
23
|
async function traverse(currentPath) {
|
|
@@ -13,9 +25,13 @@ async function getFilesFromFolder(folderPath) {
|
|
|
13
25
|
for (const entry of entries) {
|
|
14
26
|
const fullPath = join(currentPath, entry.name);
|
|
15
27
|
if (entry.isDirectory()) {
|
|
16
|
-
if (
|
|
17
|
-
|
|
28
|
+
if (['node_modules', '.git', 'dist', 'build'].includes(entry.name)) {
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
if (await isPartFolder(fullPath)) {
|
|
32
|
+
continue;
|
|
18
33
|
}
|
|
34
|
+
await traverse(fullPath);
|
|
19
35
|
}
|
|
20
36
|
else if (entry.isFile()) {
|
|
21
37
|
const supportedExtensions = ['.json', '.bfy', '.yaml', '.yml', '.js', '.css'];
|
|
@@ -35,8 +51,9 @@ async function getFilesFromFolder(folderPath) {
|
|
|
35
51
|
const UploadCommand = ({ targets }) => {
|
|
36
52
|
const [status, setStatus] = useState('loading');
|
|
37
53
|
const [error, setError] = useState('');
|
|
38
|
-
const [progress, setProgress] = useState({ current: 0, total: 0 });
|
|
54
|
+
const [progress, setProgress] = useState({ current: 0, total: 0, succeeded: 0, failed: 0 });
|
|
39
55
|
const [currentFile, setCurrentFile] = useState('');
|
|
56
|
+
const [uploadErrors, setUploadErrors] = useState([]);
|
|
40
57
|
useEffect(() => {
|
|
41
58
|
const upload = async () => {
|
|
42
59
|
try {
|
|
@@ -70,30 +87,35 @@ const UploadCommand = ({ targets }) => {
|
|
|
70
87
|
throw new Error(`Failed to process ${target}: ${err instanceof Error ? err.message : 'Unknown error'}`);
|
|
71
88
|
}
|
|
72
89
|
}
|
|
73
|
-
setProgress({ current: 0, total: allFiles.length });
|
|
74
|
-
const uploadHandler = new UploadHandler(api
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
});
|
|
90
|
+
setProgress({ current: 0, total: allFiles.length, succeeded: 0, failed: 0 });
|
|
91
|
+
const uploadHandler = new UploadHandler(api);
|
|
92
|
+
let succeeded = 0;
|
|
93
|
+
let failed = 0;
|
|
94
|
+
const errors = [];
|
|
81
95
|
for (let i = 0; i < allFiles.length; i++) {
|
|
82
96
|
const file = allFiles[i];
|
|
83
97
|
setCurrentFile(file.path.split('/').pop() || file.path);
|
|
84
98
|
try {
|
|
85
99
|
const result = await uploadHandler.uploadFile(file.path);
|
|
86
100
|
if (!result.success) {
|
|
87
|
-
|
|
101
|
+
errors.push({ file: file.path, message: result.message });
|
|
102
|
+
failed++;
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
succeeded++;
|
|
88
106
|
}
|
|
89
|
-
setProgress({ current: i + 1, total: allFiles.length });
|
|
107
|
+
setProgress({ current: i + 1, total: allFiles.length, succeeded, failed });
|
|
90
108
|
}
|
|
91
109
|
catch (err) {
|
|
92
|
-
|
|
110
|
+
const errMsg = err instanceof Error ? err.message : String(err);
|
|
111
|
+
errors.push({ file: file.path, message: errMsg });
|
|
112
|
+
failed++;
|
|
113
|
+
setProgress({ current: i + 1, total: allFiles.length, succeeded, failed });
|
|
93
114
|
}
|
|
94
115
|
}
|
|
116
|
+
setUploadErrors(errors);
|
|
95
117
|
setStatus('complete');
|
|
96
|
-
setTimeout(() => process.exit(0), 2000);
|
|
118
|
+
setTimeout(() => process.exit(failed > 0 ? 1 : 0), 2000);
|
|
97
119
|
}
|
|
98
120
|
catch (err) {
|
|
99
121
|
setError(err instanceof Error ? err.message : 'Unknown error');
|
|
@@ -104,9 +126,19 @@ const UploadCommand = ({ targets }) => {
|
|
|
104
126
|
upload();
|
|
105
127
|
}, [targets]);
|
|
106
128
|
return (React.createElement(Box, { flexDirection: "column" },
|
|
107
|
-
status === 'loading' && React.createElement(Text, { color: "
|
|
108
|
-
status === 'uploading' && (React.createElement(UploadProgress, { current: progress.current, total: progress.total, currentFile: currentFile, status: "uploading" })),
|
|
109
|
-
status === 'complete' && (React.createElement(
|
|
129
|
+
status === 'loading' && React.createElement(Text, { color: "gray" }, "..."),
|
|
130
|
+
status === 'uploading' && (React.createElement(UploadProgress, { current: progress.current, total: progress.total, currentFile: currentFile, status: "uploading", succeeded: progress.succeeded, failed: progress.failed })),
|
|
131
|
+
status === 'complete' && (React.createElement(React.Fragment, null,
|
|
132
|
+
React.createElement(UploadProgress, { current: progress.total, total: progress.total, currentFile: "", status: "complete", succeeded: progress.succeeded, failed: progress.failed }),
|
|
133
|
+
uploadErrors.length > 0 && (React.createElement(Box, { flexDirection: "column", marginTop: 1 },
|
|
134
|
+
React.createElement(Text, { color: "red", bold: true }, "Failed uploads:"),
|
|
135
|
+
uploadErrors.map((err, idx) => (React.createElement(Box, { key: idx, flexDirection: "column", marginLeft: 1, marginTop: 1 },
|
|
136
|
+
React.createElement(Text, { color: "yellow" },
|
|
137
|
+
"\u2022 ",
|
|
138
|
+
err.file),
|
|
139
|
+
React.createElement(Text, { color: "gray", dimColor: true },
|
|
140
|
+
" ",
|
|
141
|
+
err.message)))))))),
|
|
110
142
|
status === 'error' && (React.createElement(UploadProgress, { current: 0, total: 0, currentFile: "", status: "error", error: error }))));
|
|
111
143
|
};
|
|
112
144
|
export default (targets) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload.js","sourceRoot":"","sources":["../../src/commands/upload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"upload.js","sourceRoot":"","sources":["../../src/commands/upload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAK1D,KAAK,UAAU,YAAY,CAAC,OAAe;IACzC,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;IACrC,MAAM,SAAS,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACnC,MAAM,sBAAsB,GAAG,IAAI,CAAC,SAAS,EAAE,GAAG,UAAU,MAAM,C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AK,EACrB,WAAW,EAAC,EAAE,EACd,MAAM,EAAC,UAAU,EACjB,SAAS,EAAE,QAAQ,CAAC,SAAS,EAC7B,MAAM,EAAE,QAAQ,CAAC,MAAM,GACvB;YACD,YAAY,CAAC,MAAM,GAAG,CAAC,IAAI,CAC1B,oBAAC,GAAG,IAAC,aAAa,EAAC,QAAQ,EAAC,SAAS,EAAE,CAAC;gBACtC,oBAAC,IAAI,IAAC,KAAK,EAAC,KAAK,EAAC,IAAI,4BAAuB;gBAC5C,YAAY,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAC9B,oBAAC,GAAG,IAAC,GAAG,EAAE,GAAG,EAAE,aAAa,EAAC,QAAQ,EAAC,UAAU,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC;oBAC/D,oBAAC,IAAI,IAAC,KAAK,EAAC,QAAQ;;wBAAI,GAAG,CAAC,IAAI,CAAQ;oBACxC,oBAAC,IAAI,IAAC,KAAK,EAAC,MAAM,EAAC,QAAQ;;wBAAI,GAAG,CAAC,OAAO,CAAQ,CAC9C,CACP,CAAC,CACE,CACP,CACA,CACJ;QACA,MAAM,KAAK,OAAO,IAAI,CACrB,oBAAC,cAAc,IACb,OAAO,EAAE,CAAC,EACV,KAAK,EAAE,CAAC,EACR,WAAW,EAAC,EAAE,EACd,MAAM,EAAC,OAAO,EACd,KAAK,EAAE,KAAK,GACZ,CACH,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,CAAC,OAAiB,EAAE,EAAE;IACnC,MAAM,CAAC,oBAAC,aAAa,IAAC,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC;AAC9C,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ResourceDiff } from '../diff/types.js';
|
|
3
|
+
export type ResolveAction = 'keep_local' | 'take_remote' | 'skip';
|
|
4
|
+
interface ConflictResolverProps {
|
|
5
|
+
diff: ResourceDiff;
|
|
6
|
+
onResolve: (action: ResolveAction) => void;
|
|
7
|
+
onShowDetails?: () => void;
|
|
8
|
+
isApplying?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const ConflictResolver: React.FC<ConflictResolverProps>;
|
|
11
|
+
export default ConflictResolver;
|
|
12
|
+
//# sourceMappingURL=ConflictResolver.d.ts.map
|