@shisyamo4131/air-guard-v2-schemas 2.4.2-dev.86 → 2.4.2-dev.87

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@shisyamo4131/air-guard-v2-schemas",
3
- "version": "2.4.2-dev.86",
3
+ "version": "2.4.2-dev.87",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -40,7 +40,7 @@ export const VALUES = Object.freeze({
40
40
  },
41
41
  text: "未確認配置です。",
42
42
  icon: "mdi-alert-circle-outline",
43
- next: { status: "CONFIRMED", text: "配置了解" },
43
+ next: { status: "CONFIRMED", text: "配置了解", transition: "toConfirmed" },
44
44
  prev: null,
45
45
  },
46
46
 
@@ -61,8 +61,12 @@ export const VALUES = Object.freeze({
61
61
  },
62
62
  text: "確認済みの配置です。",
63
63
  icon: "mdi-check-circle-outline",
64
- next: { status: "ARRIVED", text: "上番する" },
65
- prev: { status: "ARRANGED", text: "配置を差し戻す" },
64
+ next: { status: "ARRIVED", text: "上番する", transition: "toArrived" },
65
+ prev: {
66
+ status: "ARRANGED",
67
+ text: "配置を差し戻す",
68
+ transition: "toArranged",
69
+ },
66
70
  },
67
71
 
68
72
  ARRIVED: {
@@ -81,8 +85,12 @@ export const VALUES = Object.freeze({
81
85
  },
82
86
  text: "上番済みの配置です。",
83
87
  icon: "mdi-account-check-outline",
84
- next: { status: "LEAVED", text: "下番する" },
85
- prev: { status: "CONFIRMED", text: "上番を取り消す" },
88
+ next: { status: "LEAVED", text: "下番する", transition: "toLeaved" },
89
+ prev: {
90
+ status: "CONFIRMED",
91
+ text: "上番を取り消す",
92
+ transition: "toConfirmed",
93
+ },
86
94
  },
87
95
 
88
96
  LEAVED: {
@@ -103,7 +111,11 @@ export const VALUES = Object.freeze({
103
111
  text: "下番済みの配置です。",
104
112
  icon: "mdi-account-off-outline",
105
113
  next: null,
106
- prev: { status: "ARRIVED", text: "下番を取り消す" },
114
+ prev: {
115
+ status: "ARRIVED",
116
+ text: "下番を取り消す",
117
+ transition: "toArrived",
118
+ },
107
119
  },
108
120
 
109
121
  /**