-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
2,424 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...odules/common-cartridge/common-cartridge-client/card-client/dto/card-list-response.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
apps/server/src/modules/common-cartridge/common-cartridge-client/card-client/dto/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export { RichTextElementResponseDto } from './rich-text-element-response.dto'; | ||
export { RichTextElementContentDto } from './rich-text-element-content.dto'; | ||
export { LinkElementContentDto } from './link-element-content.dto'; | ||
export { LinkElementResponseDto } from './link-element-response.dto'; | ||
export { CardResponseDto } from './card-response.dto'; | ||
export { CardListResponseDto } from './card-list-response.dto'; | ||
export { TimestampResponseDto } from './timestamp-response.dto'; | ||
export { VisibilitySettingsResponseDto } from './visibility-settings-response.dto'; |
18 changes: 9 additions & 9 deletions
18
...ules/common-cartridge/common-cartridge-client/card-client/dto/link-element-content.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
export class LinkElementContentDto { | ||
url: string; | ||
public url: string; | ||
|
||
title: string; | ||
public title: string; | ||
|
||
description?: string; | ||
public description?: string; | ||
|
||
imageUrl?: string; | ||
public imageUrl?: string; | ||
|
||
constructor(url: string, title: string, description: string, imageUrl: string) { | ||
this.url = url; | ||
this.title = title; | ||
this.description = description; | ||
this.imageUrl = imageUrl; | ||
constructor(props: Readonly<LinkElementContentDto>) { | ||
this.url = props.url; | ||
this.title = props.title; | ||
this.description = props.description; | ||
this.imageUrl = props.imageUrl; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...common-cartridge/common-cartridge-client/card-client/dto/rich-text-element-content.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
...odules/common-cartridge/common-cartridge-client/card-client/dto/timestamp-response.dto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
export class TimestampResponseDto { | ||
lastUpdatedAt: string; | ||
public lastUpdatedAt: string; | ||
|
||
createdAt: string; | ||
public createdAt: string; | ||
|
||
deletedAt?: string; | ||
public deletedAt?: string; | ||
|
||
constructor(lastUpdatedAt: string, createdAt: string, deletedAt: string) { | ||
this.lastUpdatedAt = lastUpdatedAt; | ||
this.createdAt = createdAt; | ||
this.deletedAt = deletedAt; | ||
constructor(props: Readonly<TimestampResponseDto>) { | ||
this.lastUpdatedAt = props.lastUpdatedAt; | ||
this.createdAt = props.createdAt; | ||
this.deletedAt = props.deletedAt; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.