From f11432d78a5b268c7ce9040aecbe8a6d34784832 Mon Sep 17 00:00:00 2001 From: Silas Joisten Date: Thu, 16 May 2024 15:47:02 +0300 Subject: [PATCH] Add `sensiolabs-de/storyblok-api` (#1612) * Enhancement: Adds Sensiolabs DE * Adds blankline * Fix * Modify recipe * Update sensiolabs-de/storyblok-api/1.0/config/packages/sensiolabs_de_storyblok_api.yaml Co-authored-by: Oskar Stark --------- Co-authored-by: Oskar Stark --- .../packages/sensiolabs_de_storyblok_api.yaml | 22 +++++++++++++++++++ sensiolabs-de/storyblok-api/1.0/manifest.json | 9 ++++++++ 2 files changed, 31 insertions(+) create mode 100644 sensiolabs-de/storyblok-api/1.0/config/packages/sensiolabs_de_storyblok_api.yaml create mode 100644 sensiolabs-de/storyblok-api/1.0/manifest.json 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": "" + } +}