create-restforge-skills 0.2.0 → 0.3.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/README.md +158 -150
- package/package.json +1 -1
- package/skills/restforge/SKILL.md +740 -559
- package/skills/restforge/references/rdf-advanced.md +538 -488
- package/skills/restforge/references/udf-catalog.md +14 -6
|
@@ -79,7 +79,7 @@ Each entry in `pages[]` represents one page in the application.
|
|
|
79
79
|
| `pageId` | string | yes | Unique identifier; CRUD: `^[a-zA-Z0-9_-]+$`; dashboard: `^dash-[a-z0-9-]+$` |
|
|
80
80
|
| `pageTitle` | string | yes | Display title shown in header and sidebar |
|
|
81
81
|
| `pageSubtitle` | string | no | Subtitle shown below title |
|
|
82
|
-
| `pageIcon` | string | no |
|
|
82
|
+
| `pageIcon` | string | no | Keenicons icon name (e.g., `"home"`); single word renders as `ki-outline ki-<name>`, a full class string renders as-is (vanilla-js-auth) |
|
|
83
83
|
| `pageGroup` | string | no | Sidebar group name (Title Case); auto-derives navigation |
|
|
84
84
|
| `pageType` | string | no | `"crud"` (default) or `"dashboard"` |
|
|
85
85
|
| `apiPath` | string | yes (CRUD) | Backend endpoint path; e.g., `"/customer"` |
|
|
@@ -233,12 +233,15 @@ Used by `select` fields and `enableDataFilter` to populate options.
|
|
|
233
233
|
"dataSource": {
|
|
234
234
|
"type": "static",
|
|
235
235
|
"options": [
|
|
236
|
-
{ "
|
|
237
|
-
{ "
|
|
236
|
+
{ "value": "active", "text": "Active" },
|
|
237
|
+
{ "value": "inactive", "text": "Inactive" }
|
|
238
238
|
]
|
|
239
239
|
}
|
|
240
240
|
```
|
|
241
241
|
|
|
242
|
+
Static options use `{value, text}` — NOT `{id, text}`. The `id`/`text` pair
|
|
243
|
+
only applies to the api dataSource field mapping below.
|
|
244
|
+
|
|
242
245
|
**Type: api**
|
|
243
246
|
```json
|
|
244
247
|
"dataSource": {
|
|
@@ -263,12 +266,12 @@ Used by `select` fields and `enableDataFilter` to populate options.
|
|
|
263
266
|
|
|
264
267
|
```json
|
|
265
268
|
"navigation": [
|
|
266
|
-
{ "type": "page", "pageId": "customer", "icon": "
|
|
269
|
+
{ "type": "page", "pageId": "customer", "icon": "users" },
|
|
267
270
|
{ "type": "separator" },
|
|
268
271
|
{
|
|
269
272
|
"type": "group",
|
|
270
273
|
"label": "Master Data",
|
|
271
|
-
"icon": "
|
|
274
|
+
"icon": "data",
|
|
272
275
|
"items": [
|
|
273
276
|
{ "type": "page", "pageId": "category" },
|
|
274
277
|
{ "type": "page", "pageId": "supplier" }
|
|
@@ -281,7 +284,12 @@ Used by `select` fields and `enableDataFilter` to populate options.
|
|
|
281
284
|
- When `pageGroup` is set on a page, the sidebar auto-derives navigation —
|
|
282
285
|
manual `navigation[]` is optional.
|
|
283
286
|
- Manual `navigation[]` overrides auto-derivation completely.
|
|
284
|
-
- `icon` uses
|
|
287
|
+
- `icon` uses Keenicons, the icon font bundled with the Metronic-based
|
|
288
|
+
vanilla-js-auth plugin. A single-word value (e.g., `"users"`, `"data"`)
|
|
289
|
+
renders as `ki-outline ki-<name> fs-2`. A value containing spaces
|
|
290
|
+
(e.g., `"ki-solid ki-abstract-26 fs-2x"`) is rendered as-is, so any
|
|
291
|
+
icon style/size class combination supported by Metronic works.
|
|
292
|
+
Do NOT use Tabler classes (`ti ti-*`) — the Tabler font is not loaded.
|
|
285
293
|
|
|
286
294
|
---
|
|
287
295
|
|