@cratis/event-models 0.262.1 → 0.263.1

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.
@@ -3,6 +3,7 @@ export declare const compositionId = "composition";
3
3
  export interface EditorComposition {
4
4
  element: Panel;
5
5
  roots: SceneElement[];
6
+ own: SceneElement[];
6
7
  templates: string[];
7
8
  entry?: string;
8
9
  }
@@ -1,5 +1,4 @@
1
1
  import type { Panel } from '@cratis/scene.model';
2
- import type { OwnershipResolver } from '../Structure/OwnershipResolver';
3
2
  import { type EditorComposition } from './composeEditorScreen';
4
3
  /**
5
4
  * The composition without what the screen's templates put around its own content: a slice's prototype is the slice's content, and the template (and the
@@ -9,7 +8,6 @@ import { type EditorComposition } from './composeEditorScreen';
9
8
  * template again puts back exactly what was there.
10
9
  *
11
10
  * @param composition The composition the editor edits.
12
- * @param ownershipOf Who owns an element, relative to the scope being edited.
13
- * @returns The composition's element, with only the elements the screen itself authored.
11
+ * @returns The composition's element, with only what the screen itself authored.
14
12
  */
15
- export declare function ownContentOnly(composition: EditorComposition, ownershipOf: OwnershipResolver): Panel;
13
+ export declare function ownContentOnly(composition: EditorComposition): Panel;