@unchainedshop/core-countries 2.0.0-rc.3 → 2.0.0
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/jest.config.js +3 -0
- package/lib/countries-index.d.ts +2 -2
- package/lib/countries-index.js +2 -2
- package/lib/countries-index.js.map +1 -1
- package/lib/db/CountriesCollection.d.ts +2 -2
- package/lib/db/CountriesSchema.d.ts +2 -2
- package/lib/db/CountriesSchema.js.map +1 -1
- package/lib/module/configureCountriesModule.d.ts +2 -2
- package/lib/module/configureCountriesModule.js +3 -3
- package/lib/module/configureCountriesModule.js.map +1 -1
- package/lib/service/countryServices.d.ts +1 -1
- package/lib/service/countryServices.js +1 -1
- package/lib/service/countryServices.js.map +1 -1
- package/lib/service/resolveDefaultCurrencyCodeService.d.ts +1 -1
- package/package.json +6 -6
- package/src/countries-index.ts +2 -2
- package/src/db/CountriesCollection.ts +2 -2
- package/src/db/{CountriesSchema.js → CountriesSchema.ts} +0 -0
- package/{tests/countries-index.test.ts → src/module/buildFindSelector.test.ts} +3 -4
- package/src/module/configureCountriesModule.ts +5 -5
- package/src/service/countryServices.ts +2 -2
- package/src/service/resolveDefaultCurrencyCodeService.ts +2 -2
- package/tsconfig.json +4 -22
package/jest.config.js
CHANGED
package/lib/countries-index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { configureCountriesModule } from './module/configureCountriesModule';
|
|
2
|
-
export { countryServices } from './service/countryServices';
|
|
1
|
+
export { configureCountriesModule } from './module/configureCountriesModule.js';
|
|
2
|
+
export { countryServices } from './service/countryServices.js';
|
package/lib/countries-index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { configureCountriesModule } from './module/configureCountriesModule';
|
|
2
|
-
export { countryServices } from './service/countryServices';
|
|
1
|
+
export { configureCountriesModule } from './module/configureCountriesModule.js';
|
|
2
|
+
export { countryServices } from './service/countryServices.js';
|
|
3
3
|
//# sourceMappingURL=countries-index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"countries-index.js","sourceRoot":"","sources":["../src/countries-index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"countries-index.js","sourceRoot":"","sources":["../src/countries-index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Db } from '@unchainedshop/types/common';
|
|
2
|
-
import { Country } from '@unchainedshop/types/countries';
|
|
1
|
+
import { Db } from '@unchainedshop/types/common.js';
|
|
2
|
+
import { Country } from '@unchainedshop/types/countries.js';
|
|
3
3
|
export declare const CountriesCollection: (db: Db) => Promise<import("mongodb").Collection<Country>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import SimpleSchema from 'simpl-schema';
|
|
2
|
+
export declare const CountriesSchema: SimpleSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CountriesSchema.js","sourceRoot":"","sources":["../../src/db/CountriesSchema.
|
|
1
|
+
{"version":3,"file":"CountriesSchema.js","sourceRoot":"","sources":["../../src/db/CountriesSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,YAAY,MAAM,cAAc,CAAC;AAExC,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,YAAY,CAC7C;IACE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACzC,QAAQ,EAAE,OAAO;IACjB,iBAAiB,EAAE,MAAM;IACzB,GAAG,OAAO,CAAC,eAAe;CAC3B,EACD,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAC7B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModuleInput } from '@unchainedshop/types/core';
|
|
2
|
-
import { CountriesModule, CountryQuery } from '@unchainedshop/types/countries';
|
|
1
|
+
import { ModuleInput } from '@unchainedshop/types/core.js';
|
|
2
|
+
import { CountriesModule, CountryQuery } from '@unchainedshop/types/countries.js';
|
|
3
3
|
export declare const buildFindSelector: ({ includeInactive, queryString }: CountryQuery) => {
|
|
4
4
|
isActive?: true;
|
|
5
5
|
$text?: any;
|
|
@@ -2,9 +2,9 @@ import countryFlags from 'emoji-flags';
|
|
|
2
2
|
import countryI18n from 'i18n-iso-countries';
|
|
3
3
|
import { emit, registerEvents } from '@unchainedshop/events';
|
|
4
4
|
import { generateDbFilterById, generateDbMutations, systemLocale, buildSortOptions, } from '@unchainedshop/utils';
|
|
5
|
-
import { SortDirection } from '@unchainedshop/types/api';
|
|
6
|
-
import { CountriesCollection } from '../db/CountriesCollection';
|
|
7
|
-
import { CountriesSchema } from '../db/CountriesSchema';
|
|
5
|
+
import { SortDirection } from '@unchainedshop/types/api.js';
|
|
6
|
+
import { CountriesCollection } from '../db/CountriesCollection.js';
|
|
7
|
+
import { CountriesSchema } from '../db/CountriesSchema.js';
|
|
8
8
|
const COUNTRY_EVENTS = ['COUNTRY_CREATE', 'COUNTRY_UPDATE', 'COUNTRY_REMOVE'];
|
|
9
9
|
export const buildFindSelector = ({ includeInactive = false, queryString = '' }) => {
|
|
10
10
|
const selector = { deleted: null };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configureCountriesModule.js","sourceRoot":"","sources":["../../src/module/configureCountriesModule.ts"],"names":[],"mappings":"AAEA,OAAO,YAAY,MAAM,aAAa,CAAC;AACvC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,GACjB,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,CAAC,gBAAgB,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;YAC5C,OAAO,YAAY,CAAC;QACtB,CAAC;QAED,iBAAiB,EAAE,SAAS,CAAC,iBAAiB;KAC/C,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CountryServices } from '@unchainedshop/types/countries';
|
|
1
|
+
import { CountryServices } from '@unchainedshop/types/countries.js';
|
|
2
2
|
export declare const countryServices: CountryServices;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveDefaultCurrencyCodeService } from './resolveDefaultCurrencyCodeService';
|
|
1
|
+
import { resolveDefaultCurrencyCodeService } from './resolveDefaultCurrencyCodeService.js';
|
|
2
2
|
export const countryServices = {
|
|
3
3
|
resolveDefaultCurrencyCode: resolveDefaultCurrencyCodeService,
|
|
4
4
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"countryServices.js","sourceRoot":"","sources":["../../src/service/countryServices.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"countryServices.js","sourceRoot":"","sources":["../../src/service/countryServices.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAE3F,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,0BAA0B,EAAE,iCAAiC;CAC9D,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ResolveDefaultCurrencyCodeService } from '@unchainedshop/types/countries';
|
|
1
|
+
import { ResolveDefaultCurrencyCodeService } from '@unchainedshop/types/countries.js';
|
|
2
2
|
export declare const resolveDefaultCurrencyCodeService: ResolveDefaultCurrencyCodeService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unchainedshop/core-countries",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"main": "lib/countries-index.js",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./lib/countries-index.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/unchainedshop/unchained#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@unchainedshop/events": "^2.0.0
|
|
35
|
-
"@unchainedshop/utils": "^2.0.0
|
|
34
|
+
"@unchainedshop/events": "^2.0.0",
|
|
35
|
+
"@unchainedshop/utils": "^2.0.0",
|
|
36
36
|
"emoji-flags": "^1.3.0",
|
|
37
37
|
"i18n-iso-countries": "^7.5.0",
|
|
38
38
|
"lru-cache": "^7.14.1",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/node": "^18.11.18",
|
|
43
|
-
"@unchainedshop/types": "^2.0.0
|
|
43
|
+
"@unchainedshop/types": "^2.0.0",
|
|
44
44
|
"cross-env": "^7.0.3",
|
|
45
|
-
"jest": "^29.
|
|
46
|
-
"ts-jest": "^29.0.
|
|
45
|
+
"jest": "^29.4.1",
|
|
46
|
+
"ts-jest": "^29.0.5",
|
|
47
47
|
"typescript": "^4.9.4"
|
|
48
48
|
}
|
|
49
49
|
}
|
package/src/countries-index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { configureCountriesModule } from './module/configureCountriesModule';
|
|
1
|
+
export { configureCountriesModule } from './module/configureCountriesModule.js';
|
|
2
2
|
|
|
3
|
-
export { countryServices } from './service/countryServices';
|
|
3
|
+
export { countryServices } from './service/countryServices.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Db } from '@unchainedshop/types/common';
|
|
2
|
-
import { Country } from '@unchainedshop/types/countries';
|
|
1
|
+
import { Db } from '@unchainedshop/types/common.js';
|
|
2
|
+
import { Country } from '@unchainedshop/types/countries.js';
|
|
3
3
|
import { buildDbIndexes } from '@unchainedshop/utils';
|
|
4
4
|
|
|
5
5
|
export const CountriesCollection = async (db: Db) => {
|
|
File without changes
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {buildFindSelector} from
|
|
2
|
-
describe('Country', () => {
|
|
3
|
-
|
|
4
|
-
it('buildFindSelector should return correct filter object', async () => {
|
|
1
|
+
import { buildFindSelector } from "./configureCountriesModule.js";
|
|
5
2
|
|
|
3
|
+
describe('buildFindSelector', () => {
|
|
4
|
+
it('should return correct filter object', async () => {
|
|
6
5
|
expect(buildFindSelector({includeInactive: true, queryString: 'hello world'})).toEqual({ deleted: null, '$text': { '$search': 'hello world' } })
|
|
7
6
|
expect(buildFindSelector({includeInactive: true})).toEqual({ deleted: null })
|
|
8
7
|
expect(buildFindSelector({queryString: 'hello world'})).toEqual({ deleted: null, '$text': { '$search': 'hello world' }, isActive: true })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModuleInput, ModuleMutations } from '@unchainedshop/types/core';
|
|
2
|
-
import { CountriesModule, Country, CountryQuery } from '@unchainedshop/types/countries';
|
|
1
|
+
import { ModuleInput, ModuleMutations } from '@unchainedshop/types/core.js';
|
|
2
|
+
import { CountriesModule, Country, CountryQuery } from '@unchainedshop/types/countries.js';
|
|
3
3
|
import countryFlags from 'emoji-flags';
|
|
4
4
|
import countryI18n from 'i18n-iso-countries';
|
|
5
5
|
import { emit, registerEvents } from '@unchainedshop/events';
|
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
systemLocale,
|
|
10
10
|
buildSortOptions,
|
|
11
11
|
} from '@unchainedshop/utils';
|
|
12
|
-
import { SortDirection, SortOption } from '@unchainedshop/types/api';
|
|
13
|
-
import { CountriesCollection } from '../db/CountriesCollection';
|
|
14
|
-
import { CountriesSchema } from '../db/CountriesSchema';
|
|
12
|
+
import { SortDirection, SortOption } from '@unchainedshop/types/api.js';
|
|
13
|
+
import { CountriesCollection } from '../db/CountriesCollection.js';
|
|
14
|
+
import { CountriesSchema } from '../db/CountriesSchema.js';
|
|
15
15
|
|
|
16
16
|
const COUNTRY_EVENTS: string[] = ['COUNTRY_CREATE', 'COUNTRY_UPDATE', 'COUNTRY_REMOVE'];
|
|
17
17
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CountryServices } from '@unchainedshop/types/countries';
|
|
2
|
-
import { resolveDefaultCurrencyCodeService } from './resolveDefaultCurrencyCodeService';
|
|
1
|
+
import { CountryServices } from '@unchainedshop/types/countries.js';
|
|
2
|
+
import { resolveDefaultCurrencyCodeService } from './resolveDefaultCurrencyCodeService.js';
|
|
3
3
|
|
|
4
4
|
export const countryServices: CountryServices = {
|
|
5
5
|
resolveDefaultCurrencyCode: resolveDefaultCurrencyCodeService,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Country, ResolveDefaultCurrencyCodeService } from '@unchainedshop/types/countries';
|
|
2
|
-
import { Modules } from '@unchainedshop/types/modules';
|
|
1
|
+
import { Country, ResolveDefaultCurrencyCodeService } from '@unchainedshop/types/countries.js';
|
|
2
|
+
import { Modules } from '@unchainedshop/types/modules.js';
|
|
3
3
|
import LRU from 'lru-cache';
|
|
4
4
|
|
|
5
5
|
const { NODE_ENV } = process.env;
|
package/tsconfig.json
CHANGED
|
@@ -1,29 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": "../shared/base.tsconfig.json",
|
|
2
3
|
"compilerOptions": {
|
|
3
|
-
"
|
|
4
|
-
"allowSyntheticDefaultImports": true,
|
|
5
|
-
"declaration": true,
|
|
6
|
-
"esModuleInterop": true,
|
|
7
|
-
"experimentalDecorators": true,
|
|
8
|
-
"forceConsistentCasingInFileNames": true,
|
|
9
|
-
"lib": [
|
|
10
|
-
"esnext"
|
|
11
|
-
],
|
|
12
|
-
"module": "esnext",
|
|
13
|
-
"moduleResolution": "node",
|
|
14
|
-
"noImplicitReturns": true,
|
|
15
|
-
"noUnusedLocals": false,
|
|
4
|
+
"rootDir": "src",
|
|
16
5
|
"outDir": "lib",
|
|
17
|
-
"preserveWatchOutput": true,
|
|
18
|
-
"skipLibCheck": true,
|
|
19
|
-
"sourceMap": true,
|
|
20
|
-
"target": "esnext",
|
|
21
|
-
"types": [
|
|
22
|
-
"node",
|
|
23
|
-
"jest"
|
|
24
|
-
]
|
|
25
6
|
},
|
|
7
|
+
"exclude": ["**/*.test.ts", "**/*.test.js", "tests"],
|
|
26
8
|
"include": [
|
|
27
|
-
"src"
|
|
9
|
+
"./src"
|
|
28
10
|
]
|
|
29
11
|
}
|