Skip to content

Commit

Permalink
run prettier in entities samples
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jun 17, 2024
1 parent 408c1ef commit 3aeca2b
Show file tree
Hide file tree
Showing 52 changed files with 2,055 additions and 1,986 deletions.
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ node_modules
travis
docs
.git
.jhipster
.vscode
**/templates/**/
69 changes: 37 additions & 32 deletions test-integration/samples/.jhipster/Album.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,39 @@
{
"applications": "*",
"changelogDate": "20200417191023",
"clientRootFolder": "",
"dto": "no",
"embedded": false,
"entityTableName": "album",
"fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }],
"fluentMethods": true,
"jpaMetamodelFiltering": false,
"name": "Album",
"pagination": "no",
"readOnly": false,
"relationships": [
{
"otherEntityField": "name",
"otherEntityName": "artist",
"otherEntityRelationshipName": "album",
"ownerSide": true,
"relationshipName": "artist",
"relationshipType": "one-to-one"
},
{
"otherEntityField": "name",
"otherEntityName": "genre",
"otherEntityRelationshipName": "album",
"ownerSide": true,
"relationshipName": "genre",
"relationshipType": "one-to-one"
},
{ "otherEntityName": "track", "otherEntityRelationshipName": "album", "relationshipName": "track", "relationshipType": "one-to-many" }
],
"service": "no"
"applications": "*",
"changelogDate": "20200417191023",
"clientRootFolder": "",
"dto": "no",
"embedded": false,
"entityTableName": "album",
"fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }],
"fluentMethods": true,
"jpaMetamodelFiltering": false,
"name": "Album",
"pagination": "no",
"readOnly": false,
"relationships": [
{
"otherEntityField": "name",
"otherEntityName": "artist",
"otherEntityRelationshipName": "album",
"ownerSide": true,
"relationshipName": "artist",
"relationshipType": "one-to-one"
},
{
"otherEntityField": "name",
"otherEntityName": "genre",
"otherEntityRelationshipName": "album",
"ownerSide": true,
"relationshipName": "genre",
"relationshipType": "one-to-one"
},
{
"otherEntityName": "track",
"otherEntityRelationshipName": "album",
"relationshipName": "track",
"relationshipType": "one-to-many"
}
],
"service": "no"
}
28 changes: 14 additions & 14 deletions test-integration/samples/.jhipster/Artist.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"applications": "*",
"changelogDate": "20200417190723",
"clientRootFolder": "",
"dto": "no",
"embedded": false,
"entityTableName": "artist",
"fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }],
"fluentMethods": true,
"jpaMetamodelFiltering": false,
"name": "Artist",
"pagination": "no",
"readOnly": false,
"relationships": [],
"service": "no"
"applications": "*",
"changelogDate": "20200417190723",
"clientRootFolder": "",
"dto": "no",
"embedded": false,
"entityTableName": "artist",
"fields": [{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] }],
"fluentMethods": true,
"jpaMetamodelFiltering": false,
"name": "Artist",
"pagination": "no",
"readOnly": false,
"relationships": [],
"service": "no"
}
66 changes: 33 additions & 33 deletions test-integration/samples/.jhipster/BankAccount.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
{
"angularJSSuffix": "mySuffix",
"changelogDate": "20200804163352",
"clientRootFolder": "test-root",
"dto": "no",
"fields": [
{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] },
{ "fieldName": "guid", "fieldType": "UUID" },
{ "fieldName": "bankNumber", "fieldType": "Integer" },
{ "fieldName": "agencyNumber", "fieldType": "Long" },
{ "fieldName": "lastOperationDuration", "fieldType": "Float" },
{ "fieldName": "meanOperationDuration", "fieldType": "Double" },
{ "fieldName": "meanQueueDuration", "fieldType": "Duration" },
{ "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] },
{ "fieldName": "openingDay", "fieldType": "LocalDate" },
{ "fieldName": "lastOperationDate", "fieldType": "Instant" },
{ "fieldName": "active", "fieldType": "Boolean" },
{ "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" },
{ "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" },
{ "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }
],
"fluentMethods": true,
"jpaMetamodelFiltering": true,
"pagination": "no",
"relationships": [
{ "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "user", "relationshipType": "many-to-one" },
{
"otherEntityName": "operation",
"otherEntityRelationshipName": "bankAccount",
"relationshipName": "operation",
"relationshipType": "one-to-many"
}
],
"service": "serviceImpl"
"angularJSSuffix": "mySuffix",
"changelogDate": "20200804163352",
"clientRootFolder": "test-root",
"dto": "no",
"fields": [
{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] },
{ "fieldName": "guid", "fieldType": "UUID" },
{ "fieldName": "bankNumber", "fieldType": "Integer" },
{ "fieldName": "agencyNumber", "fieldType": "Long" },
{ "fieldName": "lastOperationDuration", "fieldType": "Float" },
{ "fieldName": "meanOperationDuration", "fieldType": "Double" },
{ "fieldName": "meanQueueDuration", "fieldType": "Duration" },
{ "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] },
{ "fieldName": "openingDay", "fieldType": "LocalDate" },
{ "fieldName": "lastOperationDate", "fieldType": "Instant" },
{ "fieldName": "active", "fieldType": "Boolean" },
{ "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" },
{ "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" },
{ "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }
],
"fluentMethods": true,
"jpaMetamodelFiltering": true,
"pagination": "no",
"relationships": [
{ "otherEntityField": "login", "otherEntityName": "user", "relationshipName": "user", "relationshipType": "many-to-one" },
{
"otherEntityName": "operation",
"otherEntityRelationshipName": "bankAccount",
"relationshipName": "operation",
"relationshipType": "one-to-many"
}
],
"service": "serviceImpl"
}
40 changes: 20 additions & 20 deletions test-integration/samples/.jhipster/CassBankAccount.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"angularJSSuffix": "mySuffix",
"changelogDate": "20150805124839",
"dto": "mapstruct",
"fields": [
{ "fieldName": "userId", "fieldType": "UUID" },
{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] },
{ "fieldName": "bankNumber", "fieldType": "Integer" },
{ "fieldName": "agencyNumber", "fieldType": "Long" },
{ "fieldName": "lastOperationDuration", "fieldType": "Float" },
{ "fieldName": "meanOperationDuration", "fieldType": "Double" },
{ "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] },
{ "fieldName": "lastOperationDate", "fieldType": "Date" },
{ "fieldName": "active", "fieldType": "Boolean" },
{ "fieldName": "picture", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] },
{ "fieldName": "operationsFile", "fieldType": "byte[]" },
{ "fieldName": "accountType", "fieldType": "AccountTypeEnum", "fieldValues": "STANDARD,PREMIUM" }
],
"fluentMethods": true,
"pagination": "no",
"service": "serviceImpl"
"angularJSSuffix": "mySuffix",
"changelogDate": "20150805124839",
"dto": "mapstruct",
"fields": [
{ "fieldName": "userId", "fieldType": "UUID" },
{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] },
{ "fieldName": "bankNumber", "fieldType": "Integer" },
{ "fieldName": "agencyNumber", "fieldType": "Long" },
{ "fieldName": "lastOperationDuration", "fieldType": "Float" },
{ "fieldName": "meanOperationDuration", "fieldType": "Double" },
{ "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] },
{ "fieldName": "lastOperationDate", "fieldType": "Date" },
{ "fieldName": "active", "fieldType": "Boolean" },
{ "fieldName": "picture", "fieldType": "byte[]", "fieldTypeBlobContent": "image", "fieldValidateRules": ["required"] },
{ "fieldName": "operationsFile", "fieldType": "byte[]" },
{ "fieldName": "accountType", "fieldType": "AccountTypeEnum", "fieldValues": "STANDARD,PREMIUM" }
],
"fluentMethods": true,
"pagination": "no",
"service": "serviceImpl"
}
70 changes: 35 additions & 35 deletions test-integration/samples/.jhipster/Division.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
{
"changelogDate": "20170626061520",
"clientRootFolder": "test-root",
"dto": "no",
"entityTableName": "division",
"fields": [
{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required", "unique"] },
{ "fieldName": "shortName", "fieldType": "String", "fieldValidateRules": ["unique"] },
{ "fieldName": "numberOfPeople", "fieldType": "Long" },
{
"fieldName": "divisionType",
"fieldType": "DivisionType",
"fieldValidateRules": ["required"],
"fieldValues": "SCHOOL,CLASS,SUBGROUP"
},
{ "fieldName": "colorBackground", "fieldType": "String" },
{ "fieldName": "colorText", "fieldType": "String" }
],
"fluentMethods": true,
"pagination": "no",
"relationships": [
{
"otherEntityName": "place",
"otherEntityRelationshipName": "owner",
"relationshipName": "divisionsPlace",
"relationshipType": "one-to-many"
},
{
"otherEntityName": "place",
"otherEntityRelationshipName": "preferredDivision",
"ownerSide": false,
"relationshipName": "preferredPlace",
"relationshipType": "many-to-many"
}
],
"service": "no"
"changelogDate": "20170626061520",
"clientRootFolder": "test-root",
"dto": "no",
"entityTableName": "division",
"fields": [
{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required", "unique"] },
{ "fieldName": "shortName", "fieldType": "String", "fieldValidateRules": ["unique"] },
{ "fieldName": "numberOfPeople", "fieldType": "Long" },
{
"fieldName": "divisionType",
"fieldType": "DivisionType",
"fieldValidateRules": ["required"],
"fieldValues": "SCHOOL,CLASS,SUBGROUP"
},
{ "fieldName": "colorBackground", "fieldType": "String" },
{ "fieldName": "colorText", "fieldType": "String" }
],
"fluentMethods": true,
"pagination": "no",
"relationships": [
{
"otherEntityName": "place",
"otherEntityRelationshipName": "owner",
"relationshipName": "divisionsPlace",
"relationshipType": "one-to-many"
},
{
"otherEntityName": "place",
"otherEntityRelationshipName": "preferredDivision",
"ownerSide": false,
"relationshipName": "preferredPlace",
"relationshipType": "many-to-many"
}
],
"service": "no"
}
54 changes: 27 additions & 27 deletions test-integration/samples/.jhipster/DocumentBankAccount.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
{
"changelogDate": "20150805124838",
"dto": "mapstruct",
"fields": [
{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] },
{ "fieldName": "bankNumber", "fieldType": "Integer" },
{ "fieldName": "agencyNumber", "fieldType": "Long" },
{ "fieldName": "lastOperationDuration", "fieldType": "Float" },
{ "fieldName": "meanOperationDuration", "fieldType": "Double" },
{ "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] },
{ "fieldName": "openingDay", "fieldType": "LocalDate" },
{ "fieldName": "lastOperationDate", "fieldType": "Instant" },
{ "fieldName": "active", "fieldType": "Boolean" },
{ "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" },
{ "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" },
{ "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }
],
"fluentMethods": true,
"pagination": "no",
"relationships": [
{
"otherEntityName": "embeddedOperation",
"otherEntityRelationshipName": "documentBankAccount",
"relationshipName": "embeddedOperation",
"relationshipType": "one-to-many"
}
],
"service": "serviceImpl"
"changelogDate": "20150805124838",
"dto": "mapstruct",
"fields": [
{ "fieldName": "name", "fieldType": "String", "fieldValidateRules": ["required"] },
{ "fieldName": "bankNumber", "fieldType": "Integer" },
{ "fieldName": "agencyNumber", "fieldType": "Long" },
{ "fieldName": "lastOperationDuration", "fieldType": "Float" },
{ "fieldName": "meanOperationDuration", "fieldType": "Double" },
{ "fieldName": "balance", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] },
{ "fieldName": "openingDay", "fieldType": "LocalDate" },
{ "fieldName": "lastOperationDate", "fieldType": "Instant" },
{ "fieldName": "active", "fieldType": "Boolean" },
{ "fieldName": "accountType", "fieldType": "BankAccountType", "fieldValues": "CHECKING,SAVINGS,LOAN" },
{ "fieldName": "attachment", "fieldType": "byte[]", "fieldTypeBlobContent": "any" },
{ "fieldName": "description", "fieldType": "byte[]", "fieldTypeBlobContent": "text" }
],
"fluentMethods": true,
"pagination": "no",
"relationships": [
{
"otherEntityName": "embeddedOperation",
"otherEntityRelationshipName": "documentBankAccount",
"relationshipName": "embeddedOperation",
"relationshipType": "one-to-many"
}
],
"service": "serviceImpl"
}
42 changes: 21 additions & 21 deletions test-integration/samples/.jhipster/EmbeddedOperation.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"changelogDate": "20200804163351",
"clientRootFolder": "test-root",
"dto": "mapstruct",
"embedded": true,
"fields": [
{ "fieldName": "date", "fieldType": "Instant", "fieldValidateRules": ["required"] },
{ "fieldName": "description", "fieldType": "String" },
{ "fieldName": "amount", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }
],
"fluentMethods": true,
"pagination": "infinite-scroll",
"relationships": [
{
"otherEntityField": "name",
"otherEntityName": "documentBankAccount",
"otherEntityRelationshipName": "embeddedOperation",
"relationshipName": "documentBankAccount",
"relationshipType": "many-to-one"
}
],
"service": "no"
"changelogDate": "20200804163351",
"clientRootFolder": "test-root",
"dto": "mapstruct",
"embedded": true,
"fields": [
{ "fieldName": "date", "fieldType": "Instant", "fieldValidateRules": ["required"] },
{ "fieldName": "description", "fieldType": "String" },
{ "fieldName": "amount", "fieldType": "BigDecimal", "fieldValidateRules": ["required"] }
],
"fluentMethods": true,
"pagination": "infinite-scroll",
"relationships": [
{
"otherEntityField": "name",
"otherEntityName": "documentBankAccount",
"otherEntityRelationshipName": "embeddedOperation",
"relationshipName": "documentBankAccount",
"relationshipType": "many-to-one"
}
],
"service": "no"
}
Loading

0 comments on commit 3aeca2b

Please sign in to comment.