@shakerquiz/utilities 0.4.72 → 0.4.74

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/utilities",
4
- "version": "0.4.72",
4
+ "version": "0.4.74",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "scripts": {
@@ -1 +1 @@
1
- export const RegistrationMailings: readonly ["Idle", "Pending", "Delivered", "Rejected"];
1
+ export const RegistrationMailings: readonly ["Idle", "Pending", "Delivered", "Failed"];
@@ -2,5 +2,5 @@ export var RegistrationMailings = /** @type {const} */ ([
2
2
  'Idle',
3
3
  'Pending',
4
4
  'Delivered',
5
- 'Rejected',
5
+ 'Failed',
6
6
  ])
@@ -1,4 +1,4 @@
1
- export const RegistrationStatuses: readonly ["Cancelled", "Confirmed", "Registered"];
1
+ export const RegistrationStatuses: readonly ["Created", "Confirmed", "Cancelled"];
2
2
  export function getRegistrationStatus(value: RegistrationStatus | (typeof RegistrationStatusShape)[RegistrationStatus]): any;
3
3
  /** @type {Record<RegistrationStatus, Pick<RegistrationTable, 'is_canceled' | 'is_confirm'>>} */
4
4
  declare let RegistrationStatusShape: Record<RegistrationStatus, Pick<RegistrationTable, "is_canceled" | "is_confirm">>;
@@ -1,13 +1,13 @@
1
1
  export var RegistrationStatuses = /** @type {const} */ ([
2
- 'Cancelled',
2
+ 'Created',
3
3
  'Confirmed',
4
- 'Registered',
4
+ 'Cancelled',
5
5
  ])
6
6
 
7
7
  /** @type {Record<RegistrationStatus, Pick<RegistrationTable, 'is_canceled' | 'is_confirm'>>} */
8
8
  let RegistrationStatusShape = {
9
- 'Cancelled': {
10
- is_canceled: true,
9
+ 'Created': {
10
+ is_canceled: false,
11
11
  is_confirm: false,
12
12
  },
13
13
 
@@ -16,8 +16,8 @@ let RegistrationStatusShape = {
16
16
  is_confirm: true,
17
17
  },
18
18
 
19
- 'Registered': {
20
- is_canceled: false,
19
+ 'Cancelled': {
20
+ is_canceled: true,
21
21
  is_confirm: false,
22
22
  },
23
23
  }