@dotcms/types 0.0.1-beta.33 → 0.0.1-beta.34
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/README.md +85 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,29 +1,96 @@
|
|
|
1
|
-
#
|
|
1
|
+
# DotCMS Type Definition Library
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
📦 [@dotcms/types on npm](https://www.npmjs.com/package/@dotcms/types)
|
|
4
|
+
🛠️ [View source on GitHub](https://github.com/dotCMS/core/tree/main/core-web/libs/sdk/types)
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
## Installation
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
```bash
|
|
9
|
+
npm install @dotcms/types@next --save-dev
|
|
10
|
+
```
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
- Maintain consistency across SDK libraries
|
|
11
|
-
- Support the Universal Visual Editor with necessary type definitions
|
|
12
|
-
- Reduce duplication and prevent drift between related interfaces
|
|
12
|
+
## Overview
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
This package contains TypeScript type definitions for the dotCMS ecosystem. Use it to enable type safety and an enhanced developer experience when working with dotCMS APIs and structured content.
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
## Commonly Used Types
|
|
17
17
|
|
|
18
|
-
```
|
|
19
|
-
import {
|
|
18
|
+
```ts
|
|
19
|
+
import {
|
|
20
|
+
DotCMSPageAsset,
|
|
21
|
+
DotCMSPageResponse,
|
|
22
|
+
UVEEventType,
|
|
23
|
+
DotCMSInlineEditingPayload
|
|
24
|
+
} from '@dotcms/types';
|
|
20
25
|
```
|
|
21
26
|
|
|
22
|
-
##
|
|
27
|
+
## Type Hierarchy (Jump to Definitions)
|
|
28
|
+
|
|
29
|
+
### Page Types
|
|
30
|
+
|
|
31
|
+
* [DotCMSPageAsset](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L18)
|
|
32
|
+
|
|
33
|
+
* [DotCMSPage](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L515)
|
|
34
|
+
* [DotCMSPageAssetContainer](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L138)
|
|
35
|
+
* [DotCMSSite](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L733)
|
|
36
|
+
* [DotCMSTemplate](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L432)
|
|
37
|
+
* [DotCMSViewAs](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L598)
|
|
38
|
+
* [DotCMSVanityUrl](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L80)
|
|
39
|
+
* [DotCMSURLContentMap](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L41)
|
|
40
|
+
* [DotCMSLayout](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L622)
|
|
41
|
+
* [DotCMSPageContainerContentlets](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L1139)
|
|
42
|
+
* [DotCMSPageResponse](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L1175)
|
|
43
|
+
* [DotCMSComposedPageAsset](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L1189)
|
|
44
|
+
* [DotCMSComposedContent](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L1195)
|
|
45
|
+
* [DotCMSComposedPageResponse](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L1199)
|
|
46
|
+
* [DotCMSClientPageGetResponse](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/page/public.ts#L1208)
|
|
47
|
+
|
|
48
|
+
### Block Editor Types
|
|
49
|
+
|
|
50
|
+
* [BlockEditorContent](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/components/block-editor-renderer/public.ts#L38)
|
|
51
|
+
|
|
52
|
+
* [BlockEditorNode](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/components/block-editor-renderer/public.ts#L18)
|
|
53
|
+
* [BlockEditorMark](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/components/block-editor-renderer/public.ts#L7)
|
|
54
|
+
|
|
55
|
+
### Editor & UVE Types
|
|
56
|
+
|
|
57
|
+
* [UVEState](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L30)
|
|
58
|
+
|
|
59
|
+
* [UVE\_MODE](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L55)
|
|
60
|
+
* [UVEEventHandler](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L67)
|
|
61
|
+
* [UVEEventSubscriber](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L90)
|
|
62
|
+
|
|
63
|
+
* [UVEEventSubscription](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L81)
|
|
64
|
+
* [UVEUnsubscribeFunction](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L73)
|
|
65
|
+
* [UVEEventType](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L169)
|
|
66
|
+
|
|
67
|
+
* [UVEEventPayloadMap](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L199)
|
|
68
|
+
* [DotCMSPageRendererMode](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L44)
|
|
69
|
+
* [DotCMSUVEAction](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/editor/public.ts#L98)
|
|
70
|
+
|
|
71
|
+
### Events
|
|
72
|
+
|
|
73
|
+
* [DotCMSInlineEditingPayload](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/events/public.ts#L13)
|
|
74
|
+
|
|
75
|
+
* [DotCMSInlineEditingType](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/events/public.ts#L1)
|
|
76
|
+
|
|
77
|
+
### Client Request Types
|
|
78
|
+
|
|
79
|
+
* [DotCMSPageRequestParams](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/client/public.ts#L35)
|
|
80
|
+
|
|
81
|
+
* [DotCMSGraphQLParams](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/client/public.ts#L7)
|
|
82
|
+
* [RequestOptions](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/client/public.ts#L84)
|
|
83
|
+
* [DotCMSClientConfig](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/client/public.ts#L89)
|
|
84
|
+
* [DotCMSNavigationRequestParams](https://github.com/dotCMS/core/blob/main/core-web/libs/sdk/types/src/lib/client/public.ts#L119)
|
|
85
|
+
|
|
86
|
+
## About
|
|
87
|
+
|
|
88
|
+
This package is maintained as part of the [dotCMS core repository](https://github.com/dotCMS/core).
|
|
23
89
|
|
|
24
|
-
|
|
90
|
+
### Keywords
|
|
25
91
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
92
|
+
* dotcms
|
|
93
|
+
* typescript
|
|
94
|
+
* types
|
|
95
|
+
* cms
|
|
96
|
+
* content-management-system
|