@shisyamo4131/air-guard-v2-schemas 2.2.3-dev.0 → 2.2.3-dev.2

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/User.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shisyamo4131/air-guard-v2-schemas",
3
- "version": "2.2.3-dev.0",
3
+ "version": "2.2.3-dev.2",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -39,7 +39,7 @@
39
39
  "release:major": "npm version major && npm publish"
40
40
  },
41
41
  "peerDependencies": {
42
- "@shisyamo4131/air-firebase-v2": "^2.0.0"
42
+ "@shisyamo4131/air-firebase-v2": "^2.1.0"
43
43
  },
44
44
  "dependencies": {
45
45
  "@holiday-jp/holiday_jp": "^2.5.1"
package/src/User.js CHANGED
@@ -10,6 +10,7 @@
10
10
  * @prop {Array<string>} roles - User roles/permissions.
11
11
  * @prop {boolean} disabled - Indicates if the user is disabled.
12
12
  * @prop {string} companyId - ID of the associated company.
13
+ * @prop {boolean} isTemporary - Indicates if the user is temporary.
13
14
  */
14
15
  import FireModel from "@shisyamo4131/air-firebase-v2";
15
16
  import { defField } from "./parts/fieldDefinitions.js";
@@ -32,12 +33,12 @@ const classProps = {
32
33
  hidden: true,
33
34
  }),
34
35
  companyId: defField("oneLine", { hidden: true, required: true }),
36
+ isTemporary: defField("check", { hidden: true, default: true }),
35
37
  };
36
38
 
37
39
  export default class User extends FireModel {
38
40
  static className = "ユーザー";
39
41
  static collectionPath = "Users";
40
- static usePrefix = false;
41
42
  static classProps = classProps;
42
43
 
43
44
  static headers = [