@did-space/core 1.0.21 → 1.0.22

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.
@@ -1,5 +1,12 @@
1
1
  import type { Model } from 'sequelize';
2
2
  import type { AppPermissions } from '../meta';
3
+ export declare enum UNIT_TYPE {
4
+ WALLET = "wallet",
5
+ COMPONENT = "component",
6
+ BACKUP = "backup",
7
+ PROFILE = "profile",
8
+ STORAGE = "storage"
9
+ }
3
10
  export interface AppSpaceApplyModel {
4
11
  /**
5
12
  * @description 记录的唯一标识,是一个 UUIDV4
@@ -1,2 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UNIT_TYPE = void 0;
4
+ // eslint-disable-next-line @typescript-eslint/naming-convention
5
+ var UNIT_TYPE;
6
+ (function (UNIT_TYPE) {
7
+ UNIT_TYPE["WALLET"] = "wallet";
8
+ UNIT_TYPE["COMPONENT"] = "component";
9
+ UNIT_TYPE["BACKUP"] = "backup";
10
+ UNIT_TYPE["PROFILE"] = "profile";
11
+ UNIT_TYPE["STORAGE"] = "storage";
12
+ })(UNIT_TYPE = exports.UNIT_TYPE || (exports.UNIT_TYPE = {}));
@@ -1,5 +1,12 @@
1
1
  import type { Model } from 'sequelize';
2
2
  import type { AppPermissions } from '../meta';
3
+ export declare enum UNIT_TYPE {
4
+ WALLET = "wallet",
5
+ COMPONENT = "component",
6
+ BACKUP = "backup",
7
+ PROFILE = "profile",
8
+ STORAGE = "storage"
9
+ }
3
10
  export interface AppSpaceApplyModel {
4
11
  /**
5
12
  * @description 记录的唯一标识,是一个 UUIDV4
@@ -1 +1,9 @@
1
- export {};
1
+ // eslint-disable-next-line @typescript-eslint/naming-convention
2
+ export var UNIT_TYPE;
3
+ (function (UNIT_TYPE) {
4
+ UNIT_TYPE["WALLET"] = "wallet";
5
+ UNIT_TYPE["COMPONENT"] = "component";
6
+ UNIT_TYPE["BACKUP"] = "backup";
7
+ UNIT_TYPE["PROFILE"] = "profile";
8
+ UNIT_TYPE["STORAGE"] = "storage";
9
+ })(UNIT_TYPE || (UNIT_TYPE = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@did-space/core",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -148,5 +148,5 @@
148
148
  "vite": "^5.4.14",
149
149
  "vitest": "^3.0.7"
150
150
  },
151
- "gitHead": "f4024e30afb0dc99942ba9f1a1aa0d6d68716880"
151
+ "gitHead": "85bf211785c4557570799a40f2835ce815fed1da"
152
152
  }