@shisyamo4131/air-guard-v2-schemas 2.4.2-dev.79 → 2.4.2-dev.80

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.79",
3
+ "version": "2.4.2-dev.80",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/Employee.js CHANGED
@@ -144,8 +144,6 @@ export default class Employee extends GeocodableMixin(FireModel) {
144
144
  attrs: {
145
145
  required: ({ item }) =>
146
146
  item.employmentStatus === EMPLOYMENT_STATUS_VALUES.TERMINATED.value,
147
- disabled: ({ item }) =>
148
- item.employmentStatus !== EMPLOYMENT_STATUS_VALUES.TERMINATED.value,
149
147
  },
150
148
  },
151
149
  }),
@@ -175,8 +173,6 @@ export default class Employee extends GeocodableMixin(FireModel) {
175
173
  attrs: {
176
174
  required: ({ item }) =>
177
175
  item.employmentStatus === EMPLOYMENT_STATUS_VALUES.TERMINATED.value,
178
- disabled: ({ item }) =>
179
- item.employmentStatus !== EMPLOYMENT_STATUS_VALUES.TERMINATED.value,
180
176
  },
181
177
  },
182
178
  }),
package/src/User.js CHANGED
@@ -27,6 +27,7 @@ export default class User extends FireModel {
27
27
  * email
28
28
  * - 登録時以外編集不可。
29
29
  * - ユーザーアカウントのメールアドレスの変更は Cloud Functions 経由とする。
30
+ * - ユーザーアカウントのグローバル重複チェックは Cloud Functions 経由とする。
30
31
  */
31
32
  email: defField("email", {
32
33
  required: true,