generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: OMPRAKASH MISHRA <[email protected]> Co-authored-by: gregorylavery <[email protected]> Co-authored-by: Barrett Falk <[email protected]> Co-authored-by: dmitri-korin-bcps <[email protected]> Co-authored-by: Scarlett <[email protected]> Co-authored-by: Mike <[email protected]> Co-authored-by: Mike Sears <[email protected]> Co-authored-by: jeznorth <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: afwilcox <[email protected]> Co-authored-by: Scarlett <[email protected]> Co-authored-by: jon-funk <[email protected]> Co-authored-by: Mike Vesprini <[email protected]> Co-authored-by: Om Mishra <[email protected]> Co-authored-by: Mike Vesprini <[email protected]>
- Loading branch information
1 parent
da38c8b
commit 404e804
Showing
50 changed files
with
2,736 additions
and
331 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
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
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
12 changes: 12 additions & 0 deletions
12
backend/src/v1/linked_complaint_xref/dto/create-linked_complaint_xref.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { PickType } from "@nestjs/swagger"; | ||
import { LinkedComplaintXrefDto } from "./linked_complaint_xref.dto"; | ||
|
||
export class CreateLinkedComplaintXrefDto extends PickType(LinkedComplaintXrefDto, [ | ||
"create_user_id", | ||
"create_utc_timestamp", | ||
"update_user_id", | ||
"update_utc_timestamp", | ||
"complaint_identifier", | ||
"linked_complaint_identifier", | ||
"active_ind", | ||
] as const) {} |
54 changes: 54 additions & 0 deletions
54
backend/src/v1/linked_complaint_xref/dto/linked_complaint_xref.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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import { ApiProperty } from "@nestjs/swagger"; | ||
import { UUID } from "crypto"; | ||
import { Complaint } from "../../complaint/entities/complaint.entity"; | ||
|
||
export class LinkedComplaintXrefDto { | ||
@ApiProperty({ | ||
example: "903f87c8-76dd-427c-a1bb-4d179e443252", | ||
description: | ||
"System generated unique key for a linked complaint relationship. This key should never be exposed to users via any system utilizing the tables.", | ||
}) | ||
public linked_complaint_xref_guid: UUID; | ||
|
||
@ApiProperty({ | ||
example: "mburns", | ||
description: "The id of the user that created the cross reference.", | ||
}) | ||
create_user_id: string; | ||
|
||
@ApiProperty({ | ||
example: "2003-04-12 04:05:06", | ||
description: "The timestamp when the cross reference was created. The timestamp is stored in UTC with no Offset.", | ||
}) | ||
create_utc_timestamp: Date; | ||
|
||
@ApiProperty({ | ||
example: "mburns", | ||
description: "The id of the user that updated the cross reference.", | ||
}) | ||
update_user_id: string; | ||
|
||
@ApiProperty({ | ||
example: "2003-04-12 04:05:06", | ||
description: "The timestamp when the cross reference was updated. The timestamp is stored in UTC with no Offset.", | ||
}) | ||
update_utc_timestamp: Date; | ||
|
||
@ApiProperty({ | ||
example: "24-007007", | ||
description: "System generated unique key for a hwcr complaint.", | ||
}) | ||
public linked_complaint_identifier: Complaint; | ||
|
||
@ApiProperty({ | ||
example: "23-007007", | ||
description: "System generated unique key for a hwcr complaint.", | ||
}) | ||
public complaint_identifier: Complaint; | ||
|
||
@ApiProperty({ | ||
example: "True", | ||
description: "A boolean indicator to determine if the linked complaint is active.", | ||
}) | ||
public active_ind: boolean; | ||
} |
4 changes: 4 additions & 0 deletions
4
backend/src/v1/linked_complaint_xref/dto/update-linked_complaint_xref.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { PartialType } from "@nestjs/mapped-types"; | ||
import { CreateLinkedComplaintXrefDto } from "./create-linked_complaint_xref.dto"; | ||
|
||
export class UpdateLinkedComplaintXrefDto extends PartialType(CreateLinkedComplaintXrefDto) {} |
Oops, something went wrong.