@contentchef/contentchef-types 2.5.7 → 2.5.9
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.
|
@@ -421,7 +421,7 @@ export declare type MediaSchemaType = TranslatableSchemaType<SchemaType<SchemaTy
|
|
|
421
421
|
* This type represent a number field schema type
|
|
422
422
|
* A number field can be indexed and searched when requesting the content
|
|
423
423
|
*/
|
|
424
|
-
export declare type NumberSchemaType = IndexableSchemaType<SchemaTypeIds.NUMBER, NumberFieldConstraints
|
|
424
|
+
export declare type NumberSchemaType = TranslatableSchemaType<IndexableSchemaType<SchemaTypeIds.NUMBER, NumberFieldConstraints>>;
|
|
425
425
|
/**
|
|
426
426
|
* This type represent a boolean field schema type
|
|
427
427
|
* A boolean field can be indexed and searched when requesting the content
|
|
@@ -465,7 +465,7 @@ export declare type IndexableSchemaTypes = TextSchemaType | LongTextSchemaType |
|
|
|
465
465
|
/**
|
|
466
466
|
* This are all the fields that can be localized
|
|
467
467
|
*/
|
|
468
|
-
export declare type TranslatableSchemaTypes = TextSchemaType | LongTextSchemaType | CloudinaryPublicIdSchemaType | CloudinaryImageSchemaType | CloudinaryVideoSchemaType | CloudinaryRawSchemaType | MediaSchemaType;
|
|
468
|
+
export declare type TranslatableSchemaTypes = NumberSchemaType | TextSchemaType | LongTextSchemaType | CloudinaryPublicIdSchemaType | CloudinaryImageSchemaType | CloudinaryVideoSchemaType | CloudinaryRawSchemaType | MediaSchemaType;
|
|
469
469
|
/**
|
|
470
470
|
* This type group all the schema types of a content definition that are not indexable
|
|
471
471
|
*/
|
package/dist/api/Webhooks.d.ts
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* This enum represent all possible webhook lifecycle events
|
|
3
3
|
*/
|
|
4
4
|
export declare enum WebhookLifecycleEvents {
|
|
5
|
-
|
|
5
|
+
PublishToLive = "publish_to_live",
|
|
6
|
+
PublishToStage = "publish_to_stage"
|
|
6
7
|
}
|
|
7
8
|
/**
|
|
8
9
|
* This type represent the model of a webhook
|
package/dist/api/Webhooks.js
CHANGED
|
@@ -6,5 +6,6 @@ exports.WebhookLifecycleEvents = void 0;
|
|
|
6
6
|
*/
|
|
7
7
|
var WebhookLifecycleEvents;
|
|
8
8
|
(function (WebhookLifecycleEvents) {
|
|
9
|
-
WebhookLifecycleEvents["
|
|
9
|
+
WebhookLifecycleEvents["PublishToLive"] = "publish_to_live";
|
|
10
|
+
WebhookLifecycleEvents["PublishToStage"] = "publish_to_stage";
|
|
10
11
|
})(WebhookLifecycleEvents = exports.WebhookLifecycleEvents || (exports.WebhookLifecycleEvents = {}));
|
|
@@ -459,7 +459,7 @@ export type MediaSchemaType = TranslatableSchemaType<SchemaType<SchemaTypeIds.ME
|
|
|
459
459
|
* This type represent a number field schema type
|
|
460
460
|
* A number field can be indexed and searched when requesting the content
|
|
461
461
|
*/
|
|
462
|
-
export type NumberSchemaType = IndexableSchemaType<SchemaTypeIds.NUMBER, NumberFieldConstraints
|
|
462
|
+
export type NumberSchemaType = TranslatableSchemaType<IndexableSchemaType<SchemaTypeIds.NUMBER, NumberFieldConstraints>>;
|
|
463
463
|
/**
|
|
464
464
|
* This type represent a boolean field schema type
|
|
465
465
|
* A boolean field can be indexed and searched when requesting the content
|
|
@@ -510,7 +510,7 @@ export type IndexableSchemaTypes = TextSchemaType | LongTextSchemaType | LinkedC
|
|
|
510
510
|
/**
|
|
511
511
|
* This are all the fields that can be localized
|
|
512
512
|
*/
|
|
513
|
-
export type TranslatableSchemaTypes = TextSchemaType | LongTextSchemaType | CloudinaryPublicIdSchemaType | CloudinaryImageSchemaType | CloudinaryVideoSchemaType | CloudinaryRawSchemaType | MediaSchemaType;
|
|
513
|
+
export type TranslatableSchemaTypes = NumberSchemaType | TextSchemaType | LongTextSchemaType | CloudinaryPublicIdSchemaType | CloudinaryImageSchemaType | CloudinaryVideoSchemaType | CloudinaryRawSchemaType | MediaSchemaType;
|
|
514
514
|
|
|
515
515
|
/**
|
|
516
516
|
* This type group all the schema types of a content definition that are not indexable
|
package/lib/api/Webhooks.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentchef/contentchef-types",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.9",
|
|
4
4
|
"description": "ContentChef types",
|
|
5
5
|
"author": "PierpaoloIannone <piannone@byte-code.com>",
|
|
6
6
|
"homepage": "https://github.com/ContentChef/contentchef-management-js-client#readme",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^4.0.5"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "fc9f1beb5f4c080579e15e0ee7c9c4fd8152ea6f"
|
|
38
38
|
}
|
package/dist/.DS_Store
DELETED
|
Binary file
|