-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storage APIs Added, WS connection changed (#159)
* Studio UI Code Added * Studio Sub Directory Added * Websocket Connection Added * Function and Views Update * Validations Added, Auth Page APIs Added * Update app.js * Storage APIs Added * Dummy Data Removed from Functions * Websocket Connection Changed
- Loading branch information
1 parent
931dd10
commit 353d98a
Showing
11 changed files
with
513 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,8 @@ | |
<script setup> | ||
defineOptions({ | ||
name: "App", | ||
mounted() { | ||
window.zillaApp = this; | ||
} | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import axios from 'axios'; | ||
import { boot } from 'quasar/wrappers' | ||
import { hideLoader, showLoader } from 'src/services/loading'; | ||
|
||
export default boot(({ app }) => { | ||
axios.interceptors.request.use( | ||
(config) => { | ||
showLoader(); | ||
return config; | ||
}, | ||
(error) => { | ||
hideLoader(); | ||
return Promise.reject(error); | ||
} | ||
); | ||
|
||
axios.interceptors.response.use( | ||
(response) => { | ||
hideLoader(); | ||
return response; | ||
}, | ||
(error) => { | ||
hideLoader(); | ||
return Promise.reject(error); | ||
} | ||
); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.