"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotificationList = exports.NotificationPatch = exports.NewNotification = void 0;
const tslib_1 = require("tslib");
const type_graphql_1 = require("type-graphql");
const shell_1 = require("@things-factory/shell");
const notification_1 = require("./notification");
let NewNotification = class NewNotification {
};
exports.NewNotification = NewNotification;
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotification.prototype, "ownerId", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotification.prototype, "type", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotification.prototype, "subject", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotification.prototype, "title", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotification.prototype, "body", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotification.prototype, "url", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NewNotification.prototype, "image", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => shell_1.ScalarObject, { nullable: true }),
    tslib_1.__metadata("design:type", Object)
], NewNotification.prototype, "property", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", Date)
], NewNotification.prototype, "timestamp", void 0);
exports.NewNotification = NewNotification = tslib_1.__decorate([
    (0, type_graphql_1.InputType)()
], NewNotification);
let NotificationPatch = class NotificationPatch {
};
exports.NotificationPatch = NotificationPatch;
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.ID, { nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationPatch.prototype, "id", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => notification_1.NotificationStatus, { nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationPatch.prototype, "state", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)({ nullable: true }),
    tslib_1.__metadata("design:type", String)
], NotificationPatch.prototype, "cuFlag", void 0);
exports.NotificationPatch = NotificationPatch = tslib_1.__decorate([
    (0, type_graphql_1.InputType)()
], NotificationPatch);
let NotificationList = class NotificationList {
};
exports.NotificationList = NotificationList;
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => [notification_1.Notification]),
    tslib_1.__metadata("design:type", Array)
], NotificationList.prototype, "items", void 0);
tslib_1.__decorate([
    (0, type_graphql_1.Field)(type => type_graphql_1.Int),
    tslib_1.__metadata("design:type", Number)
], NotificationList.prototype, "total", void 0);
exports.NotificationList = NotificationList = tslib_1.__decorate([
    (0, type_graphql_1.ObjectType)()
], NotificationList);
//# sourceMappingURL=notification-type.js.map