@autobusal/providers 1.0.34 → 1.0.36

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.34",
3
+ "version": "1.0.36",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "dependencies": {
package/services.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useSuspenseQuery, UseSuspenseQueryResult } from '@tanstack/react-query';
2
2
  import apiClient from './Queries/apiClient';
3
- import { SettingsData, MenuData } from './types';
3
+ import { SettingsData, MenuData } from './types/settings';
4
4
  import useMenuStore from './stores/menu';
5
5
 
6
6
  export const GetSettings = (): UseSuspenseQueryResult<SettingsData> => (
package/types/routes.ts CHANGED
@@ -35,7 +35,7 @@ export interface FeatureData {
35
35
  image_url: string
36
36
  }
37
37
 
38
- export interface PolicyType {
38
+ export interface PolicyData {
39
39
  id: number
40
40
  policies: string
41
41
  }
package/types/settings.ts CHANGED
@@ -4,6 +4,8 @@ export interface SettingsData {
4
4
 
5
5
  googleAnalyticsID: string | null
6
6
 
7
+ operatorId?: number
8
+
7
9
  languages: {
8
10
  available: string[]
9
11
  default: string