@anthor/entities-types 1.111.0 → 1.112.0-alpha.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.
@@ -0,0 +1,9 @@
1
+ import { QuestionTypes } from '../enums';
2
+ import { BaseModel } from './BaseModel';
3
+ export interface RatingAnswer extends BaseModel {
4
+ prompt: string;
5
+ answer: any;
6
+ rating: boolean;
7
+ options?: object;
8
+ type: QuestionTypes;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RatingAnswer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RatingAnswer.js","sourceRoot":"","sources":["../../src/entities/RatingAnswer.ts"],"names":[],"mappings":""}
@@ -6,6 +6,6 @@ export interface RatingForm extends BaseModel {
6
6
  questions: RatingQuestions[];
7
7
  type: RatingTypes;
8
8
  formTarget: RatingFormTargets;
9
- companyId: string;
10
- establishmentId: string;
9
+ company: string;
10
+ establishment: string;
11
11
  }
@@ -0,0 +1,11 @@
1
+ import { RatingTypes } from '../enums';
2
+ import { BaseModel } from './BaseModel';
3
+ import { RatingAnswer } from './RatingAnswer';
4
+ export interface RatingFormAnswer extends BaseModel {
5
+ answers: RatingAnswer[];
6
+ activity: string;
7
+ user: string;
8
+ plataform?: string;
9
+ type: RatingTypes;
10
+ rating: number;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RatingFormAnswer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RatingFormAnswer.js","sourceRoot":"","sources":["../../src/entities/RatingFormAnswer.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthor/entities-types",
3
- "version": "1.111.0",
3
+ "version": "1.112.0-alpha.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -24,5 +24,5 @@
24
24
  "geojson": "^0.5.0",
25
25
  "jest-sonar-reporter": "^2.0.0"
26
26
  },
27
- "gitHead": "d8fcd684c6fe73a4462026bcba8d4f187b23fce0"
27
+ "gitHead": "eac7f34bea4bd06be1491baa04c58fa31df45d3f"
28
28
  }