Skip to content

Commit

Permalink
Merge 8ed4554 into a480893
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp authored Sep 25, 2024
2 parents a480893 + 8ed4554 commit 7c5e2da
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 24 deletions.
8 changes: 4 additions & 4 deletions clients/algoliasearch-client-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"packages/*"
],
"scripts": {
"build:all": "lerna run build --skip-nx-cache --include-dependencies",
"build:many": "lerna run build --skip-nx-cache --include-dependencies --scope ${0:-'{@algolia/*,algoliasearch}'}",
"clean": "lerna run clean --include-dependencies",
"build:all": "lerna run build --include-dependencies",
"build:many": "lerna run build --scope '@algolia/requester-testing' --scope ${0:-'{@algolia/*,algoliasearch}'} --include-dependencies",
"clean": "lerna run clean",
"release:bump": "lerna version ${0:-patch} --no-changelog --no-git-tag-version --no-push --exact --force-publish --yes",
"release:publish": "tsc --project scripts/tsconfig.json && node scripts/dist/scripts/publish.js",
"test": "lerna run test $*",
"test:size": "bundlesize",
"test:bundle": "lerna run test:bundle --verbose --skip-nx-cache --include-dependencies"
"test:bundle": "lerna run test:bundle --verbose --include-dependencies"
},
"devDependencies": {
"@types/node": "22.5.5",
Expand Down
8 changes: 4 additions & 4 deletions specs/ingestion/common/authenticationParameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type:
platform:
name: platform
in: query
description: Ecommerce platform for which to retrieve authentication resources.
description: Ecommerce platform for which to retrieve authentications.
required: false
style: form
explode: false
Expand All @@ -37,13 +37,13 @@ platformWithNone:
sort:
name: sort
in: query
description: Property by which to sort the list of authentication resources.
description: Property by which to sort the list of authentications.
required: false
schema:
$ref: '#/authenticationSortKeys'

authenticationSortKeys:
type: string
description: Property by which to sort the list of authentication resources.
description: Property by which to sort the list of authentications.
default: createdAt
enum: [name, auth_type, platform, updatedAt, createdAt]
enum: [name, type, platform, updatedAt, createdAt]
10 changes: 10 additions & 0 deletions specs/ingestion/common/destinationParameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ authenticationID:
items:
$ref: './schemas/common.yml#/authenticationID'

transformationID:
name: transformationID
in: query
description: Get the list of destinations used by a transformation.
required: false
style: form
explode: false
schema:
$ref: './schemas/common.yml#/transformationID'

sort:
name: sort
in: query
Expand Down
14 changes: 0 additions & 14 deletions specs/ingestion/common/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,3 @@ orderKeys:
description: Ascending or descending sort order.
default: desc
enum: [asc, desc]

sort:
name: sort
in: query
description: Property by which to sort the list.
required: false
schema:
$ref: '#/sortKeys'

sortKeys:
type: string
description: Property by which to sort the list.
default: desc
enum: [name, type, updatedAt, createdAt]
2 changes: 1 addition & 1 deletion specs/ingestion/common/sourceParameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ authenticationID:
in: query
description: |
Authentication IDs of the sources to retrieve.
'none' returns sources that doesn't have an authentication resource.
'none' returns sources that doesn't have an authentication.
required: false
style: form
explode: false
Expand Down
13 changes: 13 additions & 0 deletions specs/ingestion/common/transformationParameters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
sort:
name: sort
in: query
description: Property by which to sort the list of transformations.
required: false
schema:
$ref: '#/transformationSortKeys'

transformationSortKeys:
type: string
description: Property by which to sort the list of transformations.
default: createdAt
enum: [name, updatedAt, createdAt]
1 change: 1 addition & 0 deletions specs/ingestion/paths/destinations/destinations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ get:
- $ref: '../../common/parameters.yml#/page'
- $ref: '../../common/destinationParameters.yml#/type'
- $ref: '../../common/destinationParameters.yml#/authenticationID'
- $ref: '../../common/destinationParameters.yml#/transformationID'
- $ref: '../../common/destinationParameters.yml#/sort'
- $ref: '../../common/parameters.yml#/order'
responses:
Expand Down
2 changes: 1 addition & 1 deletion specs/ingestion/paths/transformations/transformations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ get:
parameters:
- $ref: '../../common/parameters.yml#/itemsPerPage'
- $ref: '../../common/parameters.yml#/page'
- $ref: '../../common/parameters.yml#/sort'
- $ref: '../../common/transformationParameters.yml#/sort'
- $ref: '../../common/parameters.yml#/order'
responses:
'200':
Expand Down

0 comments on commit 7c5e2da

Please sign in to comment.