const composition = [
    {
        header: "tab_activation",
        forms: [
            {
                formBlocks : [
                    {
                        formLines: [
                            {
                                label: "url",
                                fields: ["url"],
                                help: "gpt_proxy_url"
                            },
                            {
                                fields: ["model"],
                                label: "model",
                                help: "gpt_proxy_model"
                            },
                            {
                                fields: ["api-key"],
                                label: "api-key",
                                help: "gpt_proxy_api_key"
                            },
                             {
                                fields: ["limit-cb-token"],
                                label: "limit-cb-token",
                                help: "gpt_proxy_limit_cb_token"
                            },
                        ]
                    }
                ],
            },
        ]
    },
    {
        header: "user_tables",
        forms: [
            {
                listForm: true,
                listFields: ["users-table"],
                field: "table-list",
                addButton: "add_table",

                formBlocks: [
                    {
                        formLines: [
                            {
                                fields: ["users-table"],
                                label: "table-destination",
                                help: "gpt_proxy_users_table"
                            },
                            {
                                showOn: "users-table",
                                fields: ["key-login"],
                                label: "key-login",
                                help: "gpt_proxy_key_login"
                            },
                            {
                                showOn: "users-table",
                                fields: ["modules"],
                                label: "modules",
                                help: "gpt_proxy_modules"
                            },
                            {
                                showOn: "users-table",
                                fields: ["count-used-cb-token"],
                                label: "count-used-cb-token",
                                help: "gpt_proxy_count_used_cb_token"
                            },
                            {
                                showOn: "users-table",
                                fields: ["tariff-name"],
                                label: "tariff-name",
                                help: "gpt_proxy_tarif_name"
                            },
                            {
                                showOn: "users-table",
                                fields: ["count-cb-token"],
                                label: "count-cb-token",
                                help: "gpt_proxy_count_cb_token"
                            },
                            {
                                showOn: "users-table",
                                fields: ["count-images-request"],
                                label: "count-images-request",
                                help: "gpt_proxy_count_images_request"
                            },
                            {
                                showOn: "users-table",
                                fields: ["count-symbol-request"],
                                label: "count-symbol-request",
                                help: "gpt_proxy_ccount_symbol_request"
                            },
                            {
                                showOn: "users-table",
                                fields: ["activation-date"],
                                label: "activation-date",
                                help: "gpt_proxy_activation_date"
                            },
                            {
                                showOn: "users-table",
                                fields: ["file-size"],
                                label: "file-size",
                                help: "gpt_proxy_file_size"
                            },
                            {
                                showOn: "users-table",
                                fields: ["date-calculate-token"],
                                label: "date-calculate-token",
                                help: "gpt_proxy_date_calculate_token"
                            },
                            {
                                showOn: "users-table",
                                fields: ["service-symbol-limit"],
                                label: "service-symbol-limit",
                                help: "gpt_proxy_service_symbol_limit"
                            },
                            {
                                showOn: "users-table",
                                fields: ["service-type"],
                                label: "service-type",
                                help: "gpt_proxy_service_type"
                            },
                            {
                                showOn: "users-table",
                                fields: ["service-pass-encrypted"],
                                label: "service-pass-encrypted",
                                help: "gpt_proxy_service_pass_encrypted"
                            },
                            {
                                showOn: "users-table",
                                fields: ["service-pass-install"],
                                label: "service-pass-install",
                                help: "gpt_proxy_service_pass_install"
                            },
                            {
                                showOn: "users-table",
                                fields: ["email"],
                                label: "email",
                                help: "gpt_proxy_email"
                            }
                        ]
                    }
                ]
            },
        ]
    },
    {
        header: "tab_php8",
        forms: [
            {
                formBlocks : [
                    {
                        formLines: [
                            {
                                fields: ["api-key-php8"],
                                label: "api-key-php8",
                                help: "gpt_proxy_api_key_php8"
                            },
                            {
                                fields: ["model-php8"],
                                label: "model-php8",
                                help: "gpt_proxy_model_php8"
                            },
                            {
                                fields: ["limit-symbol-php8"],
                                label: "limit-symbol-php8",
                                help: "gpt_proxy_limit_symbol_php8"
                            },
                            {
                                label: "prompt",
                                fields: ["prompt"],
                                help: "gpt_proxy_prompt"
                            },
                            {
                                fields: ["role-php8"],
                                label: "role-php8",
                                help: "role-php8"
                            }
                        ]
                    }
                ],
            },
        ]
    },
     {
        header: "rebitmq",
        forms: [
            {
                formBlocks : [
                    {
                        formLines: [
                            {
                                fields: ["host"],
                                label: "host",
                                help: "gpt_proxy_host"
                            },
                            {
                                fields: ["port"],
                                label: "port",
                                help: "gpt_proxy_port"
                            },
                            {
                                fields: ["user"],
                                label: "user",
                                help: "gpt_proxy_user"
                            },
                            {
                                label: "pass",
                                fields: ["pass"],
                                help: "gpt_proxy_pass"
                            },
                            {
                                fields: ["vhost"],
                                label: "vhost",
                                help: "gpt_proxy_vhost"
                            }
                        ]
                    }
                ],
            },
        ]
    },
    {
        header: "tab_access",
        forms: [
            {
              formBlocks: [
                  {
                      header: "access_groups",
                      formLines: [
                          {
                              label: "checkbox-groups",
                              fields: ["checkbox-groups"],
                              help: "gpt_proxy_checkbox-groups"

                          }
                      ]
                  }
              ]
          },
      ]
    }
];

export default composition;
