@purpleschool/rugpt-lib-common 0.0.84 → 0.0.86

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.
@@ -6529,6 +6529,11 @@ export declare const ERRORS: {
6529
6529
  };
6530
6530
  };
6531
6531
  DIAGRAMS: {
6532
+ ACCESS_DENIED: {
6533
+ code: string;
6534
+ httpCode: number;
6535
+ message: string;
6536
+ };
6532
6537
  CONFIG_ERROR: {
6533
6538
  code: string;
6534
6539
  httpCode: number;
@@ -6609,6 +6614,16 @@ export declare const ERRORS: {
6609
6614
  httpCode: number;
6610
6615
  message: string;
6611
6616
  };
6617
+ MISSING_DATA_ERROR: {
6618
+ code: string;
6619
+ httpCode: number;
6620
+ message: string;
6621
+ };
6622
+ INVALID_DATA_ERROR: {
6623
+ code: string;
6624
+ httpCode: number;
6625
+ message: string;
6626
+ };
6612
6627
  };
6613
6628
  HTML_PAGER_BUILDER: {
6614
6629
  MODEL_NOT_FOUND: {
@@ -6532,6 +6532,11 @@ exports.ERRORS = {
6532
6532
  },
6533
6533
  },
6534
6534
  DIAGRAMS: {
6535
+ ACCESS_DENIED: {
6536
+ code: "DIAGRAMS.ACCESS_DENIED",
6537
+ httpCode: 403,
6538
+ message: "Access to this diagrams model is denied",
6539
+ },
6535
6540
  CONFIG_ERROR: {
6536
6541
  code: "DIAGRAMS.CONFIG_ERROR",
6537
6542
  httpCode: 500,
@@ -6612,6 +6617,16 @@ exports.ERRORS = {
6612
6617
  httpCode: 400,
6613
6618
  message: "Параметры диаграммы не соответствуют выбранному режиму",
6614
6619
  },
6620
+ MISSING_DATA_ERROR: {
6621
+ code: "DIAGRAMS.MISSING_DATA_ERROR",
6622
+ httpCode: 400,
6623
+ message: "Не удалось построить визуализацию: данные не найдены. Приложите файл с данными или уточните запрос.",
6624
+ },
6625
+ INVALID_DATA_ERROR: {
6626
+ code: "DIAGRAMS.INVALID_DATA_ERROR",
6627
+ httpCode: 400,
6628
+ message: "Не удалось построить визуализацию: предоставленные данные некорректны или не подходят для построения. Проверьте данные и повторите запрос.",
6629
+ },
6615
6630
  },
6616
6631
  HTML_PAGER_BUILDER: {
6617
6632
  MODEL_NOT_FOUND: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/rugpt-lib-common",
3
- "version": "0.0.84",
3
+ "version": "0.0.86",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",