@dative-gpi/foundation-shared-services 0.0.190 → 0.0.191

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.
@@ -1,7 +1,6 @@
1
1
  export * from "./useAuthTokens";
2
2
  export * from "./useImages";
3
3
  export * from "./useLanguages";
4
- export * from "./useLocations";
5
4
  export * from "./useOrganisations";
6
5
  export * from "./useTimeZones";
7
6
  export * from "./useTranslations";
@@ -2,7 +2,6 @@ export * from "./authTokens";
2
2
  export * from "./files";
3
3
  export * from "./images";
4
4
  export * from "./languages";
5
- export * from "./locations";
6
5
  export * from "./organisations";
7
6
  export * from "./timeZones";
8
7
  export * from "./translations";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-services",
3
3
  "sideEffects": false,
4
- "version": "0.0.190",
4
+ "version": "0.0.191",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,7 +10,7 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "0.0.190"
13
+ "@dative-gpi/foundation-shared-domain": "0.0.191"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "@dative-gpi/bones-ui": "^0.0.75",
@@ -18,5 +18,5 @@
18
18
  "vue": "^3.4.29",
19
19
  "vue-router": "^4.3.0"
20
20
  },
21
- "gitHead": "226125292c2f5ed27334b3bdee88b1877a9d9d6a"
21
+ "gitHead": "19372b25ed0b392e64c1d23933412b045f53a036"
22
22
  }
@@ -1,14 +0,0 @@
1
- import type { CreateLocationDTO, LocationDetailsDTO, LocationFilters, LocationInfosDTO, UpdateLocationDTO } from "@dative-gpi/foundation-shared-domain/models";
2
- import { LocationDetails, LocationInfos } from "@dative-gpi/foundation-shared-domain/models";
3
- import { ComposableFactory, ServiceFactory } from "@dative-gpi/bones-ui/core";
4
-
5
- import { LOCATIONS_URL, LOCATION_URL } from "../../config/urls";
6
-
7
- const LocationServiceFactory = new ServiceFactory<LocationDetailsDTO, LocationDetails>("location", LocationDetails)
8
- .createComplete<LocationInfos, LocationInfosDTO, CreateLocationDTO, UpdateLocationDTO, LocationFilters>(LOCATIONS_URL, LOCATION_URL, LocationInfos);
9
-
10
- export const useLocation = ComposableFactory.get(LocationServiceFactory);
11
- export const useLocations = ComposableFactory.getMany(LocationServiceFactory);
12
- export const useCreateLocation = ComposableFactory.create(LocationServiceFactory);
13
- export const useUpdateLocation = ComposableFactory.update(LocationServiceFactory);
14
- export const useRemoveLocation = ComposableFactory.remove(LocationServiceFactory);
@@ -1,4 +0,0 @@
1
- import { CORE_URL } from "../../../../core/foundation-core-services/config/urls/base";
2
-
3
- export const LOCATIONS_URL = () => `${CORE_URL()}/locations`;
4
- export const LOCATION_URL = (locationId: string) => `${LOCATIONS_URL()}/${encodeURIComponent(locationId)}`;