@frontastic/common 2.48.3 → 2.48.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/composer.json +3 -2
  3. package/docs/README.md +50 -0
  4. package/docs/php/AccountApiBundle/Command/CreateAccountCommand.md +1 -1
  5. package/docs/php/AccountApiBundle/Controller/LegacyAccountAuthController.md +2 -2
  6. package/docs/php/CoreBundle/Domain/Mailer/SwiftMail.md +2 -2
  7. package/docs/php/CoreBundle/EventListener/JsonExceptionListener.md +2 -2
  8. package/docs/php/CoreBundle/EventListener/JsonViewListener.md +2 -2
  9. package/docs/php/DevelopmentBundle/EventListener/BrowserConsoleDebuggerListener.md +2 -2
  10. package/docs/php/Mvc/EventDispatcher/EventDispatcher.md +40 -0
  11. package/docs/php/Mvc/Exception/FormAlreadyHandledException.md +25 -0
  12. package/docs/php/Mvc/Exception/NoFormHandledException.md +19 -0
  13. package/docs/php/Mvc/Exception/UnauthenticatedUserException.md +7 -0
  14. package/docs/php/Mvc/Flash.md +30 -0
  15. package/docs/php/Mvc/Form/InvalidFormRequest.md +88 -0
  16. package/docs/php/Mvc/Form/ValidFormRequest.md +103 -0
  17. package/docs/php/Mvc/FormRequest.md +86 -0
  18. package/docs/php/Mvc/Headers.md +27 -0
  19. package/docs/php/Mvc/RedirectRoute.md +63 -0
  20. package/docs/php/Mvc/TemplateView.md +65 -0
  21. package/docs/php/Mvc/TokenContext.md +124 -0
  22. package/docs/php/Mvc/ViewStruct.md +56 -0
  23. package/docs/php/MvcBundle/Controller/GyroControllerNameParser.md +38 -0
  24. package/docs/php/MvcBundle/Controller/ResultConverter/ArrayToTemplateResponseConverter.md +64 -0
  25. package/docs/php/MvcBundle/Controller/ResultConverter/ControllerResultConverter.md +40 -0
  26. package/docs/php/MvcBundle/Controller/ResultConverter/ControllerYieldApplier.md +42 -0
  27. package/docs/php/MvcBundle/Controller/ResultConverter/CookieYieldApplier.md +44 -0
  28. package/docs/php/MvcBundle/Controller/ResultConverter/FlashYieldApplier.md +44 -0
  29. package/docs/php/MvcBundle/Controller/ResultConverter/HeadersYieldApplier.md +44 -0
  30. package/docs/php/MvcBundle/Controller/ResultConverter/RedirectConverter.md +57 -0
  31. package/docs/php/MvcBundle/DependencyInjection/CompatibleTreeBuilder.md +32 -0
  32. package/docs/php/MvcBundle/DependencyInjection/Configuration.md +22 -0
  33. package/docs/php/MvcBundle/DependencyInjection/FrontasticCommonMvcExtension.md +32 -0
  34. package/docs/php/MvcBundle/EventListener/ConvertExceptionListener.md +40 -0
  35. package/docs/php/MvcBundle/EventListener/ParamConverterListener.md +42 -0
  36. package/docs/php/MvcBundle/EventListener/ViewListener.md +53 -0
  37. package/docs/php/MvcBundle/FrontasticCommonMvcBundle.md +7 -0
  38. package/docs/php/MvcBundle/MockTokenContext.md +137 -0
  39. package/docs/php/MvcBundle/ParamConverter/ServiceProvider.md +35 -0
  40. package/docs/php/MvcBundle/ParamConverter/SymfonyServiceProvider.md +56 -0
  41. package/docs/php/MvcBundle/Request/SymfonyFormRequest.md +105 -0
  42. package/docs/php/MvcBundle/SymfonyTokenContext.md +143 -0
  43. package/docs/php/MvcBundle/Versions.md +17 -0
  44. package/docs/php/MvcBundle/View/BundleLocation.md +38 -0
  45. package/docs/php/MvcBundle/View/SymfonyConventionsTemplateGuesser.md +48 -0
  46. package/docs/php/MvcBundle/View/TemplateGuesser.md +31 -0
  47. package/docs/php/ReplicatorBundle/Domain/Customer.md +0 -1
  48. package/docs/php/SpecificationBundle/Domain/SchemaFieldTypes.md +5 -0
  49. package/package.json +1 -1
  50. package/src/json/library/common.json +2 -1
  51. package/src/json/masterPageSchemaSchema.json +3 -0
@@ -0,0 +1,38 @@
1
+ # BundleLocation
2
+
3
+ **Fully Qualified**: [`\Frontastic\Common\MvcBundle\View\BundleLocation`](../../../../src/php/MvcBundle/View/BundleLocation.php)
4
+
5
+ ## Methods
6
+
7
+ * [__construct()](#__construct)
8
+ * [locationFor()](#locationfor)
9
+
10
+ ### __construct()
11
+
12
+ ```php
13
+ public function __construct(
14
+ \Symfony\Component\HttpKernel\KernelInterface $kernel
15
+ ): mixed
16
+ ```
17
+
18
+ Argument|Type|Default|Description
19
+ --------|----|-------|-----------
20
+ `$kernel`|`\Symfony\Component\HttpKernel\KernelInterface`||
21
+
22
+ Return Value: `mixed`
23
+
24
+ ### locationFor()
25
+
26
+ ```php
27
+ public function locationFor(
28
+ string $className
29
+ ): ?string
30
+ ```
31
+
32
+ Argument|Type|Default|Description
33
+ --------|----|-------|-----------
34
+ `$className`|`string`||
35
+
36
+ Return Value: `?string`
37
+
38
+ Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
@@ -0,0 +1,48 @@
1
+ # SymfonyConventionsTemplateGuesser
2
+
3
+ **Fully Qualified**: [`\Frontastic\Common\MvcBundle\View\SymfonyConventionsTemplateGuesser`](../../../../src/php/MvcBundle/View/SymfonyConventionsTemplateGuesser.php)
4
+
5
+ **Implements**: [`TemplateGuesser`](TemplateGuesser.md)
6
+
7
+ ## Methods
8
+
9
+ * [__construct()](#__construct)
10
+ * [guessControllerTemplateName()](#guesscontrollertemplatename)
11
+
12
+ ### __construct()
13
+
14
+ ```php
15
+ public function __construct(
16
+ BundleLocation $bundleLocation,
17
+ GyroControllerNameParser $parser
18
+ ): mixed
19
+ ```
20
+
21
+ Argument|Type|Default|Description
22
+ --------|----|-------|-----------
23
+ `$bundleLocation`|[`BundleLocation`](BundleLocation.md)||
24
+ `$parser`|[`GyroControllerNameParser`](../Controller/GyroControllerNameParser.md)||
25
+
26
+ Return Value: `mixed`
27
+
28
+ ### guessControllerTemplateName()
29
+
30
+ ```php
31
+ public function guessControllerTemplateName(
32
+ string $controller,
33
+ ?string $actionName,
34
+ string $format,
35
+ string $engine
36
+ ): string
37
+ ```
38
+
39
+ Argument|Type|Default|Description
40
+ --------|----|-------|-----------
41
+ `$controller`|`string`||
42
+ `$actionName`|`?string`||
43
+ `$format`|`string`||
44
+ `$engine`|`string`||
45
+
46
+ Return Value: `string`
47
+
48
+ Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
@@ -0,0 +1,31 @@
1
+ # `interface` TemplateGuesser
2
+
3
+ **Fully Qualified**: [`\Frontastic\Common\MvcBundle\View\TemplateGuesser`](../../../../src/php/MvcBundle/View/TemplateGuesser.php)
4
+
5
+ ## Methods
6
+
7
+ * [guessControllerTemplateName()](#guesscontrollertemplatename)
8
+
9
+ ### guessControllerTemplateName()
10
+
11
+ ```php
12
+ public function guessControllerTemplateName(
13
+ string $controller,
14
+ ?string $actionName,
15
+ string $format,
16
+ string $engine
17
+ ): string
18
+ ```
19
+
20
+ *Return a template reference for the given controller, format, engine*
21
+
22
+ Argument|Type|Default|Description
23
+ --------|----|-------|-----------
24
+ `$controller`|`string`||
25
+ `$actionName`|`?string`||
26
+ `$format`|`string`||
27
+ `$engine`|`string`||
28
+
29
+ Return Value: `string`
30
+
31
+ Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
@@ -17,7 +17,6 @@ Property|Type|Default|Required|Description
17
17
  `configuration` | `array` | `[]` | *Yes* |
18
18
  `environments` | `array` | `['production', 'staging', 'development']` | *Yes* |
19
19
  `projects` | [`Project`](Project.md)[] | `[]` | *Yes* |
20
- `netlifyUrl` | `?string` | `null` | - |
21
20
 
22
21
  ## Methods
23
22
 
@@ -0,0 +1,5 @@
1
+ # SchemaFieldTypes
2
+
3
+ **Fully Qualified**: [`\Frontastic\Common\SpecificationBundle\Domain\SchemaFieldTypes`](../../../../src/php/SpecificationBundle/Domain/SchemaFieldTypes.php)
4
+
5
+ Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontastic/common",
3
- "version": "2.48.3",
3
+ "version": "2.48.5",
4
4
  "devDependencies": {
5
5
  "@babel/core": "7.21.0",
6
6
  "@babel/plugin-proposal-class-properties": "^7.5.0",
@@ -124,7 +124,8 @@
124
124
  "name": {
125
125
  "type": "string"
126
126
  }
127
- }
127
+ },
128
+ "required": ["name", "value"]
128
129
  }
129
130
  },
130
131
 
@@ -30,6 +30,9 @@
30
30
  },
31
31
  "category": {
32
32
  "type": "string"
33
+ },
34
+ "pageMatchingPayloadSchema": {
35
+ "$ref": "https://frontastic.cloud/json/library/common#/definitions/fields"
33
36
  }
34
37
  },
35
38
  "required": ["dynamicPageType", "isMultiple", "dataSourceType", "name"]