@stinkycomputing/sesame-editor-api 1.0.0-alpha.3 → 1.0.0-alpha.6

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.
Files changed (2) hide show
  1. package/dist/plugin.d.ts +4 -3
  2. package/package.json +2 -4
package/dist/plugin.d.ts CHANGED
@@ -5,9 +5,11 @@
5
5
  * In practice the config-editor and all plugins instantiate them as
6
6
  * Node and Edge from @xyflow/react.
7
7
  */
8
- import type { SesameConfig } from '@stinkycomputing/sesame-interop';
9
8
  import type { NodeTypeDef, PortDef } from './node-types';
10
- type ISesameConfig = SesameConfig.ISesameConfig;
9
+ /** Minimal config shape — avoids pulling in interop/api-client. */
10
+ export interface ISesameConfig {
11
+ extensions?: Record<string, unknown>;
12
+ }
11
13
  export interface NodeFactory<TNode = unknown, TEdge = unknown> {
12
14
  /**
13
15
  * Create a React Flow node. Registers the node ID for collision detection
@@ -75,4 +77,3 @@ export interface ISesameEditorPlugin<TNode = unknown, TEdge = unknown> {
75
77
  */
76
78
  serializeNodes(allNodes: TNode[], allEdges: TEdge[]): Record<string, unknown>;
77
79
  }
78
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stinkycomputing/sesame-editor-api",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.6",
4
4
  "description": "Plugin API types for Sesame config editor",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -9,9 +9,7 @@
9
9
  "dist",
10
10
  "LICENSE"
11
11
  ],
12
- "dependencies": {
13
- "@stinkycomputing/sesame-interop": "^1.5.0-alpha.4"
14
- },
12
+ "dependencies": {},
15
13
  "devDependencies": {
16
14
  "typescript": "^5.5.4"
17
15
  },