@puzzlin/models 0.7.2 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,8 @@
1
1
  import { CreateSubjectInput } from './create-subject.input';
2
- import { NodeInput } from '../../utils';
2
+ import { FileUpload, NodeInput } from '../../utils';
3
3
  declare const UpdateSubjectInput_base: import("@nestjs/common").Type<Partial<CreateSubjectInput> & NodeInput>;
4
4
  export declare class UpdateSubjectInput extends UpdateSubjectInput_base {
5
+ avatar: FileUpload;
5
6
  }
6
7
  export {};
7
8
  //# sourceMappingURL=update-subject.input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-subject.input.d.ts","sourceRoot":"","sources":["../../../src/subjects/inputs/update-subject.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;;AAGpC,qBACa,kBAAmB,SAAQ,uBAA4D;CAAG"}
1
+ {"version":3,"file":"update-subject.input.d.ts","sourceRoot":"","sources":["../../../src/subjects/inputs/update-subject.input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;;AAIhD,qBACa,kBAAmB,SAAQ,uBAA4D;IAElG,MAAM,EAAE,UAAU,CAAC;CACpB"}
@@ -5,13 +5,21 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  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;
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.UpdateSubjectInput = void 0;
10
13
  const create_subject_input_1 = require("./create-subject.input");
11
14
  const utils_1 = require("../../utils");
12
15
  const graphql_1 = require("@nestjs/graphql");
16
+ const Upload = require("graphql-upload/GraphQLUpload.js");
13
17
  let UpdateSubjectInput = exports.UpdateSubjectInput = class UpdateSubjectInput extends (0, graphql_1.IntersectionType)((0, graphql_1.PartialType)(create_subject_input_1.CreateSubjectInput), utils_1.NodeInput) {
14
18
  };
19
+ __decorate([
20
+ (0, graphql_1.Field)(() => Upload),
21
+ __metadata("design:type", Object)
22
+ ], UpdateSubjectInput.prototype, "avatar", void 0);
15
23
  exports.UpdateSubjectInput = UpdateSubjectInput = __decorate([
16
24
  (0, graphql_1.InputType)()
17
25
  ], UpdateSubjectInput);
@@ -1 +1 @@
1
- {"version":3,"file":"update-subject.input.js","sourceRoot":"","sources":["../../../src/subjects/inputs/update-subject.input.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iEAA4D;AAC5D,mCAAoC;AACpC,6CAA2E;AAGpE,IAAM,kBAAkB,gCAAxB,MAAM,kBAAmB,SAAQ,IAAA,0BAAgB,EAAC,IAAA,qBAAW,EAAC,yCAAkB,CAAC,EAAE,iBAAS,CAAC;CAAG,CAAA;6BAA1F,kBAAkB;IAD9B,IAAA,mBAAS,GAAE;GACC,kBAAkB,CAAwE"}
1
+ {"version":3,"file":"update-subject.input.js","sourceRoot":"","sources":["../../../src/subjects/inputs/update-subject.input.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iEAA4D;AAC5D,mCAAgD;AAChD,6CAAkF;AAClF,0DAA0D;AAGnD,IAAM,kBAAkB,gCAAxB,MAAM,kBAAmB,SAAQ,IAAA,0BAAgB,EAAC,IAAA,qBAAW,EAAC,yCAAkB,CAAC,EAAE,iBAAS,CAAC;CAGnG,CAAA;AADC;IADC,IAAA,eAAK,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;kDACD;6BAFR,kBAAkB;IAD9B,IAAA,mBAAS,GAAE;GACC,kBAAkB,CAG9B"}