@or-sdk/library-types-v2 6.0.15 → 6.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/types/Packages/params.d.ts +130 -0
- package/dist/types/Packages/response.d.ts +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @or-sdk/library-types
|
|
2
2
|
|
|
3
|
+
## 6.0.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 508d9eb2: v2: add itemsTotal response prop for filtered queries
|
|
8
|
+
|
|
9
|
+
## 6.0.16
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fbd98e96: v2 packages allow query by categrory id
|
|
14
|
+
|
|
3
15
|
## 6.0.15
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -11225,7 +11225,8 @@ var GetPackagesListResponse = ListView.extend({
|
|
|
11225
11225
|
total: z.number()
|
|
11226
11226
|
})
|
|
11227
11227
|
).array(),
|
|
11228
|
-
total: z.number(),
|
|
11228
|
+
total: z.number().describe("Total number of items in non filtered the list"),
|
|
11229
|
+
itemsTotal: z.number().describe("Total number of items of filtered list"),
|
|
11229
11230
|
items: PackageReleaseModelResponse.array().describe(
|
|
11230
11231
|
"Latest versions of every package id"
|
|
11231
11232
|
)
|
|
@@ -11287,6 +11288,9 @@ var GetPackagesParamsFilter = z.object({
|
|
|
11287
11288
|
categories: z.object({
|
|
11288
11289
|
name: InAndNotInFunc({
|
|
11289
11290
|
type: z.string().trim().toLowerCase()
|
|
11291
|
+
}),
|
|
11292
|
+
id: InAndNotInFunc({
|
|
11293
|
+
type: z.string().trim().toLowerCase()
|
|
11290
11294
|
})
|
|
11291
11295
|
}).optional(),
|
|
11292
11296
|
id: InAndNotInFunc({
|