| @@ -5450,6 +5450,10 @@ components: | |||||
| - 'null' | - 'null' | ||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| numComments: | |||||
| type: | |||||
| - integer | |||||
| - 'null' | |||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| type: | type: | ||||
| @@ -5581,6 +5585,10 @@ components: | |||||
| - 'null' | - 'null' | ||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| numComments: | |||||
| type: | |||||
| - integer | |||||
| - 'null' | |||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| type: | type: | ||||
| @@ -5719,6 +5727,10 @@ components: | |||||
| - 'null' | - 'null' | ||||
| format: iri-reference | format: iri-reference | ||||
| example: 'https://example.com/' | example: 'https://example.com/' | ||||
| numComments: | |||||
| type: | |||||
| - integer | |||||
| - 'null' | |||||
| createdAt: | createdAt: | ||||
| readOnly: true | readOnly: true | ||||
| type: | type: | ||||
| @@ -273,6 +273,7 @@ export const postForm = new FormGroup({ | |||||
| contactIri: new FormControl(null, []), | contactIri: new FormControl(null, []), | ||||
| sale: new FormControl(null, []), | sale: new FormControl(null, []), | ||||
| saleIri: new FormControl(null, []), | saleIri: new FormControl(null, []), | ||||
| numComments: new FormControl(null, []), | |||||
| createdAt: new FormControl(null, []) | createdAt: new FormControl(null, []) | ||||
| }); | }); | ||||
| @@ -303,6 +304,7 @@ export const postJsonhalForm = new FormGroup({ | |||||
| contactIri: new FormControl(null, []), | contactIri: new FormControl(null, []), | ||||
| sale: new FormControl(null, []), | sale: new FormControl(null, []), | ||||
| saleIri: new FormControl(null, []), | saleIri: new FormControl(null, []), | ||||
| numComments: new FormControl(null, []), | |||||
| createdAt: new FormControl(null, []) | createdAt: new FormControl(null, []) | ||||
| }); | }); | ||||
| @@ -328,6 +330,7 @@ export const postJsonldForm = new FormGroup({ | |||||
| contactIri: new FormControl(null, []), | contactIri: new FormControl(null, []), | ||||
| sale: new FormControl(null, []), | sale: new FormControl(null, []), | ||||
| saleIri: new FormControl(null, []), | saleIri: new FormControl(null, []), | ||||
| numComments: new FormControl(null, []), | |||||
| createdAt: new FormControl(null, []) | createdAt: new FormControl(null, []) | ||||
| }); | }); | ||||
| @@ -29,7 +29,7 @@ | |||||
| <span *ngIf="post.owner === currentUser?.id" class="position-absolute bi bi-pencil p-2" | <span *ngIf="post.owner === currentUser?.id" class="position-absolute bi bi-pencil p-2" | ||||
| data-type="user-tool" | data-type="user-tool" | ||||
| data-action="edit" (click)="openModalEditPost(post)"></span> | 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"--> | <!-- <span *ngIf="post.comments?.length !== 0" role="button" class="badge bg-secondary p-2 me-2"--> | ||||
| <!-- (click)="showComments(post)">--> | <!-- (click)="showComments(post)">--> | ||||
| <!-- <ng-container--> | <!-- <ng-container--> | ||||
| @@ -39,7 +39,7 @@ | |||||
| <!-- </span>--> | <!-- </span>--> | ||||
| <!-- <span role="button" class="badge bg-secondary p-2"--> | <!-- <span role="button" class="badge bg-secondary p-2"--> | ||||
| <!-- (click)="openModalNewComment(post)">{{ 'basic.comment-it' | translate }}</span>--> | <!-- (click)="openModalNewComment(post)">{{ 'basic.comment-it' | translate }}</span>--> | ||||
| <!-- </div>--> | |||||
| </div> | |||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| </div> | </div> | ||||
| @@ -45,6 +45,7 @@ export interface Post { | |||||
| */ | */ | ||||
| readonly sale?: Contact; | readonly sale?: Contact; | ||||
| saleIri?: string | null; | saleIri?: string | null; | ||||
| numComments?: number | null; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -47,6 +47,7 @@ export interface PostJsonhal { | |||||
| */ | */ | ||||
| readonly sale?: ContactJsonhal; | readonly sale?: ContactJsonhal; | ||||
| saleIri?: string | null; | saleIri?: string | null; | ||||
| numComments?: number | null; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||
| @@ -49,6 +49,7 @@ export interface PostJsonld { | |||||
| */ | */ | ||||
| readonly sale?: ContactJsonld; | readonly sale?: ContactJsonld; | ||||
| saleIri?: string | null; | saleIri?: string | null; | ||||
| numComments?: number | null; | |||||
| readonly createdAt?: string | null; | readonly createdAt?: string | null; | ||||
| } | } | ||||