bt-core-app 1.2.2 → 1.2.3
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/README.md +4 -4
- package/dist/bt-core-app.js +2923 -2906
- package/dist/composables/auth.d.ts +1 -2
- package/dist/composables/urls.d.ts +16 -2
- package/dist/core.d.ts +5 -3
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/composables/auth.ts +6 -4
- package/src/composables/forage.ts +3 -3
- package/src/composables/navigation.ts +2 -2
- package/src/composables/urls.ts +54 -4
- package/src/core.ts +7 -16
- package/src/index.ts +2 -2
- package/test/auth.test.ts +1 -2
- package/test/forage.test.ts +1 -1
- package/test/stores-session.test.ts +3 -3
- package/test/urls.test.ts +42 -0
package/README.md
CHANGED
|
@@ -7,17 +7,17 @@ The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs]
|
|
|
7
7
|
|
|
8
8
|
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
<!--
|
|
11
11
|
## Environment modes - production, staging, development
|
|
12
12
|
|
|
13
13
|
Control what mode you are in by adding environment files to your project root folder with these variables:
|
|
14
14
|
|
|
15
15
|
```
|
|
16
16
|
VITE_BASE_AUTH_URL=[https://auth...]
|
|
17
|
-
|
|
17
|
+
VITE_[BASE_DATA_URL]=[https://data...]
|
|
18
18
|
VITE_WEB_APP_URL=[https://webapp...]
|
|
19
19
|
VITE_[MICROSERVICE]=[https://microservice...]
|
|
20
|
-
|
|
20
|
+
VITE_[LOCAL_DB_NAME]=[btweb]
|
|
21
21
|
```
|
|
22
22
|
The VITE_[MICROSERVICE] variable can include any number of variables like this:
|
|
23
23
|
|
|
@@ -25,7 +25,7 @@ The VITE_[MICROSERVICE] variable can include any number of variables like this:
|
|
|
25
25
|
VITE_auth=[https://data_auth...]
|
|
26
26
|
VITE_ordering=[https://data_ordering...]
|
|
27
27
|
VITE_courier-invoicing=[https://data_courier-invoicing...]
|
|
28
|
-
```
|
|
28
|
+
``` -->
|
|
29
29
|
|
|
30
30
|
## Auth modes
|
|
31
31
|
|