@metano/quasar_rest_auth 1.0.1 → 1.0.4

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 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') + '/' + apiBaseUrl
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/index.js CHANGED
@@ -1,9 +1,10 @@
1
- export * from './stores/auth.js'
2
- export * from './stores/settings.js'
3
- export * from './boot/axios.js'
1
+ export * from './stores/AuthStore.js'
2
+ export * from './stores/SettingsStore.js'
3
+
4
4
 
5
5
 
6
6
  import MainLayout from './layouts/MainLayout.vue'
7
7
  import AuthLayout from './layouts/AuthLayout.vue'
8
+
8
9
  export { MainLayout, AuthLayout}
9
10
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.0.1",
6
+ "version": "1.0.4",
7
7
  "description": "Para cabesalho do quasar framework",
8
8
  "keywords": [
9
9
  "mytech",
package/pages/routes.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { tdc } from '../boot/app'
2
2
 
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
- ]
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 mytech = {
14
+ export const rest = {
15
15
  path: '/',
16
16
  component: () => import('../layouts/MainLayout.vue'),
17
17
  children: {
File without changes