@blocklet/constant 1.16.27-beta-91ff0d1b → 1.16.27-beta-725ce3a6
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 +5 -0
- package/index.js +7 -0
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -838,6 +838,10 @@ export declare const BLOCKLET_MODES: Readonly<{
|
|
|
838
838
|
PRODUCTION: "production";
|
|
839
839
|
DEVELOPMENT: "development";
|
|
840
840
|
}>;
|
|
841
|
+
export declare const BLOCKLET_TENANT_MODES: Readonly<{
|
|
842
|
+
SINGLE: "single";
|
|
843
|
+
MULTIPLE: "multiple";
|
|
844
|
+
}>;
|
|
841
845
|
export declare const BLOCKLET_FACTORY_SHARES: {
|
|
842
846
|
developer: number;
|
|
843
847
|
store: number;
|
|
@@ -904,6 +908,7 @@ export declare const BLOCKLET_CONFIGURABLE_KEY: {
|
|
|
904
908
|
BLOCKLET_PASSPORT_COLOR: string;
|
|
905
909
|
BLOCKLET_WALLET_TYPE: string;
|
|
906
910
|
BLOCKLET_DELETABLE: string;
|
|
911
|
+
BLOCKLET_APP_TENANT_MODE: string;
|
|
907
912
|
BLOCKLET_APP_COPYRIGHT_OWNER: string;
|
|
908
913
|
BLOCKLET_APP_COPYRIGHT_YEAR: string;
|
|
909
914
|
BLOCKLET_APP_SPACE_ENDPOINT: string;
|
package/index.js
CHANGED
|
@@ -60,6 +60,7 @@ __export(lib_exports, {
|
|
|
60
60
|
BLOCKLET_RELEASE_FOLDER_NAME: () => BLOCKLET_RELEASE_FOLDER_NAME,
|
|
61
61
|
BLOCKLET_RESOURCE_DIR: () => BLOCKLET_RESOURCE_DIR,
|
|
62
62
|
BLOCKLET_STANDARD_INTERFACES: () => BLOCKLET_STANDARD_INTERFACES,
|
|
63
|
+
BLOCKLET_TENANT_MODES: () => BLOCKLET_TENANT_MODES,
|
|
63
64
|
BLOCKLET_UI_INTERFACES: () => BLOCKLET_UI_INTERFACES,
|
|
64
65
|
BLOCKLET_UPLOADS_DIR: () => BLOCKLET_UPLOADS_DIR,
|
|
65
66
|
BlockletEvents: () => BlockletEvents,
|
|
@@ -989,6 +990,10 @@ var BLOCKLET_MODES = Object.freeze({
|
|
|
989
990
|
PRODUCTION: "production",
|
|
990
991
|
DEVELOPMENT: "development"
|
|
991
992
|
});
|
|
993
|
+
var BLOCKLET_TENANT_MODES = Object.freeze({
|
|
994
|
+
SINGLE: "single",
|
|
995
|
+
MULTIPLE: "multiple"
|
|
996
|
+
});
|
|
992
997
|
var BLOCKLET_FACTORY_SHARES = { developer: 0.7, store: 0.3 };
|
|
993
998
|
var BLOCKLET_INTERFACE_TYPE_WEB = "web";
|
|
994
999
|
var BLOCKLET_INTERFACE_TYPE_SERVICE = "service";
|
|
@@ -1063,6 +1068,7 @@ var BLOCKLET_CONFIGURABLE_KEY = {
|
|
|
1063
1068
|
BLOCKLET_WALLET_TYPE: "BLOCKLET_WALLET_TYPE",
|
|
1064
1069
|
// deprecated
|
|
1065
1070
|
BLOCKLET_DELETABLE: "BLOCKLET_DELETABLE",
|
|
1071
|
+
BLOCKLET_APP_TENANT_MODE: "BLOCKLET_APP_TENANT_MODE",
|
|
1066
1072
|
BLOCKLET_APP_COPYRIGHT_OWNER: "BLOCKLET_APP_COPYRIGHT_OWNER",
|
|
1067
1073
|
BLOCKLET_APP_COPYRIGHT_YEAR: "BLOCKLET_APP_COPYRIGHT_YEAR",
|
|
1068
1074
|
// 应用使用 DID Spaces 存储 文件/nft 的时候使用的环境变量
|
|
@@ -1182,6 +1188,7 @@ var MAX_TITLE_LENGTH = 40;
|
|
|
1182
1188
|
BLOCKLET_RELEASE_FOLDER_NAME,
|
|
1183
1189
|
BLOCKLET_RESOURCE_DIR,
|
|
1184
1190
|
BLOCKLET_STANDARD_INTERFACES,
|
|
1191
|
+
BLOCKLET_TENANT_MODES,
|
|
1185
1192
|
BLOCKLET_UI_INTERFACES,
|
|
1186
1193
|
BLOCKLET_UPLOADS_DIR,
|
|
1187
1194
|
BlockletEvents,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.27-beta-
|
|
6
|
+
"version": "1.16.27-beta-725ce3a6",
|
|
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": "6110607f520136996b78b8d9c05a0744016dfa21"
|
|
40
40
|
}
|