@purpleschool/rugpt-lib-common 0.0.3 → 0.0.4

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.
@@ -4459,6 +4459,11 @@ exports.ERRORS = {
4459
4459
  message: 'Ошибка при удалении джобы',
4460
4460
  httpCode: 500,
4461
4461
  },
4462
+ NOT_AN_OWNER: {
4463
+ code: 'MARKETPLACE_CARD.NOT_AN_OWNER',
4464
+ message: 'Ошибка прав доступа',
4465
+ httpCode: 400,
4466
+ },
4462
4467
  },
4463
4468
  MARKETPLACE_CARD_MODEL: {
4464
4469
  FIND_ERROR: {
package/errors/errors.ts CHANGED
@@ -4501,6 +4501,11 @@ export const ERRORS = {
4501
4501
  message: 'Ошибка при удалении джобы',
4502
4502
  httpCode: 500,
4503
4503
  },
4504
+ NOT_AN_OWNER: {
4505
+ code: 'MARKETPLACE_CARD.NOT_AN_OWNER',
4506
+ message: 'Ошибка прав доступа',
4507
+ httpCode: 400,
4508
+ },
4504
4509
  },
4505
4510
  MARKETPLACE_CARD_MODEL: {
4506
4511
  FIND_ERROR: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/rugpt-lib-common",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",