@dyrected/knowledge 0.2.0
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/LICENSE.md +50 -0
- package/README.md +17 -0
- package/dist/index.d.ts +78 -0
- package/dist/index.js +2776 -0
- package/generated/SKILL.md +276 -0
- package/generated/ai-rules.md +152 -0
- package/generated/endpoints.json +891 -0
- package/generated/examples-inventory.json +3558 -0
- package/generated/intent-index.json +46 -0
- package/generated/llms-index.json +812 -0
- package/generated/openapi.json +1643 -0
- package/generated/recipes.json +224 -0
- package/generated/references.json +1573 -0
- package/package.json +56 -0
|
@@ -0,0 +1,812 @@
|
|
|
1
|
+
{
|
|
2
|
+
"generatedBy": "@dyrected/knowledge",
|
|
3
|
+
"recipes": [
|
|
4
|
+
{
|
|
5
|
+
"id": "auto-slug",
|
|
6
|
+
"title": "Generate a slug from a title",
|
|
7
|
+
"description": "Generate stable URL slugs on the server while showing editors the value live in the Admin UI.",
|
|
8
|
+
"docsPath": "/docs/recipes/auto-slug",
|
|
9
|
+
"intents": [
|
|
10
|
+
"make the URL follow the title",
|
|
11
|
+
"automatically generate a slug",
|
|
12
|
+
"create friendly URLs from titles",
|
|
13
|
+
"keep a slug synchronized with a title"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "conditional-admin-field",
|
|
18
|
+
"title": "Show an Admin field only when it is relevant",
|
|
19
|
+
"description": "Use a serializable Admin condition to reveal a field from the editor's current form values.",
|
|
20
|
+
"docsPath": "/docs/recipes/conditional-admin-field",
|
|
21
|
+
"intents": [
|
|
22
|
+
"show a field conditionally",
|
|
23
|
+
"hide irrelevant form fields",
|
|
24
|
+
"show discount only with a coupon",
|
|
25
|
+
"make the admin form react to another field"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "cross-field-validation",
|
|
30
|
+
"title": "Validate related fields before saving",
|
|
31
|
+
"description": "Reject invalid combinations of field values before they reach the database.",
|
|
32
|
+
"docsPath": "/docs/recipes/cross-field-validation",
|
|
33
|
+
"intents": [
|
|
34
|
+
"validate fields before saving",
|
|
35
|
+
"make sure an end date is after the start date",
|
|
36
|
+
"reject invalid form submissions",
|
|
37
|
+
"validate multiple fields together"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "dependent-dropdown",
|
|
42
|
+
"title": "Update a dropdown from another field",
|
|
43
|
+
"description": "Change available Admin UI options immediately when an editor changes a related field.",
|
|
44
|
+
"docsPath": "/docs/recipes/dependent-dropdown",
|
|
45
|
+
"intents": [
|
|
46
|
+
"make one dropdown depend on another",
|
|
47
|
+
"show states based on the selected country",
|
|
48
|
+
"create a cascading dropdown",
|
|
49
|
+
"update select options while editing"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "editorial-publishing-workflow",
|
|
54
|
+
"title": "Add draft, review, and publishing states",
|
|
55
|
+
"description": "Attach Dyrected's standard editorial workflow and its capability-aware transitions to a collection.",
|
|
56
|
+
"docsPath": "/docs/recipes/editorial-publishing-workflow",
|
|
57
|
+
"intents": [
|
|
58
|
+
"add draft and publish states",
|
|
59
|
+
"require review before publishing",
|
|
60
|
+
"create an editorial workflow",
|
|
61
|
+
"let editors submit content for approval"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "owner-scoped-access",
|
|
66
|
+
"title": "Limit documents to their owner",
|
|
67
|
+
"description": "Return a where constraint from access control so authenticated users only read their own records.",
|
|
68
|
+
"docsPath": "/docs/recipes/owner-scoped-access",
|
|
69
|
+
"intents": [
|
|
70
|
+
"users should only see their own records",
|
|
71
|
+
"add row level access",
|
|
72
|
+
"scope documents by owner",
|
|
73
|
+
"prevent users reading another user's data"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "page-builder-blocks",
|
|
78
|
+
"title": "Build flexible pages from reusable blocks",
|
|
79
|
+
"description": "Define labeled hero, rich-text, and call-to-action blocks for an editor-controlled page layout.",
|
|
80
|
+
"docsPath": "/docs/recipes/page-builder-blocks",
|
|
81
|
+
"intents": [
|
|
82
|
+
"build a page builder",
|
|
83
|
+
"let editors arrange page sections",
|
|
84
|
+
"create reusable content blocks",
|
|
85
|
+
"model flexible landing pages"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "relationship-and-reverse-join",
|
|
90
|
+
"title": "Model a relationship and its reverse lookup",
|
|
91
|
+
"description": "Store an author relationship on posts and expose the author's posts through a virtual join field.",
|
|
92
|
+
"docsPath": "/docs/recipes/relationship-and-reverse-join",
|
|
93
|
+
"intents": [
|
|
94
|
+
"connect posts to authors",
|
|
95
|
+
"show every post written by a user",
|
|
96
|
+
"create a reverse relationship",
|
|
97
|
+
"model one-to-many content"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "role-based-access",
|
|
102
|
+
"title": "Restrict content operations by user role",
|
|
103
|
+
"description": "Allow public reads, editor writes, and administrator deletion with collection access rules.",
|
|
104
|
+
"docsPath": "/docs/recipes/role-based-access",
|
|
105
|
+
"intents": [
|
|
106
|
+
"only editors can update content",
|
|
107
|
+
"restrict deletion to admins",
|
|
108
|
+
"make content publicly readable",
|
|
109
|
+
"add role based access"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "safe-field-rename",
|
|
114
|
+
"title": "Rename a field without orphaning existing data",
|
|
115
|
+
"description": "Use renameTo and a safe default while documents migrate lazily to a new field name.",
|
|
116
|
+
"docsPath": "/docs/recipes/safe-field-rename",
|
|
117
|
+
"intents": [
|
|
118
|
+
"rename a field safely",
|
|
119
|
+
"change a field name without losing data",
|
|
120
|
+
"migrate an existing schema",
|
|
121
|
+
"keep old documents working after a rename"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "upload-collection",
|
|
126
|
+
"title": "Create a media upload collection",
|
|
127
|
+
"description": "Enable file uploads and capture accessible metadata in a dedicated media collection.",
|
|
128
|
+
"docsPath": "/docs/recipes/upload-collection",
|
|
129
|
+
"intents": [
|
|
130
|
+
"let editors upload images",
|
|
131
|
+
"create a media library",
|
|
132
|
+
"store uploaded files",
|
|
133
|
+
"add image uploads to my project"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"references": [
|
|
138
|
+
{
|
|
139
|
+
"id": "@dyrected/core:AdminConfig",
|
|
140
|
+
"name": "AdminConfig",
|
|
141
|
+
"category": "configuration",
|
|
142
|
+
"sourcePackage": "@dyrected/core"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "@dyrected/core:AuthDocFields",
|
|
146
|
+
"name": "AuthDocFields",
|
|
147
|
+
"category": "fields",
|
|
148
|
+
"sourcePackage": "@dyrected/core"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "@dyrected/core:AuthenticatedUser",
|
|
152
|
+
"name": "AuthenticatedUser",
|
|
153
|
+
"category": "hooks",
|
|
154
|
+
"sourcePackage": "@dyrected/core"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"id": "@dyrected/core:availableWorkflowTransitions",
|
|
158
|
+
"name": "availableWorkflowTransitions",
|
|
159
|
+
"category": "workflows",
|
|
160
|
+
"sourcePackage": "@dyrected/core"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "@dyrected/core:canViewWorkflowDraft",
|
|
164
|
+
"name": "canViewWorkflowDraft",
|
|
165
|
+
"category": "workflows",
|
|
166
|
+
"sourcePackage": "@dyrected/core"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"id": "@dyrected/core:CollectionAfterChangeHook",
|
|
170
|
+
"name": "CollectionAfterChangeHook",
|
|
171
|
+
"category": "hooks",
|
|
172
|
+
"sourcePackage": "@dyrected/core"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"id": "@dyrected/core:CollectionAfterDeleteHook",
|
|
176
|
+
"name": "CollectionAfterDeleteHook",
|
|
177
|
+
"category": "hooks",
|
|
178
|
+
"sourcePackage": "@dyrected/core"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "@dyrected/core:CollectionAfterReadHook",
|
|
182
|
+
"name": "CollectionAfterReadHook",
|
|
183
|
+
"category": "hooks",
|
|
184
|
+
"sourcePackage": "@dyrected/core"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "@dyrected/core:CollectionAfterTransitionHook",
|
|
188
|
+
"name": "CollectionAfterTransitionHook",
|
|
189
|
+
"category": "hooks",
|
|
190
|
+
"sourcePackage": "@dyrected/core"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "@dyrected/core:CollectionBeforeChangeHook",
|
|
194
|
+
"name": "CollectionBeforeChangeHook",
|
|
195
|
+
"category": "hooks",
|
|
196
|
+
"sourcePackage": "@dyrected/core"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "@dyrected/core:CollectionBeforeDeleteHook",
|
|
200
|
+
"name": "CollectionBeforeDeleteHook",
|
|
201
|
+
"category": "hooks",
|
|
202
|
+
"sourcePackage": "@dyrected/core"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "@dyrected/core:CollectionBeforeReadHook",
|
|
206
|
+
"name": "CollectionBeforeReadHook",
|
|
207
|
+
"category": "hooks",
|
|
208
|
+
"sourcePackage": "@dyrected/core"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "@dyrected/core:CollectionBeforeTransitionHook",
|
|
212
|
+
"name": "CollectionBeforeTransitionHook",
|
|
213
|
+
"category": "hooks",
|
|
214
|
+
"sourcePackage": "@dyrected/core"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "@dyrected/core:CollectionConfig",
|
|
218
|
+
"name": "CollectionConfig",
|
|
219
|
+
"category": "configuration",
|
|
220
|
+
"sourcePackage": "@dyrected/core"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "@dyrected/core:createLifecycleEvent",
|
|
224
|
+
"name": "createLifecycleEvent",
|
|
225
|
+
"category": "workflows",
|
|
226
|
+
"sourcePackage": "@dyrected/core"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"id": "@dyrected/core:createWorkflowDocument",
|
|
230
|
+
"name": "createWorkflowDocument",
|
|
231
|
+
"category": "workflows",
|
|
232
|
+
"sourcePackage": "@dyrected/core"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"id": "@dyrected/core:DatabaseAdapter",
|
|
236
|
+
"name": "DatabaseAdapter",
|
|
237
|
+
"category": "adapters",
|
|
238
|
+
"sourcePackage": "@dyrected/core"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "@dyrected/core:dispatchLifecycleEvent",
|
|
242
|
+
"name": "dispatchLifecycleEvent",
|
|
243
|
+
"category": "workflows",
|
|
244
|
+
"sourcePackage": "@dyrected/core"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"id": "@dyrected/core:dispatchPendingLifecycleEvents",
|
|
248
|
+
"name": "dispatchPendingLifecycleEvents",
|
|
249
|
+
"category": "workflows",
|
|
250
|
+
"sourcePackage": "@dyrected/core"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "@dyrected/core:DyrectedConfig",
|
|
254
|
+
"name": "DyrectedConfig",
|
|
255
|
+
"category": "configuration",
|
|
256
|
+
"sourcePackage": "@dyrected/core"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "@dyrected/core:Field",
|
|
260
|
+
"name": "Field",
|
|
261
|
+
"category": "fields",
|
|
262
|
+
"sourcePackage": "@dyrected/core"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"id": "@dyrected/core:FieldAfterReadHook",
|
|
266
|
+
"name": "FieldAfterReadHook",
|
|
267
|
+
"category": "hooks",
|
|
268
|
+
"sourcePackage": "@dyrected/core"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"id": "@dyrected/core:FieldBeforeChangeHook",
|
|
272
|
+
"name": "FieldBeforeChangeHook",
|
|
273
|
+
"category": "hooks",
|
|
274
|
+
"sourcePackage": "@dyrected/core"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"id": "@dyrected/core:FieldHook",
|
|
278
|
+
"name": "FieldHook",
|
|
279
|
+
"category": "hooks",
|
|
280
|
+
"sourcePackage": "@dyrected/core"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "@dyrected/core:FieldType",
|
|
284
|
+
"name": "FieldType",
|
|
285
|
+
"category": "fields",
|
|
286
|
+
"sourcePackage": "@dyrected/core"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"id": "@dyrected/core:FileData",
|
|
290
|
+
"name": "FileData",
|
|
291
|
+
"category": "adapters",
|
|
292
|
+
"sourcePackage": "@dyrected/core"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "@dyrected/core:GlobalAfterChangeHook",
|
|
296
|
+
"name": "GlobalAfterChangeHook",
|
|
297
|
+
"category": "hooks",
|
|
298
|
+
"sourcePackage": "@dyrected/core"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"id": "@dyrected/core:GlobalAfterReadHook",
|
|
302
|
+
"name": "GlobalAfterReadHook",
|
|
303
|
+
"category": "hooks",
|
|
304
|
+
"sourcePackage": "@dyrected/core"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"id": "@dyrected/core:GlobalBeforeChangeHook",
|
|
308
|
+
"name": "GlobalBeforeChangeHook",
|
|
309
|
+
"category": "hooks",
|
|
310
|
+
"sourcePackage": "@dyrected/core"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"id": "@dyrected/core:GlobalBeforeReadHook",
|
|
314
|
+
"name": "GlobalBeforeReadHook",
|
|
315
|
+
"category": "hooks",
|
|
316
|
+
"sourcePackage": "@dyrected/core"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"id": "@dyrected/core:GlobalConfig",
|
|
320
|
+
"name": "GlobalConfig",
|
|
321
|
+
"category": "configuration",
|
|
322
|
+
"sourcePackage": "@dyrected/core"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"id": "@dyrected/core:HookFunction",
|
|
326
|
+
"name": "HookFunction",
|
|
327
|
+
"category": "hooks",
|
|
328
|
+
"sourcePackage": "@dyrected/core"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"id": "@dyrected/core:HookRequestContext",
|
|
332
|
+
"name": "HookRequestContext",
|
|
333
|
+
"category": "hooks",
|
|
334
|
+
"sourcePackage": "@dyrected/core"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"id": "@dyrected/core:ImageService",
|
|
338
|
+
"name": "ImageService",
|
|
339
|
+
"category": "adapters",
|
|
340
|
+
"sourcePackage": "@dyrected/core"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "@dyrected/core:InferDocShape",
|
|
344
|
+
"name": "InferDocShape",
|
|
345
|
+
"category": "fields",
|
|
346
|
+
"sourcePackage": "@dyrected/core"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"id": "@dyrected/core:initializeWorkflowDocument",
|
|
350
|
+
"name": "initializeWorkflowDocument",
|
|
351
|
+
"category": "workflows",
|
|
352
|
+
"sourcePackage": "@dyrected/core"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"id": "@dyrected/core:LIFECYCLE_EVENTS_COLLECTION",
|
|
356
|
+
"name": "LIFECYCLE_EVENTS_COLLECTION",
|
|
357
|
+
"category": "workflows",
|
|
358
|
+
"sourcePackage": "@dyrected/core"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"id": "@dyrected/core:LifecycleEvent",
|
|
362
|
+
"name": "LifecycleEvent",
|
|
363
|
+
"category": "workflows",
|
|
364
|
+
"sourcePackage": "@dyrected/core"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"id": "@dyrected/core:LifecycleEventHandler",
|
|
368
|
+
"name": "LifecycleEventHandler",
|
|
369
|
+
"category": "workflows",
|
|
370
|
+
"sourcePackage": "@dyrected/core"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"id": "@dyrected/core:LifecycleEventName",
|
|
374
|
+
"name": "LifecycleEventName",
|
|
375
|
+
"category": "workflows",
|
|
376
|
+
"sourcePackage": "@dyrected/core"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"id": "@dyrected/core:materializeWorkflowDocument",
|
|
380
|
+
"name": "materializeWorkflowDocument",
|
|
381
|
+
"category": "workflows",
|
|
382
|
+
"sourcePackage": "@dyrected/core"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"id": "@dyrected/core:PaginatedResult",
|
|
386
|
+
"name": "PaginatedResult",
|
|
387
|
+
"category": "adapters",
|
|
388
|
+
"sourcePackage": "@dyrected/core"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"id": "@dyrected/core:publishingWorkflow",
|
|
392
|
+
"name": "publishingWorkflow",
|
|
393
|
+
"category": "workflows",
|
|
394
|
+
"sourcePackage": "@dyrected/core"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"id": "@dyrected/core:ReadonlyDatabaseAdapter",
|
|
398
|
+
"name": "ReadonlyDatabaseAdapter",
|
|
399
|
+
"category": "adapters",
|
|
400
|
+
"sourcePackage": "@dyrected/core"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"id": "@dyrected/core:saveWorkflowDraft",
|
|
404
|
+
"name": "saveWorkflowDraft",
|
|
405
|
+
"category": "workflows",
|
|
406
|
+
"sourcePackage": "@dyrected/core"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"id": "@dyrected/core:StorageAdapter",
|
|
410
|
+
"name": "StorageAdapter",
|
|
411
|
+
"category": "adapters",
|
|
412
|
+
"sourcePackage": "@dyrected/core"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"id": "@dyrected/core:SystemDocFields",
|
|
416
|
+
"name": "SystemDocFields",
|
|
417
|
+
"category": "fields",
|
|
418
|
+
"sourcePackage": "@dyrected/core"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"id": "@dyrected/core:transitionWorkflow",
|
|
422
|
+
"name": "transitionWorkflow",
|
|
423
|
+
"category": "workflows",
|
|
424
|
+
"sourcePackage": "@dyrected/core"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"id": "@dyrected/core:UploadConfig",
|
|
428
|
+
"name": "UploadConfig",
|
|
429
|
+
"category": "configuration",
|
|
430
|
+
"sourcePackage": "@dyrected/core"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"id": "@dyrected/core:UploadDocFields",
|
|
434
|
+
"name": "UploadDocFields",
|
|
435
|
+
"category": "fields",
|
|
436
|
+
"sourcePackage": "@dyrected/core"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"id": "@dyrected/core:WORKFLOW_HISTORY_COLLECTION",
|
|
440
|
+
"name": "WORKFLOW_HISTORY_COLLECTION",
|
|
441
|
+
"category": "workflows",
|
|
442
|
+
"sourcePackage": "@dyrected/core"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"id": "@dyrected/core:workflowCapabilities",
|
|
446
|
+
"name": "workflowCapabilities",
|
|
447
|
+
"category": "workflows",
|
|
448
|
+
"sourcePackage": "@dyrected/core"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"id": "@dyrected/core:WorkflowConfig",
|
|
452
|
+
"name": "WorkflowConfig",
|
|
453
|
+
"category": "workflows",
|
|
454
|
+
"sourcePackage": "@dyrected/core"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"id": "@dyrected/core:WorkflowMetadata",
|
|
458
|
+
"name": "WorkflowMetadata",
|
|
459
|
+
"category": "workflows",
|
|
460
|
+
"sourcePackage": "@dyrected/core"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"id": "@dyrected/core:WorkflowRole",
|
|
464
|
+
"name": "WorkflowRole",
|
|
465
|
+
"category": "workflows",
|
|
466
|
+
"sourcePackage": "@dyrected/core"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"id": "@dyrected/core:WorkflowState",
|
|
470
|
+
"name": "WorkflowState",
|
|
471
|
+
"category": "workflows",
|
|
472
|
+
"sourcePackage": "@dyrected/core"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"id": "@dyrected/core:WorkflowTransition",
|
|
476
|
+
"name": "WorkflowTransition",
|
|
477
|
+
"category": "workflows",
|
|
478
|
+
"sourcePackage": "@dyrected/core"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"id": "@dyrected/core:WorkflowTransitionContext",
|
|
482
|
+
"name": "WorkflowTransitionContext",
|
|
483
|
+
"category": "workflows",
|
|
484
|
+
"sourcePackage": "@dyrected/core"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"id": "@dyrected/sdk:BaseSchema",
|
|
488
|
+
"name": "BaseSchema",
|
|
489
|
+
"category": "sdk",
|
|
490
|
+
"sourcePackage": "@dyrected/sdk"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"id": "@dyrected/sdk:createClient",
|
|
494
|
+
"name": "createClient",
|
|
495
|
+
"category": "sdk",
|
|
496
|
+
"sourcePackage": "@dyrected/sdk"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"id": "@dyrected/sdk:DyrectedClient",
|
|
500
|
+
"name": "DyrectedClient",
|
|
501
|
+
"category": "sdk",
|
|
502
|
+
"sourcePackage": "@dyrected/sdk"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"id": "@dyrected/sdk:DyrectedClientConfig",
|
|
506
|
+
"name": "DyrectedClientConfig",
|
|
507
|
+
"category": "sdk",
|
|
508
|
+
"sourcePackage": "@dyrected/sdk"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"id": "@dyrected/sdk:DyrectedError",
|
|
512
|
+
"name": "DyrectedError",
|
|
513
|
+
"category": "sdk",
|
|
514
|
+
"sourcePackage": "@dyrected/sdk"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"id": "@dyrected/sdk:InferSchema",
|
|
518
|
+
"name": "InferSchema",
|
|
519
|
+
"category": "sdk",
|
|
520
|
+
"sourcePackage": "@dyrected/sdk"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"id": "@dyrected/sdk:TransitionOptions",
|
|
524
|
+
"name": "TransitionOptions",
|
|
525
|
+
"category": "sdk",
|
|
526
|
+
"sourcePackage": "@dyrected/sdk"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"id": "@dyrected/sdk:WorkflowDocument",
|
|
530
|
+
"name": "WorkflowDocument",
|
|
531
|
+
"category": "sdk",
|
|
532
|
+
"sourcePackage": "@dyrected/sdk"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"id": "@dyrected/sdk:WorkflowHistoryEntry",
|
|
536
|
+
"name": "WorkflowHistoryEntry",
|
|
537
|
+
"category": "sdk",
|
|
538
|
+
"sourcePackage": "@dyrected/sdk"
|
|
539
|
+
}
|
|
540
|
+
],
|
|
541
|
+
"endpoints": [
|
|
542
|
+
{
|
|
543
|
+
"method": "GET",
|
|
544
|
+
"path": "/api/collections/media",
|
|
545
|
+
"summary": "Find Media"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"method": "POST",
|
|
549
|
+
"path": "/api/collections/media",
|
|
550
|
+
"summary": "Create Media item"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"method": "DELETE",
|
|
554
|
+
"path": "/api/collections/media/{id}",
|
|
555
|
+
"summary": "Delete Media item"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"method": "GET",
|
|
559
|
+
"path": "/api/collections/media/{id}",
|
|
560
|
+
"summary": "Get a single Media item"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"method": "PATCH",
|
|
564
|
+
"path": "/api/collections/media/{id}",
|
|
565
|
+
"summary": "Update Media item"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"method": "DELETE",
|
|
569
|
+
"path": "/api/collections/media/delete-many",
|
|
570
|
+
"summary": "Delete multiple Media"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"method": "GET",
|
|
574
|
+
"path": "/api/collections/media/media",
|
|
575
|
+
"summary": "List Media"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"method": "POST",
|
|
579
|
+
"path": "/api/collections/media/media",
|
|
580
|
+
"summary": "Upload Media item"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"method": "GET",
|
|
584
|
+
"path": "/api/collections/media/media/{filename}",
|
|
585
|
+
"summary": "Serve Media item bytes"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"method": "POST",
|
|
589
|
+
"path": "/api/collections/media/seed",
|
|
590
|
+
"summary": "Seed initial Media"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"method": "GET",
|
|
594
|
+
"path": "/api/collections/posts",
|
|
595
|
+
"summary": "Find Posts"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"method": "POST",
|
|
599
|
+
"path": "/api/collections/posts",
|
|
600
|
+
"summary": "Create Post"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"method": "DELETE",
|
|
604
|
+
"path": "/api/collections/posts/{id}",
|
|
605
|
+
"summary": "Delete Post"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"method": "GET",
|
|
609
|
+
"path": "/api/collections/posts/{id}",
|
|
610
|
+
"summary": "Get a single Post"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"method": "PATCH",
|
|
614
|
+
"path": "/api/collections/posts/{id}",
|
|
615
|
+
"summary": "Update Post"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"method": "POST",
|
|
619
|
+
"path": "/api/collections/posts/{id}/transitions/{transition}",
|
|
620
|
+
"summary": "Transition Post workflow"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"method": "GET",
|
|
624
|
+
"path": "/api/collections/posts/{id}/workflow-history",
|
|
625
|
+
"summary": "Get Post workflow history"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"method": "DELETE",
|
|
629
|
+
"path": "/api/collections/posts/delete-many",
|
|
630
|
+
"summary": "Delete multiple Posts"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"method": "POST",
|
|
634
|
+
"path": "/api/collections/posts/seed",
|
|
635
|
+
"summary": "Seed initial Posts"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"method": "GET",
|
|
639
|
+
"path": "/api/collections/users",
|
|
640
|
+
"summary": "Find Users"
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"method": "POST",
|
|
644
|
+
"path": "/api/collections/users",
|
|
645
|
+
"summary": "Create User"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"method": "DELETE",
|
|
649
|
+
"path": "/api/collections/users/{id}",
|
|
650
|
+
"summary": "Delete User"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"method": "GET",
|
|
654
|
+
"path": "/api/collections/users/{id}",
|
|
655
|
+
"summary": "Get a single User"
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
"method": "PATCH",
|
|
659
|
+
"path": "/api/collections/users/{id}",
|
|
660
|
+
"summary": "Update User"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"method": "POST",
|
|
664
|
+
"path": "/api/collections/users/{id}/change-password",
|
|
665
|
+
"summary": "Change a User password"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"method": "POST",
|
|
669
|
+
"path": "/api/collections/users/accept-invite",
|
|
670
|
+
"summary": "Accept an invitation"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"method": "DELETE",
|
|
674
|
+
"path": "/api/collections/users/delete-many",
|
|
675
|
+
"summary": "Delete multiple Users"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"method": "POST",
|
|
679
|
+
"path": "/api/collections/users/first-user",
|
|
680
|
+
"summary": "Register the first User"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"method": "POST",
|
|
684
|
+
"path": "/api/collections/users/forgot-password",
|
|
685
|
+
"summary": "Request a password reset"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"method": "GET",
|
|
689
|
+
"path": "/api/collections/users/init",
|
|
690
|
+
"summary": "Get Users initialization state"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"method": "POST",
|
|
694
|
+
"path": "/api/collections/users/invite",
|
|
695
|
+
"summary": "Invite a User"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"method": "POST",
|
|
699
|
+
"path": "/api/collections/users/login",
|
|
700
|
+
"summary": "Log in to Users"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"method": "POST",
|
|
704
|
+
"path": "/api/collections/users/logout",
|
|
705
|
+
"summary": "Log out of Users"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"method": "GET",
|
|
709
|
+
"path": "/api/collections/users/me",
|
|
710
|
+
"summary": "Get the current User"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"method": "POST",
|
|
714
|
+
"path": "/api/collections/users/refresh-token",
|
|
715
|
+
"summary": "Refresh an authentication token"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"method": "POST",
|
|
719
|
+
"path": "/api/collections/users/reset-password",
|
|
720
|
+
"summary": "Reset a password"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"method": "POST",
|
|
724
|
+
"path": "/api/collections/users/seed",
|
|
725
|
+
"summary": "Seed initial Users"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"method": "GET",
|
|
729
|
+
"path": "/api/docs",
|
|
730
|
+
"summary": "Open interactive API documentation"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"method": "GET",
|
|
734
|
+
"path": "/api/dyrected/options/{collection}/{field}",
|
|
735
|
+
"summary": "Resolve dynamic field options"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"method": "GET",
|
|
739
|
+
"path": "/api/globals/settings",
|
|
740
|
+
"summary": "Get Site settings"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"method": "PATCH",
|
|
744
|
+
"path": "/api/globals/settings",
|
|
745
|
+
"summary": "Update Site settings"
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
"method": "POST",
|
|
749
|
+
"path": "/api/globals/settings/seed",
|
|
750
|
+
"summary": "Seed Site settings"
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"method": "GET",
|
|
754
|
+
"path": "/api/media/{filename}",
|
|
755
|
+
"summary": "Serve a stored file"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"method": "GET",
|
|
759
|
+
"path": "/api/openapi.json",
|
|
760
|
+
"summary": "Get the OpenAPI specification"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"method": "GET",
|
|
764
|
+
"path": "/api/preferences/{key}",
|
|
765
|
+
"summary": "Get an authenticated user preference"
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"method": "PUT",
|
|
769
|
+
"path": "/api/preferences/{key}",
|
|
770
|
+
"summary": "Set an authenticated user preference"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"method": "GET",
|
|
774
|
+
"path": "/api/preview-data",
|
|
775
|
+
"summary": "Resolve preview data from a token"
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
"method": "POST",
|
|
779
|
+
"path": "/api/preview-token",
|
|
780
|
+
"summary": "Create a preview token"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"method": "GET",
|
|
784
|
+
"path": "/api/schemas",
|
|
785
|
+
"summary": "Get the serialized Dyrected schema"
|
|
786
|
+
}
|
|
787
|
+
],
|
|
788
|
+
"fieldTypes": [
|
|
789
|
+
"text",
|
|
790
|
+
"textarea",
|
|
791
|
+
"richText",
|
|
792
|
+
"number",
|
|
793
|
+
"boolean",
|
|
794
|
+
"date",
|
|
795
|
+
"datetime",
|
|
796
|
+
"time",
|
|
797
|
+
"select",
|
|
798
|
+
"multiSelect",
|
|
799
|
+
"radio",
|
|
800
|
+
"relationship",
|
|
801
|
+
"array",
|
|
802
|
+
"object",
|
|
803
|
+
"json",
|
|
804
|
+
"blocks",
|
|
805
|
+
"image",
|
|
806
|
+
"email",
|
|
807
|
+
"url",
|
|
808
|
+
"icon",
|
|
809
|
+
"join",
|
|
810
|
+
"row"
|
|
811
|
+
]
|
|
812
|
+
}
|