diff --git a/sensiolabs-de/storyblok-api/1.0/config/packages/sensiolabs_de_storyblok_api.yaml b/sensiolabs-de/storyblok-api/1.0/config/packages/sensiolabs_de_storyblok_api.yaml new file mode 100644 index 000000000..582c39590 --- /dev/null +++ b/sensiolabs-de/storyblok-api/1.0/config/packages/sensiolabs_de_storyblok_api.yaml @@ -0,0 +1,22 @@ +framework: + http_client: + scoped_clients: + storyblok.client: + base_uri: '%env(STORYBLOK_API_BASE_URI)%' + +services: + _defaults: + autowire: true + + SensioLabs\Storyblok\Api\StoryblokClient: + arguments: + - '%env(STORYBLOK_API_BASE_URI)%' + - '%env(STORYBLOK_API_TOKEN)%' + + SensioLabs\Storyblok\Api\StoryblokClientInterface: '@SensioLabs\Storyblok\Api\StoryblokClient' + + SensioLabs\Storyblok\Api\StoriesApi: null + SensioLabs\Storyblok\Api\StoriesApiInterface: '@SensioLabs\Storyblok\Api\StoriesApi' + + SensioLabs\Storyblok\Api\LinksApi: null + SensioLabs\Storyblok\Api\LinksApiInterface: '@SensioLabs\Storyblok\Api\LinksApi' diff --git a/sensiolabs-de/storyblok-api/1.0/manifest.json b/sensiolabs-de/storyblok-api/1.0/manifest.json new file mode 100644 index 000000000..5e82ed90e --- /dev/null +++ b/sensiolabs-de/storyblok-api/1.0/manifest.json @@ -0,0 +1,9 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "STORYBLOK_API_BASE_URI": "https://api.storyblok.com", + "STORYBLOK_API_TOKEN": "" + } +}