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: ["servise-count"],
                                label: "servise-count",
                                help: "gpt_proxy_servise_count"
                            },
                            {
                                showOn: "users-table",
                                fields: ["service-symbol-limit"],
                                label: "service-symbol-limit",
                                help: "gpt_proxy_service_symbol_limit"
                            }
                        ]
                    }
                ]
            },
        ]
    },
    {
        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: "tab_access",
        forms: [
            {
              formBlocks: [
                  {
                      header: "access_groups",
                      formLines: [
                          {
                              label: "checkbox-groups",
                              fields: ["checkbox-groups"],
                              help: "gpt_proxy_checkbox-groups"

                          }
                      ]
                  }
              ]
          },
      ]
    }
];

export default composition;
