Skip to content

Commit

Permalink
Add sensiolabs-de/storyblok-api (#1612)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

---------

Co-authored-by: Oskar Stark <[email protected]>
  • Loading branch information
silasjoisten and OskarStark authored May 16, 2024
1 parent 449020e commit f11432d
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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'
9 changes: 9 additions & 0 deletions sensiolabs-de/storyblok-api/1.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"STORYBLOK_API_BASE_URI": "https://api.storyblok.com",
"STORYBLOK_API_TOKEN": ""
}
}

0 comments on commit f11432d

Please sign in to comment.