Skip to content

Commit f28eb1d

Browse files
os-steveclaude
andauthored
docs(skills): spell Plugin.type as PluginType in objectstack-platform (#14981)
The skill's copy of the Plugin interface still spelled type as an open string with the value set in a trailing comment. #13925 narrowed the published field to the closed PluginType (exported from @objectstack/core), so the skill was teaching a wider accept set than the compiler enforces. Same-length spelling fix at both sites, with the enumeration comment replaced by a pointer to PluginType. Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8f8af36 commit f28eb1d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

skills/objectstack-platform/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ import type { Plugin, PluginContext } from '@objectstack/core';
720720
export interface Plugin {
721721
name: string; // Unique identifier (reverse domain recommended)
722722
version?: string; // Semantic version
723-
type?: string; // standard|ui|driver|server|app|theme|agent|objectql
723+
type?: PluginType; // closed set exported by @objectstack/core
724724
dependencies?: string[]; // Plugins that must init before this one
725725

726726
// Phase 1: Register services

skills/objectstack-platform/rules/plugin-lifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface Plugin {
4545
version?: string;
4646

4747
/** Plugin type */
48-
type?: string; // standard|ui|driver|server|app|theme|agent|objectql
48+
type?: PluginType; // closed set exported by @objectstack/core
4949

5050
/** Plugins that must init before this one */
5151
dependencies?: string[];

0 commit comments

Comments
 (0)