@webiny/mcp 6.0.0 → 6.1.0-beta.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/agents/claude.d.ts +2 -2
- package/agents/claude.js.map +1 -1
- package/agents/cline.d.ts +2 -2
- package/agents/cline.js.map +1 -1
- package/agents/copilot.d.ts +2 -2
- package/agents/copilot.js +1 -1
- package/agents/copilot.js.map +1 -1
- package/agents/cursor.d.ts +2 -2
- package/agents/cursor.js.map +1 -1
- package/agents/instructions.js +1 -1
- package/agents/instructions.js.map +1 -1
- package/agents/kiro.d.ts +15 -0
- package/agents/kiro.js +33 -0
- package/agents/kiro.js.map +1 -0
- package/agents/opencode.d.ts +22 -0
- package/agents/opencode.js +76 -0
- package/agents/opencode.js.map +1 -0
- package/agents/shared.d.ts +5 -5
- package/agents/shared.js +3 -3
- package/agents/shared.js.map +1 -1
- package/agents/windsurf.d.ts +2 -2
- package/agents/windsurf.js.map +1 -1
- package/bin.d.ts +2 -0
- package/bin.js +4 -0
- package/bin.js.map +1 -0
- package/cli/ConfigureMcp.d.ts +7 -14
- package/cli/ConfigureMcp.js +24 -52
- package/cli/ConfigureMcp.js.map +1 -1
- package/cli/McpServer.d.ts +3 -10
- package/cli/McpServer.js +83 -109
- package/cli/McpServer.js.map +1 -1
- package/cli.d.ts +1 -0
- package/cli.js +60 -0
- package/cli.js.map +1 -0
- package/index.d.ts +6 -1
- package/index.js +7 -1
- package/index.js.map +1 -1
- package/package.json +11 -23
- package/skills/admin/admin-architect/SKILL.md +389 -0
- package/skills/admin/ui-extensions/SKILL.md +268 -0
- package/skills/api/api-architect/SKILL.md +189 -0
- package/skills/api/custom-field-type/SKILL.md +263 -0
- package/skills/api/event-handler-pattern/SKILL.md +131 -0
- package/skills/{custom-graphql-api → api/graphql-api}/SKILL.md +3 -3
- package/skills/api/use-case-pattern/SKILL.md +102 -0
- package/skills/cli-extensions/SKILL.md +45 -47
- package/skills/configure-auth0/SKILL.md +4 -4
- package/skills/configure-okta/SKILL.md +3 -3
- package/skills/content-models/SKILL.md +197 -196
- package/skills/dependency-injection/SKILL.md +9 -219
- package/skills/full-stack-architect/SKILL.md +195 -0
- package/skills/generated/admin/SKILL.md +119 -0
- package/skills/generated/admin/aco/SKILL.md +28 -0
- package/skills/generated/admin/build-params/SKILL.md +33 -0
- package/skills/generated/admin/cms/SKILL.md +342 -0
- package/skills/generated/admin/configs/SKILL.md +23 -0
- package/skills/generated/admin/env-config/SKILL.md +30 -0
- package/skills/generated/admin/form/SKILL.md +88 -0
- package/skills/generated/admin/graphql-client/SKILL.md +23 -0
- package/skills/generated/admin/lexical/SKILL.md +105 -0
- package/skills/generated/admin/local-storage/SKILL.md +42 -0
- package/skills/generated/admin/router/SKILL.md +48 -0
- package/skills/generated/admin/security/SKILL.md +63 -0
- package/skills/generated/admin/tenancy/SKILL.md +64 -0
- package/skills/generated/admin/ui/SKILL.md +468 -0
- package/skills/generated/admin/website-builder/SKILL.md +318 -0
- package/skills/generated/api/SKILL.md +40 -0
- package/skills/generated/api/aco/SKILL.md +202 -0
- package/skills/generated/api/build-params/SKILL.md +31 -0
- package/skills/generated/api/cms/SKILL.md +646 -0
- package/skills/generated/api/event-publisher/SKILL.md +31 -0
- package/skills/generated/api/file-manager/SKILL.md +189 -0
- package/skills/generated/api/graphql/SKILL.md +61 -0
- package/skills/generated/api/key-value-store/SKILL.md +31 -0
- package/skills/generated/api/logger/SKILL.md +25 -0
- package/skills/generated/api/opensearch/SKILL.md +39 -0
- package/skills/generated/api/scheduler/SKILL.md +112 -0
- package/skills/generated/api/security/SKILL.md +317 -0
- package/skills/generated/api/system/SKILL.md +34 -0
- package/skills/generated/api/tasks/SKILL.md +31 -0
- package/skills/generated/api/tenancy/SKILL.md +124 -0
- package/skills/generated/api/tenant-manager/SKILL.md +34 -0
- package/skills/generated/api/website-builder/SKILL.md +356 -0
- package/skills/generated/cli/SKILL.md +28 -0
- package/skills/generated/cli/command/SKILL.md +24 -0
- package/skills/generated/extensions/SKILL.md +43 -0
- package/skills/generated/infra/SKILL.md +190 -0
- package/skills/infrastructure-extensions/SKILL.md +3 -2
- package/skills/local-development/SKILL.md +2 -28
- package/skills/project-structure/SKILL.md +78 -56
- package/skills/webiny-sdk/SKILL.md +77 -76
- package/skills/website-builder/SKILL.md +143 -149
- package/ui.d.ts +24 -0
- package/ui.js +31 -0
- package/ui.js.map +1 -0
- package/Extension.d.ts +0 -2
- package/Extension.js +0 -11
- package/Extension.js.map +0 -1
- package/skills/admin-ui-extensions/SKILL.md +0 -267
- package/skills/api-custom-feature/SKILL.md +0 -195
- package/skills/lifecycle-events/SKILL.md +0 -348
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: webiny-admin-cms-catalog
|
|
3
|
+
context: webiny-api
|
|
4
|
+
description: >
|
|
5
|
+
admin/cms — 62 abstractions.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# admin/cms
|
|
9
|
+
|
|
10
|
+
## How to Use
|
|
11
|
+
|
|
12
|
+
1. Find the abstraction you need below
|
|
13
|
+
2. Read the source file to get the exact interface and types
|
|
14
|
+
3. Import: `import { Name } from "<importPath>";`
|
|
15
|
+
|
|
16
|
+
## Abstractions
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
**Name:** `CmsContentEntry`
|
|
20
|
+
**Kind:** type
|
|
21
|
+
**Import:** `import type { CmsContentEntry } from "webiny/admin/cms"`
|
|
22
|
+
**Source:** `@webiny/app-headless-cms-common/types/index.ts`
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
**Name:** `CmsContentFormRenderer`
|
|
26
|
+
**Import:** `import { CmsContentFormRenderer } from "webiny/admin/cms"`
|
|
27
|
+
**Source:** `@webiny/app-headless-cms/legacyPluginAdapters/CmsContentFormRenderer.tsx`
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
**Name:** `CmsIdentity`
|
|
31
|
+
**Kind:** type
|
|
32
|
+
**Import:** `import type { CmsIdentity } from "webiny/admin/cms"`
|
|
33
|
+
**Source:** `@webiny/app-headless-cms-common/types/index.ts`
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
**Name:** `CmsModel`
|
|
37
|
+
**Kind:** type
|
|
38
|
+
**Import:** `import type { CmsModel } from "webiny/admin/cms"`
|
|
39
|
+
**Source:** `@webiny/app-headless-cms-common/types/index.ts`
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
**Name:** `CmsModelField`
|
|
43
|
+
**Kind:** type
|
|
44
|
+
**Import:** `import type { CmsModelField } from "webiny/admin/cms"`
|
|
45
|
+
**Source:** `@webiny/app-headless-cms-common/types/index.ts`
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
**Name:** `CmsModelFieldRenderer`
|
|
49
|
+
**Import:** `import { CmsModelFieldRenderer } from "webiny/admin/cms"`
|
|
50
|
+
**Source:** `@webiny/app-headless-cms/legacyPluginAdapters/CmsModelFieldRenderer.tsx`
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
**Name:** `CmsModelFieldType`
|
|
54
|
+
**Import:** `import { CmsModelFieldType } from "webiny/admin/cms"`
|
|
55
|
+
**Source:** `@webiny/app-headless-cms/legacyPluginAdapters/CmsModelFieldType.tsx`
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
**Name:** `CmsModelFieldValidator`
|
|
59
|
+
**Import:** `import { CmsModelFieldValidator } from "webiny/admin/cms"`
|
|
60
|
+
**Source:** `@webiny/app-headless-cms/legacyPluginAdapters/CmsModelFieldValidator.tsx`
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
**Name:** `CmsModelLayoutField`
|
|
64
|
+
**Kind:** type
|
|
65
|
+
**Import:** `import type { CmsModelLayoutField } from "webiny/admin/cms"`
|
|
66
|
+
**Source:** `@webiny/app-headless-cms-common/types/index.ts`
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
**Name:** `CmsModelLayoutFieldRenderer`
|
|
70
|
+
**Import:** `import { CmsModelLayoutFieldRenderer } from "webiny/admin/cms"`
|
|
71
|
+
**Source:** `@webiny/app-headless-cms/legacyPluginAdapters/CmsModelLayoutFieldRenderer.tsx`
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
**Name:** `CmsModelLayoutFieldType`
|
|
75
|
+
**Import:** `import { CmsModelLayoutFieldType } from "webiny/admin/cms"`
|
|
76
|
+
**Source:** `@webiny/app-headless-cms/legacyPluginAdapters/CmsModelLayoutFieldType.tsx`
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
**Name:** `ContentEntry`
|
|
80
|
+
**Import:** `import { ContentEntry } from "webiny/admin/cms/entry/editor"`
|
|
81
|
+
**Source:** `@webiny/app-headless-cms/admin/views/contentEntries/ContentEntry.tsx`
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
**Name:** `ContentEntryEditorConfig`
|
|
85
|
+
**Import:** `import { ContentEntryEditorConfig } from "webiny/admin/cms/entry/editor"`
|
|
86
|
+
**Source:** `@webiny/app-headless-cms/admin/config/contentEntries/index.ts`
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
**Name:** `ContentEntryForm`
|
|
90
|
+
**Import:** `import { ContentEntryForm } from "webiny/admin/cms/entry/editor"`
|
|
91
|
+
**Source:** `@webiny/app-headless-cms/admin/components/ContentEntryForm/ContentEntryForm.tsx`
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
**Name:** `ContentEntryFormMeta`
|
|
95
|
+
**Import:** `import { ContentEntryFormMeta } from "webiny/admin/cms/entry/editor"`
|
|
96
|
+
**Source:** `@webiny/app-headless-cms/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntryHeaderLeft.tsx`
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
**Name:** `ContentEntryFormPreview`
|
|
100
|
+
**Import:** `import { ContentEntryFormPreview } from "webiny/admin/cms/entry/editor"`
|
|
101
|
+
**Source:** `@webiny/app-headless-cms/admin/components/ContentEntryForm/ContentEntryFormPreview.tsx`
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
**Name:** `ContentEntryFormTitle`
|
|
105
|
+
**Import:** `import { ContentEntryFormTitle } from "webiny/admin/cms/entry/editor"`
|
|
106
|
+
**Source:** `@webiny/app-headless-cms/admin/views/contentEntries/ContentEntry/FullScreenContentEntry/FullScreenContentEntryHeaderLeft.tsx`
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
**Name:** `ContentEntryListConfig`
|
|
110
|
+
**Import:** `import { ContentEntryListConfig } from "webiny/admin/cms/entry/list"`
|
|
111
|
+
**Source:** `@webiny/app-headless-cms/admin/config/contentEntries/index.ts`
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
**Name:** `DefaultLayout`
|
|
115
|
+
**Import:** `import { DefaultLayout } from "webiny/admin/cms/entry/editor"`
|
|
116
|
+
**Source:** `@webiny/app-headless-cms/admin/components/ContentEntryForm/DefaultLayout.tsx`
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
**Name:** `Divider`
|
|
120
|
+
**Import:** `import { Divider } from "webiny/admin/cms/lexical"`
|
|
121
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
**Name:** `DropDown`
|
|
125
|
+
**Import:** `import { DropDown } from "webiny/admin/cms/lexical"`
|
|
126
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
**Name:** `DropDownItem`
|
|
130
|
+
**Import:** `import { DropDownItem } from "webiny/admin/cms/lexical"`
|
|
131
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
**Name:** `DynamicZoneContainer`
|
|
135
|
+
**Import:** `import { DynamicZoneContainer } from "webiny/admin/cms/field-renderers/dynamic-zone"`
|
|
136
|
+
**Source:** `@webiny/app-headless-cms/admin/plugins/fieldRenderers/dynamicZone/index.tsx`
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
**Name:** `getNodeFromSelection`
|
|
140
|
+
**Import:** `import { getNodeFromSelection } from "webiny/admin/cms/lexical"`
|
|
141
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
**Name:** `Header`
|
|
145
|
+
**Import:** `import { Header } from "webiny/admin/cms/entry/editor"`
|
|
146
|
+
**Source:** `@webiny/app-headless-cms/admin/components/ContentEntryForm/Header/index.tsx`
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
**Name:** `IsModelPublishable`
|
|
150
|
+
**Import:** `import { IsModelPublishable } from "webiny/admin/cms"`
|
|
151
|
+
**Source:** `@webiny/app-headless-cms/admin/components/IsModelPublishable.tsx`
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
**Name:** `Klass`
|
|
155
|
+
**Kind:** type
|
|
156
|
+
**Import:** `import type { Klass } from "webiny/admin/cms/lexical"`
|
|
157
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
**Name:** `LexicalEditorConfig`
|
|
161
|
+
**Import:** `import { LexicalEditorConfig } from "webiny/admin/cms/lexical"`
|
|
162
|
+
**Source:** `@webiny/app-headless-cms/admin/lexicalConfig/LexicalEditorConfig.tsx`
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
**Name:** `LexicalHtmlRenderer`
|
|
166
|
+
**Import:** `import { LexicalHtmlRenderer } from "webiny/admin/cms/lexical"`
|
|
167
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
**Name:** `LexicalNode`
|
|
171
|
+
**Kind:** type
|
|
172
|
+
**Import:** `import type { LexicalNode } from "webiny/admin/cms/lexical"`
|
|
173
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
**Name:** `MultiValueContainer`
|
|
177
|
+
**Import:** `import { MultiValueContainer } from "webiny/admin/cms/field-renderers/dynamic-zone"`
|
|
178
|
+
**Source:** `@webiny/app-headless-cms/admin/plugins/fieldRenderers/dynamicZone/index.tsx`
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
**Name:** `MultiValueItem`
|
|
182
|
+
**Import:** `import { MultiValueItem } from "webiny/admin/cms/field-renderers/dynamic-zone"`
|
|
183
|
+
**Source:** `@webiny/app-headless-cms/admin/plugins/fieldRenderers/dynamicZone/index.tsx`
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
**Name:** `MultiValueItemContainer`
|
|
187
|
+
**Import:** `import { MultiValueItemContainer } from "webiny/admin/cms/field-renderers/dynamic-zone"`
|
|
188
|
+
**Source:** `@webiny/app-headless-cms/admin/plugins/fieldRenderers/dynamicZone/index.tsx`
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
**Name:** `MultiValueItemContainer`
|
|
192
|
+
**Import:** `import { MultiValueItemContainer } from "webiny/admin/cms/field-renderers/object"`
|
|
193
|
+
**Source:** `@webiny/app-headless-cms/admin/plugins/fieldRenderers/object/MultiValueItemContainer.tsx`
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
**Name:** `PermissionsEditor`
|
|
197
|
+
**Import:** `import { PermissionsEditor } from "webiny/admin/cms/model"`
|
|
198
|
+
**Source:** `@webiny/app-headless-cms/admin/components/FieldEditor/EditFieldDialog/PermissionsEditor/PermissionsEditor.tsx`
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
**Name:** `Routes`
|
|
202
|
+
**Import:** `import { Routes } from "webiny/admin/cms"`
|
|
203
|
+
**Source:** `@webiny/app-headless-cms/routes.ts`
|
|
204
|
+
|
|
205
|
+
---
|
|
206
|
+
**Name:** `RulesEditor`
|
|
207
|
+
**Import:** `import { RulesEditor } from "webiny/admin/cms/model"`
|
|
208
|
+
**Source:** `@webiny/app-headless-cms/admin/components/FieldEditor/EditFieldDialog/RulesEditor/index.ts`
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
**Name:** `SingletonContentEntry`
|
|
212
|
+
**Import:** `import { SingletonContentEntry } from "webiny/admin/cms/entry/editor"`
|
|
213
|
+
**Source:** `@webiny/app-headless-cms/admin/views/contentEntries/ContentEntry/SingletonContentEntry.tsx`
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
**Name:** `SingleValueItemContainer`
|
|
217
|
+
**Import:** `import { SingleValueItemContainer } from "webiny/admin/cms/field-renderers/dynamic-zone"`
|
|
218
|
+
**Source:** `@webiny/app-headless-cms/admin/plugins/fieldRenderers/dynamicZone/SingleValueDynamicZone.tsx`
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
**Name:** `TemplateGallery`
|
|
222
|
+
**Import:** `import { TemplateGallery } from "webiny/admin/cms/field-renderers/dynamic-zone"`
|
|
223
|
+
**Source:** `@webiny/app-headless-cms/admin/plugins/fieldRenderers/dynamicZone/index.tsx`
|
|
224
|
+
**Description:** We're wrapping each component with `withShouldRender`, because they're all decoratable, and `withShouldRender` attaches a
|
|
225
|
+
conditional decorator, which optionally takes a `modelIds` prop, so you can control on which models that component will be decorated.
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
**Name:** `useCms`
|
|
229
|
+
**Import:** `import { useCms } from "webiny/admin/cms"`
|
|
230
|
+
**Source:** `@webiny/app-headless-cms/admin/hooks/useCms.ts`
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
**Name:** `useContentEntriesList`
|
|
234
|
+
**Import:** `import { useContentEntriesList } from "webiny/admin/cms/entry/list"`
|
|
235
|
+
**Source:** `@webiny/app-headless-cms/admin/hooks/index.ts`
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
**Name:** `useContentEntry`
|
|
239
|
+
**Import:** `import { useContentEntry } from "webiny/admin/cms/entry/editor"`
|
|
240
|
+
**Source:** `@webiny/app-headless-cms/admin/views/contentEntries/hooks/index.ts`
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
**Name:** `useContentEntryForm`
|
|
244
|
+
**Import:** `import { useContentEntryForm } from "webiny/admin/cms/entry/editor"`
|
|
245
|
+
**Source:** `@webiny/app-headless-cms/admin/components/ContentEntryForm/useContentEntryForm.ts`
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
**Name:** `useCurrentElement`
|
|
249
|
+
**Import:** `import { useCurrentElement } from "webiny/admin/cms/lexical"`
|
|
250
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
**Name:** `useCurrentSelection`
|
|
254
|
+
**Import:** `import { useCurrentSelection } from "webiny/admin/cms/lexical"`
|
|
255
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
256
|
+
|
|
257
|
+
---
|
|
258
|
+
**Name:** `useDeriveValueFromSelection`
|
|
259
|
+
**Import:** `import { useDeriveValueFromSelection } from "webiny/admin/cms/lexical"`
|
|
260
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
**Name:** `useFieldAccessControlRules`
|
|
264
|
+
**Import:** `import { useFieldAccessControlRules } from "webiny/admin/cms/model"`
|
|
265
|
+
**Source:** `@webiny/app-headless-cms-common/Fields/index.ts`
|
|
266
|
+
**Description:** Hook that evaluates access control rules for the current identity.
|
|
267
|
+
Does not require `bindParentName` — only identity-based permissions.
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
**Name:** `useFieldEffectiveRules`
|
|
271
|
+
**Import:** `import { useFieldEffectiveRules } from "webiny/admin/cms/model"`
|
|
272
|
+
**Source:** `@webiny/app-headless-cms-common/Fields/index.ts`
|
|
273
|
+
**Description:** Composes useParentRules and useFieldRules into a single hook
|
|
274
|
+
that returns the effective (intersected) rules.
|
|
275
|
+
|
|
276
|
+
---
|
|
277
|
+
**Name:** `useFontColorPicker`
|
|
278
|
+
**Import:** `import { useFontColorPicker } from "webiny/admin/cms/lexical"`
|
|
279
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
**Name:** `useIsMounted`
|
|
283
|
+
**Import:** `import { useIsMounted } from "webiny/admin/cms/lexical"`
|
|
284
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
285
|
+
|
|
286
|
+
---
|
|
287
|
+
**Name:** `useLazyQuery`
|
|
288
|
+
**Import:** `import { useLazyQuery } from "webiny/admin/cms"`
|
|
289
|
+
**Source:** `@webiny/app-headless-cms/admin/hooks/useLazyQuery.ts`
|
|
290
|
+
|
|
291
|
+
---
|
|
292
|
+
**Name:** `useLexicalEditorConfig`
|
|
293
|
+
**Import:** `import { useLexicalEditorConfig } from "webiny/admin/cms/lexical"`
|
|
294
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
295
|
+
|
|
296
|
+
---
|
|
297
|
+
**Name:** `useModel`
|
|
298
|
+
**Import:** `import { useModel } from "webiny/admin/cms"`
|
|
299
|
+
**Source:** `@webiny/app-headless-cms/admin/components/ModelProvider/index.ts`
|
|
300
|
+
**Description:** Get model from the current context.
|
|
301
|
+
|
|
302
|
+
---
|
|
303
|
+
**Name:** `useMutation`
|
|
304
|
+
**Import:** `import { useMutation } from "webiny/admin/cms"`
|
|
305
|
+
**Source:** `@webiny/app-headless-cms/admin/hooks/useMutation.ts`
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
**Name:** `usePermission`
|
|
309
|
+
**Import:** `import { usePermission } from "webiny/admin/cms"`
|
|
310
|
+
**Source:** `@webiny/app-headless-cms/admin/hooks/usePermission.ts`
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
**Name:** `useQuery`
|
|
314
|
+
**Import:** `import { useQuery } from "webiny/admin/cms"`
|
|
315
|
+
**Source:** `@webiny/app-headless-cms/admin/hooks/useQuery.ts`
|
|
316
|
+
|
|
317
|
+
---
|
|
318
|
+
**Name:** `useRichTextEditor`
|
|
319
|
+
**Import:** `import { useRichTextEditor } from "webiny/admin/cms/lexical"`
|
|
320
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
**Name:** `useSingletonContentEntry`
|
|
324
|
+
**Import:** `import { useSingletonContentEntry } from "webiny/admin/cms/entry/editor"`
|
|
325
|
+
**Source:** `@webiny/app-headless-cms/admin/views/contentEntries/hooks/useSingletonContentEntry.ts`
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
**Name:** `useTemplate`
|
|
329
|
+
**Import:** `import { useTemplate } from "webiny/admin/cms/field-renderers/dynamic-zone"`
|
|
330
|
+
**Source:** `@webiny/app-headless-cms/admin/plugins/fieldRenderers/dynamicZone/index.tsx`
|
|
331
|
+
|
|
332
|
+
---
|
|
333
|
+
**Name:** `useTextAlignmentAction`
|
|
334
|
+
**Import:** `import { useTextAlignmentAction } from "webiny/admin/cms/lexical"`
|
|
335
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
336
|
+
|
|
337
|
+
---
|
|
338
|
+
**Name:** `useTypographyAction`
|
|
339
|
+
**Import:** `import { useTypographyAction } from "webiny/admin/cms/lexical"`
|
|
340
|
+
**Source:** `@webiny/lexical-editor/exports/admin/lexical.ts`
|
|
341
|
+
|
|
342
|
+
---
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: webiny-admin-configs-catalog
|
|
3
|
+
context: webiny-api
|
|
4
|
+
description: >
|
|
5
|
+
admin/configs — 1 abstractions.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# admin/configs
|
|
9
|
+
|
|
10
|
+
## How to Use
|
|
11
|
+
|
|
12
|
+
1. Find the abstraction you need below
|
|
13
|
+
2. Read the source file to get the exact interface and types
|
|
14
|
+
3. Import: `import { Name } from "<importPath>";`
|
|
15
|
+
|
|
16
|
+
## Abstractions
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
**Name:** `AdminConfig`
|
|
20
|
+
**Import:** `import { AdminConfig } from "webiny/admin/configs"`
|
|
21
|
+
**Source:** `@webiny/app-admin/config/AdminConfig.tsx`
|
|
22
|
+
|
|
23
|
+
---
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: webiny-admin-env-config-catalog
|
|
3
|
+
context: webiny-api
|
|
4
|
+
description: >
|
|
5
|
+
admin/env-config — 2 abstractions.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# admin/env-config
|
|
9
|
+
|
|
10
|
+
## How to Use
|
|
11
|
+
|
|
12
|
+
1. Find the abstraction you need below
|
|
13
|
+
2. Read the source file to get the exact interface and types
|
|
14
|
+
3. Import: `import { Name } from "<importPath>";`
|
|
15
|
+
|
|
16
|
+
## Abstractions
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
**Name:** `EnvConfig`
|
|
20
|
+
**Import:** `import { EnvConfig } from "webiny/admin/env-config"`
|
|
21
|
+
**Source:** `@webiny/app/features/envConfig/index.ts`
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
**Name:** `useEnvConfig`
|
|
25
|
+
**Import:** `import { useEnvConfig } from "webiny/admin/env-config"`
|
|
26
|
+
**Source:** `@webiny/app/presentation/envConfig/useEnvConfig.ts`
|
|
27
|
+
**Description:** Returns the EnvConfig instance from DI.
|
|
28
|
+
Useful when you want to access EnvConfig inside components and hooks.
|
|
29
|
+
|
|
30
|
+
---
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: webiny-admin-form-catalog
|
|
3
|
+
context: webiny-api
|
|
4
|
+
description: >
|
|
5
|
+
admin/form — 13 abstractions.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# admin/form
|
|
9
|
+
|
|
10
|
+
## How to Use
|
|
11
|
+
|
|
12
|
+
1. Find the abstraction you need below
|
|
13
|
+
2. Read the source file to get the exact interface and types
|
|
14
|
+
3. Import: `import { Name } from "<importPath>";`
|
|
15
|
+
|
|
16
|
+
## Abstractions
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
**Name:** `Bind`
|
|
20
|
+
**Import:** `import { Bind } from "webiny/admin/form"`
|
|
21
|
+
**Source:** `@webiny/form/index.ts`
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
**Name:** `Form`
|
|
25
|
+
**Import:** `import { Form } from "webiny/admin/form"`
|
|
26
|
+
**Source:** `@webiny/form/index.ts`
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
**Name:** `FormAPI`
|
|
30
|
+
**Kind:** type
|
|
31
|
+
**Import:** `import type { FormAPI } from "webiny/admin/form"`
|
|
32
|
+
**Source:** `@webiny/form/index.ts`
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
**Name:** `FormOnSubmit`
|
|
36
|
+
**Kind:** type
|
|
37
|
+
**Import:** `import type { FormOnSubmit } from "webiny/admin/form"`
|
|
38
|
+
**Source:** `@webiny/form/index.ts`
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
**Name:** `GenericFormData`
|
|
42
|
+
**Kind:** type
|
|
43
|
+
**Import:** `import type { GenericFormData } from "webiny/admin/form"`
|
|
44
|
+
**Source:** `@webiny/form/index.ts`
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
**Name:** `UnsetOnUnmount`
|
|
48
|
+
**Import:** `import { UnsetOnUnmount } from "webiny/admin/form"`
|
|
49
|
+
**Source:** `@webiny/form/index.ts`
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
**Name:** `useBind`
|
|
53
|
+
**Import:** `import { useBind } from "webiny/admin/form"`
|
|
54
|
+
**Source:** `@webiny/form/index.ts`
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
**Name:** `useBindPrefix`
|
|
58
|
+
**Import:** `import { useBindPrefix } from "webiny/admin/form"`
|
|
59
|
+
**Source:** `@webiny/form/index.ts`
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
**Name:** `useForm`
|
|
63
|
+
**Import:** `import { useForm } from "webiny/admin/form"`
|
|
64
|
+
**Source:** `@webiny/form/index.ts`
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
**Name:** `useGenerateSlug`
|
|
68
|
+
**Import:** `import { useGenerateSlug } from "webiny/admin/form"`
|
|
69
|
+
**Source:** `@webiny/form/index.ts`
|
|
70
|
+
**Description:** This hook is designed to be used with the `useForm` hook.
|
|
71
|
+
When `generateSlug` is called, it will generate a slug using the `from` form field, and set it into the `to` form field.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
**Name:** `validation`
|
|
75
|
+
**Import:** `import { validation } from "webiny/admin/form"`
|
|
76
|
+
**Source:** `@webiny/validation/index.ts`
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
**Name:** `Validation`
|
|
80
|
+
**Import:** `import { Validation } from "webiny/admin/form"`
|
|
81
|
+
**Source:** `@webiny/validation/index.ts`
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
**Name:** `ValidationError`
|
|
85
|
+
**Import:** `import { ValidationError } from "webiny/admin/form"`
|
|
86
|
+
**Source:** `@webiny/validation/index.ts`
|
|
87
|
+
|
|
88
|
+
---
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: webiny-admin-graphql-client-catalog
|
|
3
|
+
context: webiny-api
|
|
4
|
+
description: >
|
|
5
|
+
admin/graphql-client — 1 abstractions.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# admin/graphql-client
|
|
9
|
+
|
|
10
|
+
## How to Use
|
|
11
|
+
|
|
12
|
+
1. Find the abstraction you need below
|
|
13
|
+
2. Read the source file to get the exact interface and types
|
|
14
|
+
3. Import: `import { Name } from "<importPath>";`
|
|
15
|
+
|
|
16
|
+
## Abstractions
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
**Name:** `GraphQLClient`
|
|
20
|
+
**Import:** `import { GraphQLClient } from "webiny/admin/graphql-client"`
|
|
21
|
+
**Source:** `@webiny/app/features/graphqlClient/abstractions.ts`
|
|
22
|
+
|
|
23
|
+
---
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: webiny-admin-lexical-catalog
|
|
3
|
+
context: webiny-api
|
|
4
|
+
description: >
|
|
5
|
+
admin/lexical — 17 abstractions.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# admin/lexical
|
|
9
|
+
|
|
10
|
+
## How to Use
|
|
11
|
+
|
|
12
|
+
1. Find the abstraction you need below
|
|
13
|
+
2. Read the source file to get the exact interface and types
|
|
14
|
+
3. Import: `import { Name } from "<importPath>";`
|
|
15
|
+
|
|
16
|
+
## Abstractions
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
**Name:** `Divider`
|
|
20
|
+
**Import:** `import { Divider } from "webiny/admin/lexical"`
|
|
21
|
+
**Source:** `@webiny/lexical-editor/ui/Divider.tsx`
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
**Name:** `DropDown`
|
|
25
|
+
**Import:** `import { DropDown } from "webiny/admin/lexical"`
|
|
26
|
+
**Source:** `@webiny/lexical-editor/ui/DropDown.tsx`
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
**Name:** `DropDownItem`
|
|
30
|
+
**Import:** `import { DropDownItem } from "webiny/admin/lexical"`
|
|
31
|
+
**Source:** `@webiny/lexical-editor/ui/DropDown.tsx`
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
**Name:** `getNodeFromSelection`
|
|
35
|
+
**Import:** `import { getNodeFromSelection } from "webiny/admin/lexical"`
|
|
36
|
+
**Source:** `@webiny/lexical-editor/hooks/index.ts`
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
**Name:** `Klass`
|
|
40
|
+
**Kind:** type
|
|
41
|
+
**Import:** `import type { Klass } from "webiny/admin/lexical"`
|
|
42
|
+
**Source:** `@webiny/lexical-editor/types.ts`
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
**Name:** `LexicalEditorConfig`
|
|
46
|
+
**Import:** `import { LexicalEditorConfig } from "webiny/admin/lexical"`
|
|
47
|
+
**Source:** `@webiny/lexical-editor/components/LexicalEditorConfig/LexicalEditorConfig.tsx`
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
**Name:** `LexicalHtmlRenderer`
|
|
51
|
+
**Import:** `import { LexicalHtmlRenderer } from "webiny/admin/lexical"`
|
|
52
|
+
**Source:** `@webiny/lexical-editor/components/LexicalHtmlRenderer.tsx`
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
**Name:** `LexicalNode`
|
|
56
|
+
**Kind:** type
|
|
57
|
+
**Import:** `import type { LexicalNode } from "webiny/admin/lexical"`
|
|
58
|
+
**Source:** `@webiny/lexical-editor/types.ts`
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
**Name:** `useCurrentElement`
|
|
62
|
+
**Import:** `import { useCurrentElement } from "webiny/admin/lexical"`
|
|
63
|
+
**Source:** `@webiny/lexical-editor/hooks/index.ts`
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
**Name:** `useCurrentSelection`
|
|
67
|
+
**Import:** `import { useCurrentSelection } from "webiny/admin/lexical"`
|
|
68
|
+
**Source:** `@webiny/lexical-editor/hooks/index.ts`
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
**Name:** `useDeriveValueFromSelection`
|
|
72
|
+
**Import:** `import { useDeriveValueFromSelection } from "webiny/admin/lexical"`
|
|
73
|
+
**Source:** `@webiny/lexical-editor/hooks/index.ts`
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
**Name:** `useFontColorPicker`
|
|
77
|
+
**Import:** `import { useFontColorPicker } from "webiny/admin/lexical"`
|
|
78
|
+
**Source:** `@webiny/lexical-editor/hooks/index.ts`
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
**Name:** `useIsMounted`
|
|
82
|
+
**Import:** `import { useIsMounted } from "webiny/admin/lexical"`
|
|
83
|
+
**Source:** `@webiny/lexical-editor/hooks/index.ts`
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
**Name:** `useLexicalEditorConfig`
|
|
87
|
+
**Import:** `import { useLexicalEditorConfig } from "webiny/admin/lexical"`
|
|
88
|
+
**Source:** `@webiny/lexical-editor/components/LexicalEditorConfig/LexicalEditorConfig.tsx`
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
**Name:** `useRichTextEditor`
|
|
92
|
+
**Import:** `import { useRichTextEditor } from "webiny/admin/lexical"`
|
|
93
|
+
**Source:** `@webiny/lexical-editor/hooks/index.ts`
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
**Name:** `useTextAlignmentAction`
|
|
97
|
+
**Import:** `import { useTextAlignmentAction } from "webiny/admin/lexical"`
|
|
98
|
+
**Source:** `@webiny/lexical-editor/hooks/index.ts`
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
**Name:** `useTypographyAction`
|
|
102
|
+
**Import:** `import { useTypographyAction } from "webiny/admin/lexical"`
|
|
103
|
+
**Source:** `@webiny/lexical-editor/hooks/index.ts`
|
|
104
|
+
|
|
105
|
+
---
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: webiny-admin-local-storage-catalog
|
|
3
|
+
context: webiny-api
|
|
4
|
+
description: >
|
|
5
|
+
admin/local-storage — 4 abstractions.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# admin/local-storage
|
|
9
|
+
|
|
10
|
+
## How to Use
|
|
11
|
+
|
|
12
|
+
1. Find the abstraction you need below
|
|
13
|
+
2. Read the source file to get the exact interface and types
|
|
14
|
+
3. Import: `import { Name } from "<importPath>";`
|
|
15
|
+
|
|
16
|
+
## Abstractions
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
**Name:** `LocalStorage`
|
|
20
|
+
**Import:** `import { LocalStorage } from "webiny/admin/local-storage"`
|
|
21
|
+
**Source:** `@webiny/app/features/localStorage/abstractions.ts`
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
**Name:** `useLocalStorage`
|
|
25
|
+
**Import:** `import { useLocalStorage } from "webiny/admin/local-storage"`
|
|
26
|
+
**Source:** `@webiny/app/presentation/localStorage/index.ts`
|
|
27
|
+
**Description:** Returns the LocalStorage instance from DI.
|
|
28
|
+
Useful when you want to call service methods imperatively inside components.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
**Name:** `useLocalStorageValue`
|
|
32
|
+
**Import:** `import { useLocalStorageValue } from "webiny/admin/local-storage"`
|
|
33
|
+
**Source:** `@webiny/app/presentation/localStorage/index.ts`
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
**Name:** `useLocalStorageValues`
|
|
37
|
+
**Import:** `import { useLocalStorageValues } from "webiny/admin/local-storage"`
|
|
38
|
+
**Source:** `@webiny/app/presentation/localStorage/index.ts`
|
|
39
|
+
**Description:** Observes multiple keys in LocalStorage and returns an object of { key: value }.
|
|
40
|
+
Re-renders when any of the observed keys change.
|
|
41
|
+
|
|
42
|
+
---
|