-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added relations to organization for applications and deviceModels. Tbd, if this is the best approach or if another endpoint should be created. * Added endpoint to change iot devices, and all their connections. * Added exception for moving sigfox devices for the endpoint. * Pr fixes --------- Co-authored-by: Frederik Christ Vestergaard <[email protected]>
- Loading branch information
1 parent
e79f365
commit fc5bf77
Showing
7 changed files
with
327 additions
and
213 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { ApiProperty } from "@nestjs/swagger"; | ||
|
||
interface DataTargetToPayloadDecoder { | ||
dataTargetId: number; | ||
payloadDecoderId: number; | ||
} | ||
|
||
export class UpdateIoTDeviceApplication { | ||
public deviceModelId: number; | ||
public organizationId: number; | ||
public applicationId: number; | ||
@ApiProperty({ required: true }) | ||
public dataTargetToPayloadDecoderIds: DataTargetToPayloadDecoder[]; | ||
} |
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
Oops, something went wrong.