Files
blockly/core/interfaces/i_copyable.ts
Beka Westberg 362ec011ce fix: re-add @package annotations as @internal annotations (#6232)
* fix: add ~70% of internal attributes

* fix: work on manually adding more @internal annotations

* fix: add more manual internal annotations

* fix: rename package typos to internal

* fix: final manual fixes for internal annotations

* chore: format

* chore: make unnecessary multiline jsdoc a single line

* fix: fix internal tags in serialization exceptions
2022-06-27 08:00:44 -07:00

39 lines
868 B
TypeScript

/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview The interface for an object that is copyable.
*/
/**
* The interface for an object that is copyable.
* @namespace Blockly.ICopyable
*/
import * as goog from '../../closure/goog/goog.js';
goog.declareModuleId('Blockly.ICopyable');
/* eslint-disable-next-line no-unused-vars */
/* eslint-disable-next-line no-unused-vars */
import {WorkspaceSvg} from '../workspace_svg.js';
import {ISelectable} from './i_selectable.js';
/** @alias Blockly.ICopyable */
export interface ICopyable extends ISelectable {
/**
* Encode for copying.
* @return Copy metadata.
* @internal
*/
toCopyData: AnyDuringMigration;
}
export interface CopyData {
saveInfo: AnyDuringMigration|Element;
source: WorkspaceSvg;
typeCounts: AnyDuringMigration|null;
}