@metano/quasar_rest_auth 1.0.1 → 1.0.2
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/boot/api.js +1 -2
- package/files/ice_edits.json +0 -0
- package/files/silver_path_memories.json +0 -0
- package/files/smart_edits.json +0 -0
- package/gitignore +56 -0
- package/package.json +1 -1
- package/pages/routes.js +11 -11
package/boot/api.js
CHANGED
|
@@ -45,9 +45,8 @@ axios.defaults.headers = {
|
|
|
45
45
|
Accept: 'application/json'
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export const wsApi = process.env.API.replace('http', 'ws')
|
|
48
|
+
export const wsApi = (process.env.API + '/' + apiBaseUrl).replace('http', 'ws')
|
|
49
49
|
|
|
50
|
-
// const TOKKEN = JSON.parse(getStorage('c', 'user'))?.tokens?.access
|
|
51
50
|
|
|
52
51
|
export const HTTPClient = axios.create({
|
|
53
52
|
baseURL: process.env.API,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/gitignore
CHANGED
|
@@ -1,3 +1,59 @@
|
|
|
1
|
+
# Sync .project/sourceTexts/ folder (source text files)
|
|
2
|
+
|
|
3
|
+
# Don't sync user-specific SQLite databases
|
|
4
|
+
.project/*.sqlite
|
|
5
|
+
|
|
6
|
+
# Don't sync SQLite auxiliary files
|
|
7
|
+
.project/*.sqlite-wal
|
|
8
|
+
.project/*.sqlite-shm
|
|
9
|
+
|
|
10
|
+
# Don't sync user-specific files
|
|
11
|
+
.project/complete_drafts.txt
|
|
12
|
+
.project/localProjectSettings.json
|
|
13
|
+
copilot-messages.log
|
|
14
|
+
|
|
15
|
+
# Archive formats
|
|
16
|
+
*.zip
|
|
17
|
+
*.rar
|
|
18
|
+
*.7z
|
|
19
|
+
*.tar
|
|
20
|
+
*.tar.gz
|
|
21
|
+
*.tar.bz2
|
|
22
|
+
*.tar.xz
|
|
23
|
+
*.gz
|
|
24
|
+
*.bz2
|
|
25
|
+
*.xz
|
|
26
|
+
|
|
27
|
+
# Windows executables and installers
|
|
28
|
+
*.exe
|
|
29
|
+
*.msi
|
|
30
|
+
*.bat
|
|
31
|
+
*.cmd
|
|
32
|
+
*.com
|
|
33
|
+
*.scr
|
|
34
|
+
*.dll
|
|
35
|
+
|
|
36
|
+
# macOS executables and disk images
|
|
37
|
+
*.dmg
|
|
38
|
+
*.pkg
|
|
39
|
+
|
|
40
|
+
# Disk images and virtual machine files
|
|
41
|
+
*.iso
|
|
42
|
+
*.img
|
|
43
|
+
*.vhd
|
|
44
|
+
*.vmdk
|
|
45
|
+
|
|
46
|
+
# System files
|
|
47
|
+
.DS_Store
|
|
48
|
+
.project/attachments/files/**
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
52
|
+
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
53
|
+
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
1
57
|
/node_modules/
|
|
2
58
|
/files/
|
|
3
59
|
/.project/
|
package/package.json
CHANGED
package/pages/routes.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { tdc } from '../boot/app'
|
|
2
2
|
|
|
3
|
-
export let rotas = [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
]
|
|
3
|
+
// export let rotas = [
|
|
4
|
+
// {
|
|
5
|
+
// path: '/rotas',
|
|
6
|
+
// component: () => import('../components/MyTest.vue'),
|
|
7
|
+
// name: 'list_test',
|
|
8
|
+
// meta: { title: tdc('Lista de') + ' ' + tdc('Tests'),
|
|
9
|
+
// requiresAuth: true,
|
|
10
|
+
// requiredRole: 'list_test' }
|
|
11
|
+
// },
|
|
12
|
+
// ]
|
|
13
13
|
|
|
14
|
-
export const
|
|
14
|
+
export const rest = {
|
|
15
15
|
path: '/',
|
|
16
16
|
component: () => import('../layouts/MainLayout.vue'),
|
|
17
17
|
children: {
|