@blocklet/meta 1.16.29-beta-e04c6f40 → 1.16.29-beta-db5c4ed6

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/lib/schema.js CHANGED
@@ -440,7 +440,9 @@ const themeSchema = Joi.object({
440
440
  exports.themeSchema = themeSchema;
441
441
  const authConfigSchema = Joi.object({
442
442
  whoCanAccess: Joi.string().valid('owner', 'invited', 'all'),
443
- profileFields: Joi.array().items(Joi.string().valid('fullName', 'email', 'avatar', 'phone')).unique(),
443
+ profileFields: Joi.array()
444
+ .items(Joi.string().valid('fullName', 'email', 'avatar', 'phone'))
445
+ .unique(),
444
446
  ignoreUrls: Joi.array().items(Joi.string().min(1)),
445
447
  allowSwitchProfile: Joi.boolean(),
446
448
  blockUnauthenticated: Joi.boolean(),
@@ -19,7 +19,7 @@ export interface TBlockletMeta {
19
19
  sitemap?: boolean;
20
20
  };
21
21
  community?: string;
22
- components?: {
22
+ components?: ({
23
23
  description?: TDescription;
24
24
  mountPoint?: TMountPoint;
25
25
  name?: TBlockletName;
@@ -33,7 +33,7 @@ export interface TBlockletMeta {
33
33
  version?: 'latest' | string;
34
34
  };
35
35
  title?: TTitle;
36
- }[];
36
+ })[];
37
37
  contributors?: TPerson[];
38
38
  copyright?: {
39
39
  owner?: string;
@@ -63,11 +63,11 @@ export interface TBlockletMeta {
63
63
  nftFactory?: string;
64
64
  path?: string;
65
65
  payment?: {
66
- componentPrice?: {
66
+ componentPrice?: ({
67
67
  parentPriceRange?: number[];
68
68
  type: 'fixed' | 'percentage';
69
69
  value: number;
70
- }[];
70
+ })[];
71
71
  price?: {
72
72
  address: string;
73
73
  value: number;
@@ -199,7 +199,7 @@ export interface TNavigationItem {
199
199
  component?: string;
200
200
  icon?: string;
201
201
  id?: string;
202
- items?: {
202
+ items?: ({
203
203
  component?: string;
204
204
  icon?: string;
205
205
  id?: string;
@@ -218,7 +218,7 @@ export interface TNavigationItem {
218
218
  [x: string]: string;
219
219
  };
220
220
  visible?: boolean;
221
- }[];
221
+ })[];
222
222
  link?: string | {
223
223
  /**
224
224
  * Unknown Property
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.29-beta-e04c6f40",
6
+ "version": "1.16.29-beta-db5c4ed6",
7
7
  "description": "Library to parse/validate/fix blocklet meta",
8
8
  "main": "./lib/index.js",
9
9
  "typings": "./lib/index.d.ts",
@@ -25,17 +25,17 @@
25
25
  "author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@abtnode/constant": "1.16.29-beta-e04c6f40",
29
- "@arcblock/did": "1.18.123",
30
- "@arcblock/did-ext": "1.18.123",
31
- "@arcblock/did-util": "1.18.123",
32
- "@arcblock/jwt": "1.18.123",
33
- "@blocklet/constant": "1.16.29-beta-e04c6f40",
34
- "@ocap/asset": "1.18.123",
35
- "@ocap/mcrypto": "1.18.123",
36
- "@ocap/types": "1.18.123",
37
- "@ocap/util": "1.18.123",
38
- "@ocap/wallet": "1.18.123",
28
+ "@abtnode/constant": "1.16.29-beta-db5c4ed6",
29
+ "@arcblock/did": "1.18.124",
30
+ "@arcblock/did-ext": "1.18.124",
31
+ "@arcblock/did-util": "1.18.124",
32
+ "@arcblock/jwt": "1.18.124",
33
+ "@blocklet/constant": "1.16.29-beta-db5c4ed6",
34
+ "@ocap/asset": "1.18.124",
35
+ "@ocap/mcrypto": "1.18.124",
36
+ "@ocap/types": "1.18.124",
37
+ "@ocap/util": "1.18.124",
38
+ "@ocap/wallet": "1.18.124",
39
39
  "ajv": "^8.11.0",
40
40
  "axios": "^1.7.2",
41
41
  "cjk-length": "^1.0.0",
@@ -59,7 +59,7 @@
59
59
  "validate-npm-package-name": "^3.0.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@arcblock/eslint-config-ts": "^0.3.0",
62
+ "@arcblock/eslint-config-ts": "^0.3.2",
63
63
  "@types/express": "^4.17.14",
64
64
  "@types/jest": "^29.5.11",
65
65
  "@types/joi": "^17.2.3",
@@ -74,10 +74,10 @@
74
74
  "express": "^4.18.2",
75
75
  "jest": "^29.7.0",
76
76
  "joi-to-typescript": "^4.0.7",
77
- "prettier": "^2.7.1",
77
+ "prettier": "^3.3.2",
78
78
  "ts-jest": "^29.1.1",
79
79
  "ts-node": "^10.9.1",
80
80
  "typescript": "^5.0.4"
81
81
  },
82
- "gitHead": "f3e8f2ce931215b95ada33e87aee997d8ae52a69"
82
+ "gitHead": "b15f6442fd30f217c08c7f892dce5d38e340ea28"
83
83
  }