Skip to content

Commit 3420652

Browse files
committed
chore: maybe this import
1 parent dbea7e8 commit 3420652

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

clients/algoliasearch-client-swift/Sources/Search/Extra/SearchClientExtension.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import Core
1010
#endif
1111
import Foundation
12+
import Search.Action
1213

1314
public extension SearchClient {
1415
/// Wait for a task to complete

templates/csharp/snippets/method.mustache

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ using Algolia.Search.Http;
44
using Algolia.Search.Clients;
55
// IMPORT<
66
using Algolia.Search.Models.{{clientPrefix}};
7+
{{#isSearchClient}}
78
using Action = Algolia.Search.Models.Search.Action;
9+
{{/isSearchClient}}
10+
{{^isSearchClient}}
11+
using Action = Algolia.Search.Models.Ingestion.Action;
12+
{{/isSearchClient}}
813

914
public class Snippet{{client}}
1015
{

0 commit comments

Comments
 (0)