"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.TrackingWorkspaceStatusInput = exports.TrackingWorkspaceStateInput = exports.TrackingWorkspaceList = exports.TrackingWorkspace = 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");
const tracking_camera_type_1 = require("../tracking-camera/tracking-camera-type");
const trackable_object_type_1 = require("../trackable-object/trackable-object-type");
// type TrackingWorkspace {
//   id: String
//   name: String
//   domain: Domain
//   description: String
//   type: String
//   endpoint: String
//   active: Boolean
//   params: Object
//   checkVideoStream: Boolean
//   detectionMethod: String
//   robotArms: [RobotArm]
//   trackingCameras: [TrackingCamera]
//   trackableObjects: [TrackableObject]
//   updater: User
//   creator: User
//   updatedAt: String
//   createdAt: String
// }
let TrackingWorkspace = class TrackingWorkspace {
};
__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
    __metadata("design:type", String)
], TrackingWorkspace.prototype, "id", void 0);
__decorate([
    (0, type_graphql_1.Field)(),
    __metadata("design:type", String)
], TrackingWorkspace.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)
], TrackingWorkspace.prototype, "domain", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingWorkspace.prototype, "description", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingWorkspace.prototype, "type", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingWorkspace.prototype, "endpoint", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => Boolean, { nullable: true }),
    __metadata("design:type", Boolean)
], TrackingWorkspace.prototype, "active", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => shell_1.ScalarAny, { nullable: true }),
    __metadata("design:type", Object)
], TrackingWorkspace.prototype, "params", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => Boolean, { nullable: true }),
    __metadata("design:type", Boolean)
], TrackingWorkspace.prototype, "checkVideoStream", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingWorkspace.prototype, "detectionMethod", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => [robotarm_type_1.RobotArm], { nullable: true }),
    __metadata("design:type", Array)
], TrackingWorkspace.prototype, "robotArms", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => [tracking_camera_type_1.TrackingCamera], { nullable: true }),
    __metadata("design:type", Array)
], TrackingWorkspace.prototype, "trackingCameras", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => [trackable_object_type_1.TrackableObject], { nullable: true }),
    __metadata("design:type", Array)
], TrackingWorkspace.prototype, "trackableObjects", 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)
], TrackingWorkspace.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)
], TrackingWorkspace.prototype, "creator", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingWorkspace.prototype, "updatedAt", void 0);
__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    __metadata("design:type", String)
], TrackingWorkspace.prototype, "createdAt", void 0);
TrackingWorkspace = __decorate([
    (0, type_graphql_1.ObjectType)()
], TrackingWorkspace);
exports.TrackingWorkspace = TrackingWorkspace;
// type TrackingWorkspaceList {
//   items: [TrackingWorkspace]
//   total: Int
// }
let TrackingWorkspaceList = class TrackingWorkspaceList {
};
__decorate([
    (0, type_graphql_1.Field)(type => [TrackingWorkspace]),
    __metadata("design:type", Array)
], TrackingWorkspaceList.prototype, "items", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    __metadata("design:type", Number)
], TrackingWorkspaceList.prototype, "total", void 0);
TrackingWorkspaceList = __decorate([
    (0, type_graphql_1.ObjectType)()
], TrackingWorkspaceList);
exports.TrackingWorkspaceList = TrackingWorkspaceList;
// input TrackingWorkspaceStateInput {
//   id: String!
//   state: TrackableObjectStateInput
// }
let TrackingWorkspaceStateInput = class TrackingWorkspaceStateInput {
};
__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
    __metadata("design:type", String)
], TrackingWorkspaceStateInput.prototype, "id", void 0);
__decorate([
    (0, type_graphql_1.Field)(type => trackable_object_type_1.TrackableObjectStateInput, { nullable: true }),
    __metadata("design:type", trackable_object_type_1.TrackableObjectStateInput)
], TrackingWorkspaceStateInput.prototype, "state", void 0);
TrackingWorkspaceStateInput = __decorate([
    (0, type_graphql_1.InputType)()
], TrackingWorkspaceStateInput);
exports.TrackingWorkspaceStateInput = TrackingWorkspaceStateInput;
// input TrackingWorkspaceStatusInput {
//   objectStatus: [TrackingWorkspaceStateInput]
// }
let TrackingWorkspaceStatusInput = class TrackingWorkspaceStatusInput {
};
__decorate([
    (0, type_graphql_1.Field)(type => [TrackingWorkspaceStateInput], { nullable: true }),
    __metadata("design:type", Array)
], TrackingWorkspaceStatusInput.prototype, "objectStatus", void 0);
TrackingWorkspaceStatusInput = __decorate([
    (0, type_graphql_1.InputType)()
], TrackingWorkspaceStatusInput);
exports.TrackingWorkspaceStatusInput = TrackingWorkspaceStatusInput;
//# sourceMappingURL=tracking-workspace-type.js.map