Merge pull request 'refactor: standardize json types' (#35) from refactor/standardize-types into main
Some checks failed
Renovate / renovate (push) Failing after 1m37s
Some checks failed
Renovate / renovate (push) Failing after 1m37s
Reviewed-on: #35
This commit was merged in pull request #35.
This commit is contained in:
@@ -13,7 +13,7 @@ use KTXF\Resource\Provider\Node\NodePropertiesBaseInterface;
|
|||||||
|
|
||||||
interface CollectionPropertiesBaseInterface extends NodePropertiesBaseInterface {
|
interface CollectionPropertiesBaseInterface extends NodePropertiesBaseInterface {
|
||||||
|
|
||||||
public const JSON_TYPE = 'chrono.collection';
|
public const JSON_TYPE = 'chrono:collection';
|
||||||
public const JSON_PROPERTY_CONTENTS = 'content';
|
public const JSON_PROPERTY_CONTENTS = 'content';
|
||||||
|
|
||||||
public const JSON_PROPERTY_LABEL = 'label';
|
public const JSON_PROPERTY_LABEL = 'label';
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ use KTXF\Resource\Provider\Node\NodePropertiesBaseInterface;
|
|||||||
|
|
||||||
interface EntityPropertiesBaseInterface extends NodePropertiesBaseInterface {
|
interface EntityPropertiesBaseInterface extends NodePropertiesBaseInterface {
|
||||||
|
|
||||||
public const JSON_TYPE = 'chrono.entity';
|
public const JSON_TYPE = 'chrono:entity';
|
||||||
public const JSON_PROPERTY_DATA = 'data';
|
public const JSON_PROPERTY_DATA = 'data';
|
||||||
|
|
||||||
public function getDataRaw(): array|string|null;
|
public function getDataRaw(): array|string|null;
|
||||||
|
|||||||
@@ -18,6 +18,6 @@ use KTXF\Resource\Provider\ResourceProviderBaseInterface;
|
|||||||
*/
|
*/
|
||||||
interface ProviderBaseInterface extends ResourceProviderBaseInterface{
|
interface ProviderBaseInterface extends ResourceProviderBaseInterface{
|
||||||
|
|
||||||
public const JSON_TYPE = 'chrono.provider';
|
public const JSON_TYPE = 'chrono:provider';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ interface ServiceBaseInterface extends ResourceServiceBaseInterface {
|
|||||||
public const CAPABILITY_ENTITY_RANGE_TALLY_RELATIVE = 'relative';
|
public const CAPABILITY_ENTITY_RANGE_TALLY_RELATIVE = 'relative';
|
||||||
public const CAPABILITY_ENTITY_RANGE_DATE = 'date';
|
public const CAPABILITY_ENTITY_RANGE_DATE = 'date';
|
||||||
|
|
||||||
public const JSON_TYPE = 'chrono.service';
|
public const JSON_TYPE = 'chrono:service';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Lists all collections in this service
|
* Lists all collections in this service
|
||||||
|
|||||||
Reference in New Issue
Block a user