File size: 1,004 Bytes
76cc654
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/**
 * Types of block shapes
 * @enum {number}
 */
const BlockShape = {
    /**
     * Output shape: hexagonal (booleans/predicates).
     */
    HEXAGONAL: 1,

    /**
     * Output shape: rounded (numbers/strings).
     */
    ROUND: 2,

    /**
     * Output shape: squared (arrays/array buffers/uint arrays).
     */
    SQUARE: 3,

    /**
     * pm: Output shape: leaf-ed (vectors).
     */
    LEAF: 4,

    /**
     * pm: Output shape: plus (objects/classes or class instances).
     */
    PLUS: 5,

    /**
     * pm: Output shape: octagonal (Scratch targets).
     */
    OCTAGONAL: 6,

    /**
     * pm: Output shape: bumped (BigInt).
     */
    BUMPED: 7,

    /**
     * pm: Output shape: indented (Symbols).
     */
    INDENTED: 8,

    /**
     * pm: Output shape: scrapped (Maps).
     */
    SCRAPPED: 9,

    /**
     * pm: Output shape: arrow (Sets).
     */
    ARROW: 10,

    /**
     * pm: Output shape: ticket (Dates).
     */
    TICKET: 11,
};

module.exports = BlockShape;