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.
Merge branch 'release/noble-sea-lemon' into CE-1179
- Loading branch information
Showing
51 changed files
with
2,738 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
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.