mirror of
https://github.com/google/blockly.git
synced 2026-01-11 19:07:08 +01:00
Our files are up to a decade old, and have churned so much, that the initial author of the file no longer has much meaning. Furthermore, this will encourage developers to post to the developer group, rather than emailing Googlers (usually me) directly.
38 lines
726 B
JavaScript
38 lines
726 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Interface for a workspace component that can be registered with
|
|
* the ComponentManager.
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
/**
|
|
* Interface for a workspace component that can be registered with
|
|
* the ComponentManager.
|
|
* @namespace Blockly.IComponent
|
|
*/
|
|
goog.module('Blockly.IComponent');
|
|
|
|
|
|
/**
|
|
* The interface for a workspace component that can be registered with the
|
|
* ComponentManager.
|
|
* @interface
|
|
* @alias Blockly.IComponent
|
|
*/
|
|
const IComponent = function() {};
|
|
|
|
/**
|
|
* The unique id for this component that is used to register with the
|
|
* ComponentManager.
|
|
* @type {string}
|
|
*/
|
|
IComponent.id;
|
|
|
|
exports = IComponent;
|