zkjf-web-constants 1.0.0

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.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './src'
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "zkjf-web-constants",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.ts",
6
+ "module": "index.ts",
7
+ "keywords": [
8
+ "zkjf",
9
+ "zkjf-web",
10
+ "constants",
11
+ "zkjf-web-constants",
12
+ "@zkjf-web",
13
+ "zkjf-web-constants"
14
+ ],
15
+ "files": [
16
+ "src",
17
+ "index.ts"
18
+ ],
19
+ "private": false,
20
+ "author": "",
21
+ "license": "ISC",
22
+ "publishConfig": {
23
+ "registry": "https://registry.npmjs.org/",
24
+ "access": "public"
25
+ }
26
+ }
@@ -0,0 +1,17 @@
1
+ export const ContentTypeEnum = {
2
+ JSON: 'application/json;charset=UTF-8',
3
+ FORM_QS: 'application/x-www-form-urlencoded;charset=UTF-8',
4
+ FORM: 'multipart/form-data;charset=UTF-8'
5
+ }
6
+
7
+ export const ComponentsEnum = {
8
+ Icon: Symbol('zkjf-icon'),
9
+ Permission: Symbol('permission')
10
+ }
11
+
12
+ export const MAPConfig = Symbol('map_key')
13
+
14
+ export const SearchConfig = Symbol('search-config')
15
+
16
+ export const PermissionButtonConfig = Symbol('permission-button')
17
+
package/src/index.ts ADDED
@@ -0,0 +1,9 @@
1
+ export const TOKEN_KEY = import.meta.env.VITE_TOKEN_KEY
2
+ export const VITE_STORE_TOKEN_KEY = import.meta.env.VITE_STORE_TOKEN_KEY
3
+ export const TOKEN_KEY_URL = import.meta.env.VITE_TOKEN_KEY_URL
4
+
5
+ export const BASE_API = import.meta.env.VITE_APP_BASE_API
6
+
7
+ export const LOCAL_BASE_API = 'local-base-api'
8
+
9
+ export * from './contentType'