nextemos 5.10.1 → 5.10.3

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.
@@ -7,14 +7,7 @@ export interface ICommentRatingOption {
7
7
  orderNo: number;
8
8
  isDefault: boolean;
9
9
  isApproved: boolean;
10
- commentRatingOptionLocalizations: ICommentRatingOptionLocalization[];
11
- }
12
- export interface ICommentRatingOptionLocalization {
13
- id: number;
14
10
  name: string;
15
- culture: string;
16
- commentRatingOptionId: number;
17
- isApproved: boolean;
18
11
  }
19
12
  export interface ICommentSummariesResponse extends IResponse {
20
13
  data: ICommentSummary[];
@@ -7,7 +7,6 @@ export interface ICommentListRequest extends IRequestBase {
7
7
  externalId: number;
8
8
  contentTypeId: number;
9
9
  currentPage: number;
10
- taked?: number;
11
10
  pageSize?: number;
12
11
  }
13
12
  export interface ICommentAddRequest extends IRequestBase {
@@ -40,11 +40,11 @@ const urls_1 = __importStar(require("../urls"));
40
40
  const __1 = require("../..");
41
41
  const getConfigs_1 = __importDefault(require("../../helpers/getConfigs"));
42
42
  const { K8S_NAMESPACE, K8S_SERVICE_NAMES } = getConfigs_1.default;
43
- // Address Servisi
43
+ // Comment Servisi
44
44
  exports.CommentService = {
45
45
  Namespace: K8S_NAMESPACE,
46
46
  ServiceUrl: () => `http://${K8S_SERVICE_NAMES.COMMENT}.${exports.CommentService.Namespace}.svc.cluster.local`,
47
- Prefix: "/api/address",
47
+ Prefix: "/api/comment",
48
48
  Url: (methodName, options, language) => (0, urls_1.getUrl)({
49
49
  serviceUrl: exports.CommentService.ServiceUrl(),
50
50
  prefix: exports.CommentService.Prefix,
@@ -10,7 +10,7 @@ exports.default = {
10
10
  Comment: {
11
11
  CommentRatingOptions: "/{language}/CommentRatingOptions/v1/All",
12
12
  CommentSummaries: "/{language}/CommentSummaries/v1/ByExternalId",
13
- CommentList: "/{language}/Comments/v1/Paged",
13
+ CommentList: "/{language}/Comments/v1/List",
14
14
  AddComment: "/{language}/Comments/v1/Comments",
15
15
  },
16
16
  Banner: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "5.10.1",
3
+ "version": "5.10.3",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",