@things-factory/geography 4.3.115-alpha.0 → 4.3.116
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.
|
@@ -83,6 +83,8 @@ __decorate([
|
|
|
83
83
|
GeoCountry = __decorate([
|
|
84
84
|
(0, typeorm_1.Entity)(),
|
|
85
85
|
(0, typeorm_1.Index)('ix_geo_country_0', (geoCountry) => [geoCountry.geoContinent, geoCountry.name], { unique: true }),
|
|
86
|
+
(0, typeorm_1.Index)('ix_geo_country_1', (geoCountry) => [geoCountry.name], { unique: true }),
|
|
87
|
+
(0, typeorm_1.Index)('ix_geo_country_2', (geoCountry) => [geoCountry.description], { unique: true }),
|
|
86
88
|
(0, type_graphql_1.ObjectType)({ description: 'Entity for GeoCountry' })
|
|
87
89
|
], GeoCountry);
|
|
88
90
|
exports.GeoCountry = GeoCountry;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geo-country.js","sourceRoot":"","sources":["../../../server/service/geo-country/geo-country.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAAgD;AAChD,+CAAoD;AACpD,qCASgB;AAChB,kEAA6D;
|
|
1
|
+
{"version":3,"file":"geo-country.js","sourceRoot":"","sources":["../../../server/service/geo-country/geo-country.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAAgD;AAChD,+CAAoD;AACpD,qCASgB;AAChB,kEAA6D;AAOtD,IAAM,UAAU,GAAhB,MAAM,UAAU;CAmDtB,CAAA;AAlDC;IAAC,IAAA,gCAAsB,EAAC,MAAM,CAAC;IAC9B,IAAA,oBAAK,EAAC,IAAI,CAAC,EAAE,CAAC,iBAAE,CAAC;;sCACC;AAEnB;IAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,EAAE,CAAC,4BAAY,CAAC;IAC/B,IAAA,oBAAK,GAAE;8BACM,4BAAY;gDAAA;AAE1B;IAAC,IAAA,oBAAU,EAAC,CAAC,UAAsB,EAAE,EAAE,C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,gBAAM,GAAE;IACR,IAAA,eAAK,EAAC,kBAAkB,EAAE,CAAC,UAAsB,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,YAAY,EAAE,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACnH,IAAA,eAAK,EAAC,kBAAkB,EAAE,CAAC,UAAsB,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC1F,IAAA,eAAK,EAAC,kBAAkB,EAAE,CAAC,UAAsB,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACjG,IAAA,yBAAU,EAAC,EAAE,WAAW,EAAE,uBAAuB,EAAE,CAAC;GACxC,UAAU,CAmDtB;AAnDY,gCAAU"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/geography",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.116",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/auth-base": "^4.3.
|
|
28
|
-
"@things-factory/shell": "^4.3.
|
|
27
|
+
"@things-factory/auth-base": "^4.3.114",
|
|
28
|
+
"@things-factory/shell": "^4.3.114"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "6b53bc722eaea83ef4f90ffbedf21ac3194b147d"
|
|
31
31
|
}
|
|
@@ -14,6 +14,8 @@ import { GeoContinent } from '../geo-continent/geo-continent'
|
|
|
14
14
|
|
|
15
15
|
@Entity()
|
|
16
16
|
@Index('ix_geo_country_0', (geoCountry: GeoCountry) => [geoCountry.geoContinent, geoCountry.name], { unique: true })
|
|
17
|
+
@Index('ix_geo_country_1', (geoCountry: GeoCountry) => [geoCountry.name], { unique: true })
|
|
18
|
+
@Index('ix_geo_country_2', (geoCountry: GeoCountry) => [geoCountry.description], { unique: true })
|
|
17
19
|
@ObjectType({ description: 'Entity for GeoCountry' })
|
|
18
20
|
export class GeoCountry {
|
|
19
21
|
@PrimaryGeneratedColumn('uuid')
|