Skip to content

Commit 0979811

Browse files
Copilothotlong
andcommitted
Fix remaining old import paths in documentation
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent e19d235 commit 0979811

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/SPEC_REFACTORING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export type {
8080
PluginDefinition,
8181
PluginContextData,
8282
ObjectStackManifest,
83-
} from '@objectstack/spec/kernel';
83+
} from '@objectstack/spec/system';
8484

8585
export type {
8686
ServiceObject,
@@ -165,7 +165,7 @@ export const MyPlugin: ObjectQLPlugin = {
165165

166166
**New Style (ObjectStack Spec Plugin):**
167167
```typescript
168-
import type { PluginDefinition, PluginContextData } from '@objectstack/spec/kernel';
168+
import type { PluginDefinition, PluginContextData } from '@objectstack/spec/system';
169169

170170
export const MyPlugin: PluginDefinition = {
171171
async onEnable(context: PluginContextData) {
@@ -187,7 +187,7 @@ The API remains mostly unchanged. The main difference is better type safety:
187187

188188
```typescript
189189
import { ObjectOS } from '@objectos/kernel';
190-
import type { ObjectStackManifest } from '@objectstack/spec/kernel';
190+
import type { ObjectStackManifest } from '@objectstack/spec/system';
191191

192192
const os = new ObjectOS({
193193
plugins: [MyPlugin],

0 commit comments

Comments
 (0)