diff --git a/package.json b/package.json index c0c1537..ef8c02c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vue-storefront/storyblok", - "version": "0.2.3", + "version": "0.3.0", "description": "Storyblok CMS integration with Vue Storefront", "main": "lib/index.cjs.js", "module": "lib/index.es.js", diff --git a/src/types.d.ts b/src/types.d.ts index 1d4feea..694ff0d 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -4,13 +4,14 @@ export interface ContentSearchParams { token: string cacheProvider: StoryblokCache cache?: boolean - version?: 'draft' | 'published' + version?: Version id?: string url?: string custom?: {} | CustomSearch locale?: string relations?: string } +export type Version = 'draft' | 'published' export interface CustomSearch { field: string value: string