@blocklet/constant 1.16.29-beta-cbfd116d → 1.16.29-beta-8671c2cf
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/index.d.ts +1 -1
- package/index.js +3 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -791,7 +791,6 @@ export declare const BlockletEvents: Readonly<{
|
|
|
791
791
|
started: "blocklet.started";
|
|
792
792
|
startFailed: "blocklet.startFailed";
|
|
793
793
|
stopped: "blocklet.stopped";
|
|
794
|
-
reloaded: "blocklet.reloaded";
|
|
795
794
|
statusChange: "blocklet.statusChange";
|
|
796
795
|
dataCleaned: "blocklet.dataCleaned";
|
|
797
796
|
componentInstalled: "blocklet.componentInstalled";
|
|
@@ -876,6 +875,7 @@ export declare const BLOCKLET_OPEN_COMPONENT_FILE = "blocklet.opencomponent.yaml
|
|
|
876
875
|
export declare const BLOCKLET_OPEN_COMPONENT_FILE_JSON = "blocklet.opencomponent.json";
|
|
877
876
|
export declare const BLOCKLET_PREFERENCE_PREFIX = "prefs.";
|
|
878
877
|
export declare const BLOCKLET_RESOURCE_DIR = "resources";
|
|
878
|
+
export declare const RESOURCE_PATTERN: RegExp;
|
|
879
879
|
export declare const PROJECT: {
|
|
880
880
|
DIR: string;
|
|
881
881
|
RELEASE_DIR: string;
|
package/index.js
CHANGED
|
@@ -81,6 +81,7 @@ __export(lib_exports, {
|
|
|
81
81
|
MAX_TITLE_LENGTH: () => MAX_TITLE_LENGTH,
|
|
82
82
|
PROJECT: () => PROJECT,
|
|
83
83
|
PROVIDER_NAME: () => PROVIDER_NAME,
|
|
84
|
+
RESOURCE_PATTERN: () => RESOURCE_PATTERN,
|
|
84
85
|
RESTORE_PROGRESS_STATUS: () => RESTORE_PROGRESS_STATUS,
|
|
85
86
|
SUPPORTED_LANGUAGES: () => languages_default,
|
|
86
87
|
SUSPENDED_REASON: () => SUSPENDED_REASON,
|
|
@@ -926,8 +927,6 @@ var BlockletEvents = Object.freeze({
|
|
|
926
927
|
started: "blocklet.started",
|
|
927
928
|
startFailed: "blocklet.startFailed",
|
|
928
929
|
stopped: "blocklet.stopped",
|
|
929
|
-
reloaded: "blocklet.reloaded",
|
|
930
|
-
// Deprecated
|
|
931
930
|
statusChange: "blocklet.statusChange",
|
|
932
931
|
dataCleaned: "blocklet.dataCleaned",
|
|
933
932
|
componentInstalled: "blocklet.componentInstalled",
|
|
@@ -1036,6 +1035,7 @@ var BLOCKLET_OPEN_COMPONENT_FILE = "blocklet.opencomponent.yaml";
|
|
|
1036
1035
|
var BLOCKLET_OPEN_COMPONENT_FILE_JSON = "blocklet.opencomponent.json";
|
|
1037
1036
|
var BLOCKLET_PREFERENCE_PREFIX = "prefs.";
|
|
1038
1037
|
var BLOCKLET_RESOURCE_DIR = "resources";
|
|
1038
|
+
var RESOURCE_PATTERN = /\.(js|css|jpg|jpeg|png|gif|webp|avif|svg|woff|woff2|ico|mp4|mp3|webm)$/i;
|
|
1039
1039
|
var PROJECT = {
|
|
1040
1040
|
DIR: ".projects",
|
|
1041
1041
|
RELEASE_DIR: "releases",
|
|
@@ -1216,6 +1216,7 @@ var MAX_TITLE_LENGTH = 40;
|
|
|
1216
1216
|
MAX_TITLE_LENGTH,
|
|
1217
1217
|
PROJECT,
|
|
1218
1218
|
PROVIDER_NAME,
|
|
1219
|
+
RESOURCE_PATTERN,
|
|
1219
1220
|
RESTORE_PROGRESS_STATUS,
|
|
1220
1221
|
SUPPORTED_LANGUAGES,
|
|
1221
1222
|
SUSPENDED_REASON,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.29-beta-
|
|
6
|
+
"version": "1.16.29-beta-8671c2cf",
|
|
7
7
|
"description": "Blocklet constants",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"type": "commonjs",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"ts-jest": "^29.1.1",
|
|
37
37
|
"typescript": "^5.0.4"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "67207cc32f2cdf4ab8af39d4083ad61fba9711e2"
|
|
40
40
|
}
|