@blocklet/meta 1.16.22-beta-079a9053 → 1.16.22-beta-87e027a7
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 +0 -2
- package/lib/types/schema.d.ts +0 -2
- package/package.json +4 -4
package/lib/schema.js
CHANGED
|
@@ -643,12 +643,10 @@ const blockletMetaProps = {
|
|
|
643
643
|
.optional(),
|
|
644
644
|
navigation: Joi.boolean().default(true),
|
|
645
645
|
serverless: Joi.boolean().optional(),
|
|
646
|
-
resourceExportApi: Joi.string().trim(),
|
|
647
646
|
component: Joi.boolean(), // Can blocklet become a component and be composed by other blocklets
|
|
648
647
|
}).default({}),
|
|
649
648
|
// Other contents to be included in the bundle
|
|
650
649
|
files: Joi.array().items(Joi.string().trim()).optional(),
|
|
651
|
-
resources: Joi.array().items(Joi.string().trim().required()),
|
|
652
650
|
resource: Joi.object({
|
|
653
651
|
exportApi: Joi.string().trim(),
|
|
654
652
|
bundles: Joi.array().items(resourceBundleSchema),
|
package/lib/types/schema.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export interface TBlockletMeta {
|
|
|
15
15
|
component?: boolean;
|
|
16
16
|
didSpace?: 'required' | 'optional';
|
|
17
17
|
navigation?: boolean;
|
|
18
|
-
resourceExportApi?: string;
|
|
19
18
|
serverless?: boolean;
|
|
20
19
|
};
|
|
21
20
|
community?: string;
|
|
@@ -104,7 +103,6 @@ export interface TBlockletMeta {
|
|
|
104
103
|
type: string;
|
|
105
104
|
}[];
|
|
106
105
|
};
|
|
107
|
-
resources?: string[];
|
|
108
106
|
screenshots?: string[];
|
|
109
107
|
scripts?: TScripts;
|
|
110
108
|
signatures?: TSignature[];
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.22-beta-
|
|
6
|
+
"version": "1.16.22-beta-87e027a7",
|
|
7
7
|
"description": "Library to parse/validate/fix blocklet meta",
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"typings": "./lib/index.d.ts",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@abtnode/constant": "1.16.22-beta-
|
|
27
|
+
"@abtnode/constant": "1.16.22-beta-87e027a7",
|
|
28
28
|
"@arcblock/did": "1.18.108",
|
|
29
29
|
"@arcblock/did-ext": "1.18.108",
|
|
30
30
|
"@arcblock/did-util": "1.18.108",
|
|
31
31
|
"@arcblock/jwt": "1.18.108",
|
|
32
|
-
"@blocklet/constant": "1.16.22-beta-
|
|
32
|
+
"@blocklet/constant": "1.16.22-beta-87e027a7",
|
|
33
33
|
"@ocap/asset": "1.18.108",
|
|
34
34
|
"@ocap/mcrypto": "1.18.108",
|
|
35
35
|
"@ocap/types": "1.18.108",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"ts-node": "^10.9.1",
|
|
79
79
|
"typescript": "^5.0.4"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "c1b0c1d0b1d2504d4738cd5981e6e52872e4e1ce"
|
|
82
82
|
}
|