@backstage/backend-openapi-utils 0.1.0 → 0.1.1-next.1

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @backstage/backend-openapi-utils
2
2
 
3
+ ## 0.1.1-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-plugin-api@0.6.8-next.1
9
+ - @backstage/config@1.1.1
10
+ - @backstage/errors@1.2.3
11
+
12
+ ## 0.1.1-next.0
13
+
14
+ ### Patch Changes
15
+
16
+ - aaa6fb3bc9: Minor updates for TypeScript 5.2.2+ compatibility
17
+ - Updated dependencies
18
+ - @backstage/backend-plugin-api@0.6.8-next.0
19
+ - @backstage/config@1.1.1
20
+ - @backstage/errors@1.2.3
21
+
3
22
  ## 0.1.0
4
23
 
5
24
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -221,10 +221,11 @@ type TuplifyUnion<T, L = LastOf<T>, N = [T] extends [never] ? true : false> = tr
221
221
  /**
222
222
  * @public
223
223
  */
224
- type ConvertAll<T, R extends ReadonlyArray<unknown> = []> = T extends [
225
- infer First extends JSONSchema7,
226
- ...infer Rest
227
- ] ? ConvertAll<Rest, [...R, FromSchema<First>]> : R;
224
+ type ConvertAll<T extends ReadonlyArray<unknown>> = {
225
+ [Index in keyof T]: T[Index] extends JSONSchema7 ? FromSchema<T[Index]> : T[Index];
226
+ } & {
227
+ length: T['length'];
228
+ };
228
229
  /**
229
230
  * @public
230
231
  */
@@ -410,7 +411,7 @@ type index_d_UnionToIntersection<U> = UnionToIntersection<U>;
410
411
  type index_d_LastOf<T> = LastOf<T>;
411
412
  type index_d_Push<T extends any[], V> = Push<T, V>;
412
413
  type index_d_TuplifyUnion<T, L = LastOf<T>, N = [T] extends [never] ? true : false> = TuplifyUnion<T, L, N>;
413
- type index_d_ConvertAll<T, R extends ReadonlyArray<unknown> = []> = ConvertAll<T, R>;
414
+ type index_d_ConvertAll<T extends ReadonlyArray<unknown>> = ConvertAll<T>;
414
415
  type index_d_UnknownIfNever<P> = UnknownIfNever<P>;
415
416
  type index_d_ToTypeSafe<T> = ToTypeSafe<T>;
416
417
  type index_d_DiscriminateUnion<T, K extends keyof T, V extends T[K]> = DiscriminateUnion<T, K, V>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/backend-openapi-utils",
3
3
  "description": "OpenAPI typescript support.",
4
- "version": "0.1.0",
4
+ "version": "0.1.1-next.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -30,14 +30,14 @@
30
30
  "postpack": "backstage-cli package postpack"
31
31
  },
32
32
  "devDependencies": {
33
- "@backstage/cli": "^0.24.0",
33
+ "@backstage/cli": "^0.25.0-next.1",
34
34
  "supertest": "^6.1.3"
35
35
  },
36
36
  "files": [
37
37
  "dist"
38
38
  ],
39
39
  "dependencies": {
40
- "@backstage/backend-plugin-api": "^0.6.7",
40
+ "@backstage/backend-plugin-api": "^0.6.8-next.1",
41
41
  "@backstage/config": "^1.1.1",
42
42
  "@backstage/errors": "^1.2.3",
43
43
  "@types/express": "^4.17.6",