@autobusal/providers 1.0.28 → 1.0.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "dependencies": {
@@ -0,0 +1,6 @@
1
+ export interface CityData {
2
+ id: number
3
+ name: string
4
+ location: string[]
5
+ slug: string
6
+ }
@@ -0,0 +1,26 @@
1
+ import { RouteData } from './routes';
2
+
3
+ export interface OperatorData {
4
+ id: number
5
+ company: string
6
+ code: string
7
+ link: string
8
+ logo_url: string
9
+ description: string
10
+ banner?: number
11
+ column?: number
12
+ first_name?: string
13
+ last_name?: string
14
+ website?: string
15
+ full_address?: string
16
+ phone?: string
17
+ mobile?: string
18
+ mobile2?: string
19
+ gallery?: GalleryData[]
20
+ routes?: RouteData[]
21
+ }
22
+
23
+ export interface GalleryData {
24
+ id: number
25
+ image_url: string
26
+ }
@@ -0,0 +1,3 @@
1
+ export interface RouteData {
2
+ id: number
3
+ }
@@ -41,26 +41,4 @@ export interface MenuData {
41
41
  new: 'yes' | 'no'
42
42
  children: MenuData[]
43
43
  location: 'any' | 'left' | 'right'
44
- }
45
-
46
- export interface UserData {
47
- user: any
48
- }
49
-
50
- export interface CityData {
51
- id: number
52
- name: string
53
- location: string[]
54
- slug: string
55
- }
56
-
57
- export interface OperatorData {
58
- id: number
59
- company: string
60
- code: string
61
- link: string
62
- logo_url: string
63
- description: string
64
- banner?: number
65
- column?: number
66
44
  }
package/types/users.ts ADDED
@@ -0,0 +1,3 @@
1
+ export interface UserData {
2
+ user: any
3
+ }