"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var _a, _b, _c;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TrackingCameraList = exports.TrackingCamera = void 0;
const shell_1 = require("@things-factory/shell");
const auth_base_1 = require("@things-factory/auth-base");
const type_graphql_1 = require("type-graphql");
const robotarm_type_1 = require("../robotarm/robotarm-type");
// type TrackingCamera {
//   id: String
//   name: String
//   domain: Domain
//   description: String
//   type: String
//   endpoint: String
//   active: Boolean
//   config: Object
//   baseRobotArm: RobotArm
//   cameraMatrix: Matrix
//   distortionCoefficient: [Float]
//   handEyeConfig: HandEyeConfig
//   handEyeMatrix: Matrix
//   rois: [ROI]
//   camObjOffset: Pose
//   width: String
//   height: String
//   updater: User
//   creator: User
//   updatedAt: String
//   createdAt: String
// }
let TrackingCamera = class TrackingCamera {
};
__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
    __metadata("design:type", String)
], TrackingCamera.prototype, "id", void 0);
__decorate([
    (0, type_graphql_1.Field)(),
    __metadata("design:type", String)
], TrackingCamera.prototype, "name", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => shell_1.Domain),
    __metadata("design:type", typeof (_a = typeof shell_1.Domain !== "undefined" && shell_1.Domain) === "function" ? _a : Object)
], TrackingCamera.prototype, "domain", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingCamera.prototype, "description", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingCamera.prototype, "type", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingCamera.prototype, "endpoint", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", Boolean)
], TrackingCamera.prototype, "active", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => shell_1.ScalarAny, { nullable: true }),
    __metadata("design:type", Object)
], TrackingCamera.prototype, "params", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => robotarm_type_1.RobotArm, { nullable: true }),
    __metadata("design:type", robotarm_type_1.RobotArm)
], TrackingCamera.prototype, "baseRobotArm", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => robotarm_type_1.Matrix, { nullable: true }),
    __metadata("design:type", robotarm_type_1.Matrix)
], TrackingCamera.prototype, "cameraMatrix", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => [type_graphql_1.Float], { nullable: true }),
    __metadata("design:type", Array)
], TrackingCamera.prototype, "distortionCoefficient", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => robotarm_type_1.HandEyeConfig, { nullable: true }),
    __metadata("design:type", robotarm_type_1.HandEyeConfig)
], TrackingCamera.prototype, "handEyeConfig", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => robotarm_type_1.Matrix, { nullable: true }),
    __metadata("design:type", robotarm_type_1.Matrix)
], TrackingCamera.prototype, "handEyeMatrix", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => [robotarm_type_1.ROI], { nullable: true }),
    __metadata("design:type", Array)
], TrackingCamera.prototype, "rois", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => robotarm_type_1.Pose, { nullable: true }),
    __metadata("design:type", robotarm_type_1.Pose)
], TrackingCamera.prototype, "camObjOffset", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingCamera.prototype, "width", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingCamera.prototype, "height", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
    __metadata("design:type", typeof (_b = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _b : Object)
], TrackingCamera.prototype, "updater", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => auth_base_1.User, { nullable: true }),
    __metadata("design:type", typeof (_c = typeof auth_base_1.User !== "undefined" && auth_base_1.User) === "function" ? _c : Object)
], TrackingCamera.prototype, "creator", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingCamera.prototype, "updatedAt", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingCamera.prototype, "createdAt", void 0);
TrackingCamera = __decorate([
    (0, type_graphql_1.ObjectType)()
], TrackingCamera);
exports.TrackingCamera = TrackingCamera;
// type TrackingCameraList {
//   items: [TrackingCamera]
//   total: Int
// }
let TrackingCameraList = class TrackingCameraList {
};
__decorate([
    (0, type_graphql_1.Field)(type => [TrackingCamera]),
    __metadata("design:type", Array)
], TrackingCameraList.prototype, "items", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    __metadata("design:type", Number)
], TrackingCameraList.prototype, "total", void 0);
TrackingCameraList = __decorate([
    (0, type_graphql_1.ObjectType)()
], TrackingCameraList);
exports.TrackingCameraList = TrackingCameraList;
//# sourceMappingURL=tracking-camera-type.js.map