From ff6dda94ddd312ebcff816cbb63e74df9857d091 Mon Sep 17 00:00:00 2001 From: Umair Jibran Date: Sat, 14 Dec 2024 16:00:59 +0500 Subject: feat(location): add list of spoken languages (#3333) * add list of spoken languages * remove dupes * add language definition * add language module * add test case for `language()` * autogenerated supporting code * add languages for urdu * add test to make sure the values are truthy * update seed to match new format * update language list slim them down to a few languages as the long list was not easy to build up * update documentation * update returns * language: convert alpha2 to lowercase * update seed flies * covert alpha3 to lowercase * update seeders * update example * update version * use interface for language * Update index.ts * Revert "Update index.ts" This reverts commit 72a18e99cfee1f4c09d151b27bda1f2c8d1137d8. * Update src/modules/location/index.ts Co-authored-by: ST-DDT * Update src/modules/location/index.ts Co-authored-by: ST-DDT * Update src/definitions/location.ts Co-authored-by: ST-DDT * language semantic Co-authored-by: ST-DDT * add additional test cases * add examples for each property * add languages for the supported locales * update seeds * use example of german instead of english * Update src/definitions/location.ts Co-authored-by: ST-DDT --------- Co-authored-by: ST-DDT --- test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap | 1 + 1 file changed, 1 insertion(+) (limited to 'test/scripts') diff --git a/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap b/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap index bc3ee0a0..c13b2811 100644 --- a/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap +++ b/test/scripts/apidocs/__snapshots__/verify-jsdoc-tags.spec.ts.snap @@ -288,6 +288,7 @@ exports[`check docs completeness > all modules and methods are present 1`] = ` "countryCode", "county", "direction", + "language", "latitude", "longitude", "nearbyGPSCoordinate", -- cgit v1.2.3