Skip to content

Commit

Permalink
chore: api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
patzick committed Mar 21, 2022
1 parent ebc1192 commit c678ec4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion api/composables.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ export function createListingComposable<ELEMENTS_TYPE>({ searchMethod, searchDef

// @beta
export function createShopware(app: App, options: {
initialStore: any;
initialStore?: any;
shopwareDefaults: ApiDefaults;
apiInstance: ShopwareApiInstance;
enableDevtools?: boolean;
}): {
install(app: App, options?: {
enableDevtools: boolean;
Expand Down
5 changes: 3 additions & 2 deletions docs/landing/resources/api/composables.createshopware.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ Create ShopwarePlugin vue instance. Shpware PWA composables rely on this config.

```typescript
export declare function createShopware(app: App, options: {
initialStore: any;
initialStore?: any;
shopwareDefaults: ApiDefaults;
apiInstance: ShopwareApiInstance;
enableDevtools?: boolean;
}): {
install(app: App, options?: {
enableDevtools: boolean;
Expand Down Expand Up @@ -220,7 +221,7 @@ export declare function createShopware(app: App, options: {
| Parameter | Type | Description |
| --- | --- | --- |
| app | App | |
| options | { initialStore: any; shopwareDefaults: ApiDefaults; apiInstance: ShopwareApiInstance; } | |
| options | { initialStore?: any; shopwareDefaults: ApiDefaults; apiInstance: ShopwareApiInstance; enableDevtools?: boolean; } | |

<b>Returns:</b>

Expand Down

0 comments on commit c678ec4

Please sign in to comment.