Files
blockly/blocks/blocks.ts
Christopher Allen ce22f42868 chore: Organise imports (#8527)
* chore(deps): Add pretter-plugin-organize-imports

* chore: Remove insignificant blank lines in import sections

  Since prettier-plugin-organize-imports sorts imports within
  sections separated by blank lines, but preserves the section
  divisions, remove any blank lines that are not dividing imports
  into meaningful sections.

  Do not remove blank lines separating side-effect-only imports
  from main imports.

* chore: Remove unneded eslint-disable directives

* chore: Organise imports
2024-08-15 03:16:14 +01:00

45 lines
965 B
TypeScript

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
// Former goog.module ID: Blockly.libraryBlocks
import type {BlockDefinition} from '../core/blocks.js';
import * as lists from './lists.js';
import * as logic from './logic.js';
import * as loops from './loops.js';
import * as math from './math.js';
import * as procedures from './procedures.js';
import * as texts from './text.js';
import * as variables from './variables.js';
import * as variablesDynamic from './variables_dynamic.js';
export {
lists,
logic,
loops,
math,
procedures,
texts,
variables,
variablesDynamic,
};
/**
* A dictionary of the block definitions provided by all the
* Blockly.libraryBlocks.* modules.
*/
export const blocks: {[key: string]: BlockDefinition} = Object.assign(
{},
lists.blocks,
logic.blocks,
loops.blocks,
math.blocks,
procedures.blocks,
texts.blocks,
variables.blocks,
variablesDynamic.blocks,
);