@purpleschool/rugpt-lib-common 0.0.2 → 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.
@@ -3267,6 +3267,11 @@ exports.ERRORS = {
3267
3267
  },
3268
3268
  },
3269
3269
  USER: {
3270
+ INCORRECT_RESET_PASSWORD_LINK: {
3271
+ code: 'USER.INCORRECT_RESET_PASSWORD_LINK',
3272
+ httpCode: 400,
3273
+ message: 'Ссылка для восстановления пароля больше не активна',
3274
+ },
3270
3275
  ACCOUNT_DELETE_ERROR: {
3271
3276
  code: 'USER.DELETE_ERROR',
3272
3277
  httpCode: 500,
@@ -4454,6 +4459,11 @@ exports.ERRORS = {
4454
4459
  message: 'Ошибка при удалении джобы',
4455
4460
  httpCode: 500,
4456
4461
  },
4462
+ NOT_AN_OWNER: {
4463
+ code: 'MARKETPLACE_CARD.NOT_AN_OWNER',
4464
+ message: 'Ошибка прав доступа',
4465
+ httpCode: 400,
4466
+ },
4457
4467
  },
4458
4468
  MARKETPLACE_CARD_MODEL: {
4459
4469
  FIND_ERROR: {
package/errors/errors.ts CHANGED
@@ -3297,6 +3297,11 @@ export const ERRORS = {
3297
3297
  },
3298
3298
  },
3299
3299
  USER: {
3300
+ INCORRECT_RESET_PASSWORD_LINK: {
3301
+ code: 'USER.INCORRECT_RESET_PASSWORD_LINK',
3302
+ httpCode: 400,
3303
+ message: 'Ссылка для восстановления пароля больше не активна',
3304
+ },
3300
3305
  ACCOUNT_DELETE_ERROR: {
3301
3306
  code: 'USER.DELETE_ERROR',
3302
3307
  httpCode: 500,
@@ -4496,6 +4501,11 @@ export const ERRORS = {
4496
4501
  message: 'Ошибка при удалении джобы',
4497
4502
  httpCode: 500,
4498
4503
  },
4504
+ NOT_AN_OWNER: {
4505
+ code: 'MARKETPLACE_CARD.NOT_AN_OWNER',
4506
+ message: 'Ошибка прав доступа',
4507
+ httpCode: 400,
4508
+ },
4499
4509
  },
4500
4510
  MARKETPLACE_CARD_MODEL: {
4501
4511
  FIND_ERROR: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/rugpt-lib-common",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",