-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
1,649 additions
and
1,811 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
clients/algoliasearch-client-javascript/packages/client-sources/model/postURLJobAuth.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* The authentication scheme for the URL that will be fetched. | ||
*/ | ||
export type PostURLJobAuth = { | ||
/** | ||
* The type of authentication to use. | ||
*/ | ||
type: PostURLJobAuthType; | ||
/** | ||
* The login to use for Basic Auth. | ||
*/ | ||
login: string; | ||
/** | ||
* The password to use for Basic Auth. | ||
*/ | ||
password: string; | ||
}; | ||
|
||
export type PostURLJobAuthType = 'basic'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
clients/algoliasearch-client-javascript/packages/client-sources/model/postURLJobTarget.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/** | ||
* The target of the job. | ||
*/ | ||
export type PostURLJobTarget = { | ||
/** | ||
* The product to target. | ||
*/ | ||
type: PostURLJobTargetType; | ||
/** | ||
* The index name of the product. | ||
*/ | ||
indexName: string; | ||
/** | ||
* The type of operation to execute. | ||
*/ | ||
operation: PostURLJobTargetOperation; | ||
}; | ||
|
||
export type PostURLJobTargetType = 'search'; | ||
|
||
export type PostURLJobTargetOperation = 'replace'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.