Kaynağa Gözat

comment count

master
Daniel 1 yıl önce
ebeveyn
işleme
5fee931aad
7 değiştirilmiş dosya ile 21 ekleme ve 3 silme
  1. +1
    -1
      matsen-tool/openapi.json
  2. +12
    -0
      matsen-tool/openapi.yaml
  3. +3
    -0
      matsen-tool/src/app/_forms/apiForms.ts
  4. +2
    -2
      matsen-tool/src/app/_views/posts/post-list/post-list.component.html
  5. +1
    -0
      matsen-tool/src/app/core/api/v1/model/post.ts
  6. +1
    -0
      matsen-tool/src/app/core/api/v1/model/postJsonhal.ts
  7. +1
    -0
      matsen-tool/src/app/core/api/v1/model/postJsonld.ts

+ 1
- 1
matsen-tool/openapi.json
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 12
- 0
matsen-tool/openapi.yaml Dosyayı Görüntüle

@@ -5450,6 +5450,10 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
numComments:
type:
- integer
- 'null'
createdAt:
readOnly: true
type:
@@ -5581,6 +5585,10 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
numComments:
type:
- integer
- 'null'
createdAt:
readOnly: true
type:
@@ -5719,6 +5727,10 @@ components:
- 'null'
format: iri-reference
example: 'https://example.com/'
numComments:
type:
- integer
- 'null'
createdAt:
readOnly: true
type:


+ 3
- 0
matsen-tool/src/app/_forms/apiForms.ts Dosyayı Görüntüle

@@ -273,6 +273,7 @@ export const postForm = new FormGroup({
contactIri: new FormControl(null, []),
sale: new FormControl(null, []),
saleIri: new FormControl(null, []),
numComments: new FormControl(null, []),
createdAt: new FormControl(null, [])
});

@@ -303,6 +304,7 @@ export const postJsonhalForm = new FormGroup({
contactIri: new FormControl(null, []),
sale: new FormControl(null, []),
saleIri: new FormControl(null, []),
numComments: new FormControl(null, []),
createdAt: new FormControl(null, [])
});

@@ -328,6 +330,7 @@ export const postJsonldForm = new FormGroup({
contactIri: new FormControl(null, []),
sale: new FormControl(null, []),
saleIri: new FormControl(null, []),
numComments: new FormControl(null, []),
createdAt: new FormControl(null, [])
});



+ 2
- 2
matsen-tool/src/app/_views/posts/post-list/post-list.component.html Dosyayı Görüntüle

@@ -29,7 +29,7 @@
<span *ngIf="post.owner === currentUser?.id" class="position-absolute bi bi-pencil p-2"
data-type="user-tool"
data-action="edit" (click)="openModalEditPost(post)"></span>
<!-- <div class="spt-comments-box d-flex justify-content-end mt-1 position-absolute">-->
<div class="spt-comments-box d-flex justify-content-end mt-1 position-absolute">
<!-- <span *ngIf="post.comments?.length !== 0" role="button" class="badge bg-secondary p-2 me-2"-->
<!-- (click)="showComments(post)">-->
<!-- <ng-container-->
@@ -39,7 +39,7 @@
<!-- </span>-->
<!-- <span role="button" class="badge bg-secondary p-2"-->
<!-- (click)="openModalNewComment(post)">{{ 'basic.comment-it' | translate }}</span>-->
<!-- </div>-->
</div>
</div>
</div>
</div>


+ 1
- 0
matsen-tool/src/app/core/api/v1/model/post.ts Dosyayı Görüntüle

@@ -45,6 +45,7 @@ export interface Post {
*/
readonly sale?: Contact;
saleIri?: string | null;
numComments?: number | null;
readonly createdAt?: string | null;
}


+ 1
- 0
matsen-tool/src/app/core/api/v1/model/postJsonhal.ts Dosyayı Görüntüle

@@ -47,6 +47,7 @@ export interface PostJsonhal {
*/
readonly sale?: ContactJsonhal;
saleIri?: string | null;
numComments?: number | null;
readonly createdAt?: string | null;
}


+ 1
- 0
matsen-tool/src/app/core/api/v1/model/postJsonld.ts Dosyayı Görüntüle

@@ -49,6 +49,7 @@ export interface PostJsonld {
*/
readonly sale?: ContactJsonld;
saleIri?: string | null;
numComments?: number | null;
readonly createdAt?: string | null;
}


Yükleniyor…
İptal
Kaydet