@frontastic/common 2.19.3 → 2.21.1
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.
- package/CHANGELOG.md +18 -0
- package/composer.json +2 -2
- package/docs/README.md +3 -0
- package/docs/php/CoreBundle/Domain/Tracing.md +17 -0
- package/docs/php/SpecificationBundle/Domain/InvalidCustomDataSourceTypeException.md +41 -0
- package/docs/php/SpecificationBundle/Domain/MasterPageSchemaSpecParser.md +19 -0
- package/package.json +1 -1
- package/src/json/masterPageSchemaSchema.json +34 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# common Changelog
|
|
2
2
|
|
|
3
|
+
## `2.21.1` (2021-11-30)
|
|
4
|
+
|
|
5
|
+
* fix: make product price nullable in Algolia integration
|
|
6
|
+
|
|
7
|
+
## `2.21.0` (2021-10-26)
|
|
8
|
+
|
|
9
|
+
* !feat(FP-646): implemented traceability strategy adding a correlation-id to all requests and responses
|
|
10
|
+
* fix: Nested groups were not visited correctly in ConfigurationSchema.
|
|
11
|
+
|
|
12
|
+
## `2.20.1` (2021-10-21)
|
|
13
|
+
|
|
14
|
+
* fix: return a 400 json response on type error of dynamic pages
|
|
15
|
+
|
|
16
|
+
## `2.20.0` (2021-10-11)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
* Catwalk version update
|
|
20
|
+
|
|
3
21
|
## `2.19.3` (2021-10-07)
|
|
4
22
|
|
|
5
23
|
* fix(api-hub): disable deprecation notice in prod
|
package/composer.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "frontastic/common",
|
|
3
3
|
"license": "None",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.21.1",
|
|
5
5
|
"repositories": [
|
|
6
6
|
{
|
|
7
7
|
"type": "path",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"conflict": {
|
|
19
|
-
"frontastic/catwalk": "<1.
|
|
19
|
+
"frontastic/catwalk": "<1.20.1"
|
|
20
20
|
},
|
|
21
21
|
"require": {
|
|
22
22
|
"ext-json": "*",
|
package/docs/README.md
CHANGED
|
@@ -129,6 +129,7 @@ Here you find the API documentation for the relevant classes:
|
|
|
129
129
|
* [SwiftMail](php/CoreBundle/Domain/Mailer/SwiftMail.md)
|
|
130
130
|
* [PaginationAdapter](php/CoreBundle/Domain/PaginationAdapter.md)
|
|
131
131
|
* [RequestProvider](php/CoreBundle/Domain/RequestProvider.md)
|
|
132
|
+
* [Tracing](php/CoreBundle/Domain/Tracing.md)
|
|
132
133
|
* [Versioner](php/CoreBundle/Domain/Versioner.md)
|
|
133
134
|
* EventListener
|
|
134
135
|
* [JsonExceptionListener](php/CoreBundle/EventListener/JsonExceptionListener.md)
|
|
@@ -357,8 +358,10 @@ Here you find the API documentation for the relevant classes:
|
|
|
357
358
|
* [CustomDataSourceSpecParser](php/SpecificationBundle/Domain/CustomDataSourceSpecParser.md)
|
|
358
359
|
* [CustomStreamSpecParser](php/SpecificationBundle/Domain/CustomStreamSpecParser.md)
|
|
359
360
|
* [DefaultSchemaLoader](php/SpecificationBundle/Domain/DefaultSchemaLoader.md)
|
|
361
|
+
* [InvalidCustomDataSourceTypeException](php/SpecificationBundle/Domain/InvalidCustomDataSourceTypeException.md)
|
|
360
362
|
* [InvalidSchemaException](php/SpecificationBundle/Domain/InvalidSchemaException.md)
|
|
361
363
|
* [JsonSchemaValidator](php/SpecificationBundle/Domain/JsonSchemaValidator.md)
|
|
364
|
+
* [MasterPageSchemaSpecParser](php/SpecificationBundle/Domain/MasterPageSchemaSpecParser.md)
|
|
362
365
|
* [NodeSpecParser](php/SpecificationBundle/Domain/NodeSpecParser.md)
|
|
363
366
|
* [ProjectSpecParser](php/SpecificationBundle/Domain/ProjectSpecParser.md)
|
|
364
367
|
* Schema
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Tracing
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\CoreBundle\Domain\Tracing`](../../../../src/php/CoreBundle/Domain/Tracing.php)
|
|
4
|
+
|
|
5
|
+
## Methods
|
|
6
|
+
|
|
7
|
+
* [getCurrentTraceId()](#getcurrenttraceid)
|
|
8
|
+
|
|
9
|
+
### getCurrentTraceId()
|
|
10
|
+
|
|
11
|
+
```php
|
|
12
|
+
static public function getCurrentTraceId(): mixed
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Return Value: `mixed`
|
|
16
|
+
|
|
17
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# InvalidCustomDataSourceTypeException
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\SpecificationBundle\Domain\InvalidCustomDataSourceTypeException`](../../../../src/php/SpecificationBundle/Domain/InvalidCustomDataSourceTypeException.php)
|
|
4
|
+
|
|
5
|
+
**Extends**: `\InvalidArgumentException`
|
|
6
|
+
|
|
7
|
+
Property|Type|Default|Required|Description
|
|
8
|
+
--------|----|-------|--------|-----------
|
|
9
|
+
`message` | `` | | - |
|
|
10
|
+
`error` | `` | | - |
|
|
11
|
+
|
|
12
|
+
## Methods
|
|
13
|
+
|
|
14
|
+
* [__construct()](#__construct)
|
|
15
|
+
* [getError()](#geterror)
|
|
16
|
+
|
|
17
|
+
### __construct()
|
|
18
|
+
|
|
19
|
+
```php
|
|
20
|
+
public function __construct(
|
|
21
|
+
string $message,
|
|
22
|
+
string $error
|
|
23
|
+
): mixed
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Argument|Type|Default|Description
|
|
27
|
+
--------|----|-------|-----------
|
|
28
|
+
`$message`|`string`||
|
|
29
|
+
`$error`|`string`||
|
|
30
|
+
|
|
31
|
+
Return Value: `mixed`
|
|
32
|
+
|
|
33
|
+
### getError()
|
|
34
|
+
|
|
35
|
+
```php
|
|
36
|
+
public function getError(): string
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Return Value: `string`
|
|
40
|
+
|
|
41
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# MasterPageSchemaSpecParser
|
|
2
|
+
|
|
3
|
+
**Fully Qualified**: [`\Frontastic\Common\SpecificationBundle\Domain\MasterPageSchemaSpecParser`](../../../../src/php/SpecificationBundle/Domain/MasterPageSchemaSpecParser.php)
|
|
4
|
+
|
|
5
|
+
**Extends**: [`ValidatingSpecParser`](ValidatingSpecParser.md)
|
|
6
|
+
|
|
7
|
+
## Methods
|
|
8
|
+
|
|
9
|
+
* [__construct()](#__construct)
|
|
10
|
+
|
|
11
|
+
### __construct()
|
|
12
|
+
|
|
13
|
+
```php
|
|
14
|
+
public function __construct(): mixed
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Return Value: `mixed`
|
|
18
|
+
|
|
19
|
+
Generated with [Frontastic API Docs](https://github.com/FrontasticGmbH/apidocs).
|
package/package.json
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"id": "https://frontastic.cloud/json/masterPageSchemaSchema",
|
|
4
|
+
|
|
5
|
+
"title": "Dynamic Page schema",
|
|
6
|
+
"description": "A Frontastic dynamic page definition",
|
|
7
|
+
|
|
8
|
+
"type": "object",
|
|
9
|
+
|
|
10
|
+
"properties": {
|
|
11
|
+
"dynamicPageType": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"isMultiple": {
|
|
15
|
+
"type": "boolean"
|
|
16
|
+
},
|
|
17
|
+
"dataSourceType": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"description": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"icon": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"name": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"category": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": ["dynamicPageType", "isMultiple", "dataSourceType", "name"]
|
|
34
|
+
}
|