Skip to content

Commit

Permalink
feat: use uuid/v4 instead of uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
petrot committed Feb 9, 2018
1 parent 72dda96 commit 31f67b4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/shared/services/admin-map/admin-map.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
ElevationService
} from 'subrepos/gtrack-common-ngx/app';

import * as uuid from 'uuid';
import * as uuid from 'uuid/v4';

@Injectable()
export class AdminMapService extends MapService {
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/services/admin-map/lib/admin-map-marker.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// import { MapMarker } from 'subrepos/gtrack-common-ngx/app/map/services/map-marker';
import { MapMarker, IconService } from 'subrepos/gtrack-common-ngx';
import * as uuid from 'uuid';
import * as uuid from 'uuid/v4';

export class AdminMapMarker extends MapMarker {
public id: string;
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/services/poi/google-poi.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { GoogleMapsService } from 'subrepos/gtrack-common-ngx/index';
import { GooglePoi } from './lib/google-poi';
import { /**/ } from '@types/googlemaps';

import * as uuid from 'uuid';
import * as uuid from 'uuid/v4';
import * as _ from 'lodash';

@Injectable()
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/services/poi/osm-poi.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { EPoiTypes } from 'subrepos/provider-client';
import { OsmPoi } from './lib/osm-poi';
import * as uuid from 'uuid';
import * as uuid from 'uuid/v4';

@Injectable()
export class OsmPoiService {
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/services/poi/osm-route-poi.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { EPoiTypes } from 'subrepos/provider-client';
import { OsmPoi } from './lib/osm-poi';
import * as uuid from 'uuid';
import * as uuid from 'uuid/v4';

@Injectable()
export class OsmRoutePoiService {
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/services/poi/poi-editor.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
IExternalPoi, IWikipediaPoi, IGooglePoi, IOsmPoi
} from 'app/shared/interfaces/index';

import * as uuid from 'uuid';
import * as uuid from 'uuid/v4';
import * as _ from 'lodash';
import * as turf from '@turf/turf';
import { IPoi } from 'subrepos/provider-client';
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/services/poi/wikipedia-poi.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GeometryService, CenterRadius } from 'subrepos/gtrack-common-ngx/index'
import { IWikipediaPoi, IWikipediaPageImageInfo } from 'app/shared/interfaces';

import * as _ from 'lodash';
import * as uuid from 'uuid';
import * as uuid from 'uuid/v4';

@Injectable()
export class WikipediaPoiService {
Expand Down

0 comments on commit 31f67b4

Please sign in to comment.