Skip to content

Commit

Permalink
angular: adjusts to required fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Dec 11, 2024
1 parent e178e33 commit eb1a2c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface I<%= entityAngularName %> {
_%>
<%= fieldName %><% if (!id /* && !fieldValidationRequired */) { %>?<% } %>: <%= tsType %><% if (!id /* && !fieldValidationRequired */) { %> | null<% } %>;
<%_ if (field.fieldTypeBinary && !field.blobContentTypeText) { _%>
<%= fieldName %>ContentType<% if (!id /* && !fieldValidationRequired */) { %>?<% } %>: string<% if (!id /* && !fieldValidationRequired */) { %> | null<% } %>,
<%= fieldName %>ContentType<% if (!fieldValidationRequired) { %>?<% } %>: string<% if (!fieldValidationRequired) { %> | null<% } %>,
<%_ } _%>
<%_ } _%>
<%_ for (const relationship of relationships.filter(rel => rel.persistableRelationship || rel.relationshipEagerLoad)) {
Expand Down

0 comments on commit eb1a2c2

Please sign in to comment.