Files
blockly/core/serialization/priorities.ts
Beka Westberg 407ff44e18 feat: add JSON serialization for workspace comments (#7927)
* feat: basic comment serializer

* bad: temporarily jam new comment classes into array

* chore: implement serializer

* chore: add serialization tests

* chore: JSDoc

* chore: unonly tests
2024-03-20 12:40:27 -07:00

26 lines
494 B
TypeScript

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
// Former goog.module ID: Blockly.serialization.priorities
/**
* The priority for deserializing variables.
*/
export const VARIABLES = 100;
/**
* The priority for deserializing variable data.
*/
export const PROCEDURES = 75;
/**
* The priority for deserializing blocks.
*/
export const BLOCKS = 50;
/** The priority for deserializing workspace comments. */
export const WORKSPACE_COMMENTS = 25;