c2-clinical 1.0.16 → 1.0.17

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,5 +1,4 @@
1
1
  import { Schema, Types } from "mongoose";
2
- import { IFile } from "../File";
3
2
  import { IDefault } from "../IDefault";
4
3
  import { IForm } from "../form/Form";
5
4
  export declare enum StatusQPCEnum {
@@ -7,9 +6,6 @@ export declare enum StatusQPCEnum {
7
6
  IMPORTED = "IMPORTED"
8
7
  }
9
8
  export interface IQPC extends IDefault {
10
- name: string;
11
- photo: IFile;
12
- bornDate: Date;
13
9
  answeredDateTime: Date;
14
10
  status: StatusQPCEnum;
15
11
  form: Types.ObjectId | IForm;
@@ -20,43 +16,19 @@ export declare const QPCSchema: Schema<any, import("mongoose").Model<any, any, a
20
16
  updatedAt: string;
21
17
  };
22
18
  }, {} & {
23
- name: string;
24
19
  account: any;
25
20
  form: any;
26
- bornDate: NativeDate;
27
21
  status: string;
28
- photo?: ({} & {
29
- description: string;
30
- contentType: string;
31
- url?: string | null | undefined;
32
- format?: string | null | undefined;
33
- }) | null | undefined;
34
22
  answeredDateTime?: NativeDate | null | undefined;
35
23
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{} & {
36
- name: string;
37
24
  account: any;
38
25
  form: any;
39
- bornDate: NativeDate;
40
26
  status: string;
41
- photo?: ({} & {
42
- description: string;
43
- contentType: string;
44
- url?: string | null | undefined;
45
- format?: string | null | undefined;
46
- }) | null | undefined;
47
27
  answeredDateTime?: NativeDate | null | undefined;
48
28
  }>, {}> & import("mongoose").FlatRecord<{} & {
49
- name: string;
50
29
  account: any;
51
30
  form: any;
52
- bornDate: NativeDate;
53
31
  status: string;
54
- photo?: ({} & {
55
- description: string;
56
- contentType: string;
57
- url?: string | null | undefined;
58
- format?: string | null | undefined;
59
- }) | null | undefined;
60
32
  answeredDateTime?: NativeDate | null | undefined;
61
33
  }> & {
62
34
  _id: Types.ObjectId;
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QPCSchema = exports.StatusQPCEnum = void 0;
4
4
  const mongoose_1 = require("mongoose");
5
- const File_1 = require("../File");
6
5
  var StatusQPCEnum;
7
6
  (function (StatusQPCEnum) {
8
7
  StatusQPCEnum["AWAITING_IMPORT"] = "AWAITING_IMPORT";
@@ -10,9 +9,6 @@ var StatusQPCEnum;
10
9
  })(StatusQPCEnum || (exports.StatusQPCEnum = StatusQPCEnum = {}));
11
10
  exports.QPCSchema = new mongoose_1.Schema({
12
11
  account: { type: mongoose_1.Types.ObjectId, ref: "account", required: true },
13
- name: { type: String, required: true },
14
- photo: { type: File_1.FileSchema },
15
- bornDate: { type: Date, required: true },
16
12
  answeredDateTime: { type: Date },
17
13
  status: { type: String, enum: StatusQPCEnum, default: StatusQPCEnum.AWAITING_IMPORT },
18
14
  form: { type: mongoose_1.Types.ObjectId, ref: "form", required: true }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-clinical",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": "https://github.com/cabralsilva/c2-clinical.git",
6
6
  "author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",