Skip to content

Commit c88befb

Browse files
committed
fix: generateCollections options typing
1 parent 33cff8c commit c88befb

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
node_modules/
33
.pnp
44
.pnp.js
5+
.yarn/
6+
.yarnrc.yml
57

68
# Build
79
dist/

.yarnrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
5+
yarn-path ".yarn/releases/yarn-1.22.19.cjs"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sensinum/astro-strapi-loader",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"description": "Astro loader for Strapi CMS",
55
"keywords": [
66
"astro",

src/utils/strapi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export interface StrapiRequestOptions {
1212
}
1313

1414
export interface StrapiCollectionsGeneratorOptions
15-
extends StrapiRequestOptions {
16-
strict?: boolean;
15+
extends Omit<StrapiRequestOptions, "path"> {
16+
strict?: boolean;
1717
}
1818

1919
export interface StrapiCollection {

0 commit comments

Comments
 (0)