vaadin / starters

Issue repository for all the starter projects in https://vaadin.com/start
3 stars 0 forks source link

Problem creating new starter #166

Closed mira13 closed 4 months ago

mira13 commented 4 months ago

I was unable to download my application from start.vaadin.com.

This was the configuration used:

Please paste configuration here. It was automatically added to your clipboard.
{
  "applicationConfiguration": {
    "projectName": "Спартан",
    "groupId": "com.example.application",
    "vaadinVersion": "v24",
    "codeGeneration": "JAVA",
    "dockerConfiguration": false,
    "kubernetesConfiguration": false,
    "alwaysGenerateBackend": false,
    "javaVersion": 21,
    "access": "PUBLIC",
    "experimentalFeatures": [],
    "git": true,
    "runOnRandomPort": false,
    "artifactId": "my-app",
    "sizingFeatureEnabled": true,
    "generatedProjectId": "88dcf805-ebad-4b87-bf84-cae8e6e43d39"
  },
  "theme": {
    "componentStyles": {
      "vaadin-button": [
        "\n:host(:not([theme~=\"tertiary\"])) {\n  background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-shade-5pct));\n  box-shadow: inset 0 0 0 1px var(--lumo-contrast-20pct);\n}\n:host(:not([theme~=\"tertiary\"]):not([theme~=\"primary\"]):not([theme~=\"error\"]):not([theme~=\"success\"])) {\n  color: var(--lumo-body-text-color);\n}\n:host([focus-ring]:not([theme~=\"tertiary\"])) {\n  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct), inset 0 0 0 1px var(--lumo-primary-color);\n}\n:host([focus-ring][theme~=\"primary\"]) {\n  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct), inset 0 0 0 1px var(--lumo-primary-contrast-color);\n}\n:host([theme~=\"primary\"]) {\n  text-shadow: 0 -1px 0 var(--lumo-shade-20pct);\n}"
      ]
    },
    "variant": "light",
    "styles": "    html {\n      --lumo-primary-color: hsl(202, 77%, 46%);\n      --lumo-primary-color-50pct: hsla(202, 77%, 46%, 0.5);\n      --lumo-primary-color-10pct: hsla(202, 77%, 46%, 0.1);\n      --lumo-border-radius-s: calc(var(--lumo-size-m) / 6);\n      --lumo-border-radius-m: calc(var(--lumo-size-m) / 2);\n      --lumo-border-radius-l: var(--lumo-size-m);\n      --lumo-line-height-m: 1.8;\n      --lumo-line-height-s: 1.5;\n      --lumo-line-height-xs: 1.3;\n      --lumo-primary-text-color: hsl(206, 90%, 52%);\n\n    }\n"
  },
  "views": [
    {
      "name": "Main",
      "type": "menu-on-left-layout",
      "route": "",
      "entityId": -1,
      "children": [
        {
          "id": 2,
          "name": "Поиск контрагентов",
          "type": "grid-with-filters-view",
          "route": "grid-with-filters",
          "icon": "filter-solid",
          "entityId": 1,
          "access": "LOGGED_IN",
          "children": [],
          "generateTestData": true,
          "generateUrlTemplate": false,
          "codeGeneration": "JAVA"
        }
      ],
      "generateTestData": false,
      "generateUrlTemplate": false,
      "id": 0
    }
  ],
  "entities": [
    {
      "id": 1,
      "name": "SamplePerson",
      "fields": [
        {
          "name": "id",
          "dataType": "ID",
          "editorType": "vaadin-text-field",
          "fieldType": "Integer",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "firstName",
          "dataType": "FIRST_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "lastName",
          "dataType": "LAST_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "email",
          "dataType": "EMAIL",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "jakarta.validation.constraints.Email"
          ]
        },
        {
          "name": "phone",
          "dataType": "PHONE_NUMBER",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "dateOfBirth",
          "dataType": "DATE_OF_BIRTH",
          "editorType": "vaadin-date-picker",
          "fieldType": "LocalDate",
          "uiType": "Text",
          "validators": [
            "jakarta.annotation.Nullable"
          ]
        },
        {
          "name": "occupation",
          "dataType": "OCCUPATION",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "role",
          "dataType": "WORK_ROLE",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "important",
          "dataType": "BOOLEAN_10_90",
          "editorType": "vaadin-checkbox",
          "fieldType": "boolean",
          "uiType": "Checkbox",
          "validators": []
        }
      ]
    },
    {
      "id": 5,
      "name": "User",
      "fields": [
        {
          "name": "id",
          "dataType": "ID",
          "editorType": "vaadin-text-field",
          "fieldType": "Integer",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "username",
          "dataType": "FIRST_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "name",
          "dataType": "FULL_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "hashedPassword",
          "dataType": "TWO_WORDS",
          "editorType": "vaadin-text-field",
          "fieldType": "Password",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "roles",
          "dataType": "WORD",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "profilePicture",
          "dataType": "PROFILE_PICTURE_URL",
          "editorType": "vaadin-upload",
          "fieldType": "ImageData",
          "uiType": "Image",
          "validators": [],
          "uiHints": {
            "gridColumnWidth": "96px",
            "height": "MEDIUM",
            "roundImage": true
          }
        }
      ]
    }
  ]
}