-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(spec): update sources spec (#130)
- Loading branch information
Samuel Bodin
authored
Feb 10, 2022
1 parent
1188f69
commit a26d4b5
Showing
10 changed files
with
258 additions
and
7 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
19 changes: 19 additions & 0 deletions
19
clients/algoliasearch-client-javascript/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/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
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