@scalar/nextjs-openapi 0.1.7 → 0.1.9

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,21 @@
1
1
  # @scalar/nextjs-openapi
2
2
 
3
+ ## 0.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [9def02e]
8
+ - Updated dependencies [3745d77]
9
+ - @scalar/types@0.1.7
10
+ - @scalar/nextjs-api-reference@0.7.8
11
+
12
+ ## 0.1.8
13
+
14
+ ### Patch Changes
15
+
16
+ - e3e2cd8: chore: use ApiReferenceConfiguration instead of ReferenceConfiguration
17
+ - @scalar/nextjs-api-reference@0.7.7
18
+
3
19
  ## 0.1.7
4
20
 
5
21
  ### Patch Changes
package/dist/openapi.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ReferenceConfiguration } from '@scalar/types/legacy';
1
+ import type { ApiReferenceConfiguration } from '@scalar/types/api-reference';
2
2
  import type { NextRequest } from 'next/server';
3
3
  /**
4
4
  * Scalar OpenAPI config
@@ -9,7 +9,7 @@ export type OpenAPIConfig = {
9
9
  * @default 'app/api'
10
10
  */
11
11
  apiDirectory?: string;
12
- } & ReferenceConfiguration;
12
+ } & Partial<ApiReferenceConfiguration>;
13
13
  /**
14
14
  * Scalar Next.js OpenAPI schema generation
15
15
  *
@@ -1 +1 @@
1
- {"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../src/openapi.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAElE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAa9C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,GAAG,sBAAsB,CAAA;AA+B1B;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,YAAY,aAAa;eAmCxB,WAAW;CAe/B,CAAA"}
1
+ {"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../src/openapi.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAE5E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAa9C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAAA;AA+BtC;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,YAAY,aAAa;eAmCxB,WAAW;CAe/B,CAAA"}
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "scalar",
17
17
  "references"
18
18
  ],
19
- "version": "0.1.7",
19
+ "version": "0.1.9",
20
20
  "engines": {
21
21
  "node": ">=18"
22
22
  },
@@ -34,9 +34,9 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "fast-glob": "^3.3.2",
37
- "@scalar/nextjs-api-reference": "0.7.7",
38
- "@scalar/types": "0.1.6",
39
- "@scalar/ts-to-openapi": "0.0.5"
37
+ "@scalar/nextjs-api-reference": "0.7.8",
38
+ "@scalar/ts-to-openapi": "0.0.5",
39
+ "@scalar/types": "0.1.7"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "^20.17.10",