@combos-fun/inspector-decorator 0.0.7 → 0.0.8
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/agent-skill.md +3 -8
- package/package.json +1 -1
package/agent-skill.md
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
# `@combos-fun/inspector-decorator` — Agent notes
|
|
2
2
|
|
|
3
|
-
Runtime decorator helpers used by Combos Fun engine and plugin packages to
|
|
4
|
-
expose Component fields to editor / inspector tooling. Built on
|
|
5
|
-
`reflect-metadata`.
|
|
3
|
+
Runtime decorator helpers used by Combos Fun engine and plugin packages to expose Component fields to editor / inspector tooling. Built on `reflect-metadata`.
|
|
6
4
|
|
|
7
5
|
## When to read
|
|
8
6
|
|
|
9
|
-
Read when authoring a new Component / System and you want its fields to be
|
|
10
|
-
visible in the Combos Fun editor inspector, or when investigating why a
|
|
11
|
-
field appears (or fails to appear) in the inspector.
|
|
7
|
+
Read when authoring a new Component / System and you want its fields to be visible in the Combos Fun editor inspector, or when investigating why a field appears (or fails to appear) in the inspector.
|
|
12
8
|
|
|
13
9
|
## Public API
|
|
14
10
|
|
|
@@ -24,8 +20,7 @@ import { Field, ExecuteInEditMode, getPropertiesOf, type, step } from '@combos-f
|
|
|
24
20
|
| `getPropertiesOf(ComponentClass)` | Inspector-side helper. Returns the `FieldMetadata` tree for a Component. |
|
|
25
21
|
| `type` / `step` | Legacy `IDEProp`-style decorators kept for backwards compatibility with older Combos plugins. |
|
|
26
22
|
|
|
27
|
-
`FieldOptions` accepts at minimum `{ name?, type?, default?, options?, ... }`
|
|
28
|
-
— check the `interface.ts` source for the full surface.
|
|
23
|
+
`FieldOptions` accepts at minimum `{ name?, type?, default?, options?, ... }` — check the `interface.ts` source for the full surface.
|
|
29
24
|
|
|
30
25
|
## Required setup
|
|
31
26
|
|
package/package.json
CHANGED