Skip to content

Commit 6bfeb5a

Browse files
committed
handle duplicate
1 parent 0cdb866 commit 6bfeb5a

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
if: ${{ github.event.number }}
2525
permissions:
2626
pull-requests: write
27+
issues: write
2728
steps:
2829
- uses: actions/checkout@v4
2930

generators/src/main/java/com/algolia/codegen/AlgoliaSwiftGenerator.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ public class AlgoliaSwiftGenerator extends Swift5ClientCodegen {
3838
"aroundradiusall",
3939
"automaticfacetfilter",
4040
"automaticfacetfilters",
41+
"banner",
42+
"bannerimage",
43+
"bannerimageurl",
44+
"bannerlink",
45+
"banners",
4146
"baseindexsettings",
4247
"basesearchparams",
4348
"basesearchparamswithoutquery",
@@ -109,7 +114,8 @@ public class AlgoliaSwiftGenerator extends Swift5ClientCodegen {
109114
"timerange",
110115
"typotolerance",
111116
"typotoleranceenum",
112-
"value"
117+
"value",
118+
"widgets"
113119
);
114120

115121
// This is used for the CTS generation

templates/javascript/clients/algoliasearch/builds/models.mustache

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ import type {
1313
AroundRadiusAll,
1414
AutomaticFacetFilter,
1515
AutomaticFacetFilters,
16+
Banner,
17+
BannerImage,
18+
BannerImageUrl,
19+
BannerLink,
20+
Banners,
1621
BaseIndexSettings,
1722
BaseSearchParams,
1823
BaseSearchParamsWithoutQuery,
@@ -79,6 +84,7 @@ import type {
7984
TypoTolerance,
8085
TypoToleranceEnum,
8186
Value,
87+
Widgets,
8288
} from '@algolia/client-search';
8389
import { apiClientVersion } from '@algolia/client-search';
8490
import type { RecommendClient } from '@algolia/recommend';
@@ -103,6 +109,11 @@ export {
103109
AroundRadiusAll,
104110
AutomaticFacetFilter,
105111
AutomaticFacetFilters,
112+
Banner,
113+
BannerImage,
114+
BannerImageUrl,
115+
BannerLink,
116+
Banners,
106117
BaseIndexSettings,
107118
BaseSearchParams,
108119
BaseSearchParamsWithoutQuery,
@@ -170,6 +181,7 @@ export {
170181
TypoTolerance,
171182
TypoToleranceEnum,
172183
Value,
184+
Widgets,
173185
};
174186

175187
/**

0 commit comments

Comments
 (0)