Skip to content

Instantly share code, notes, and snippets.

@dherman
Last active June 25, 2022 15:02
Show Gist options
  • Save dherman/b5922d0eaaadb0e0ccec8e62a6742ea1 to your computer and use it in GitHub Desktop.
Save dherman/b5922d0eaaadb0e0ccec8e62a6742ea1 to your computer and use it in GitHub Desktop.

Revisions

  1. dherman revised this gist Jun 25, 2022. 1 changed file with 0 additions and 3 deletions.
    3 changes: 0 additions & 3 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -3,22 +3,19 @@ flowchart TB
    JsValue
    JsValue-->JsObject
    subgraph primitives [Primitive Types]
    direction LR
    JsBoolean
    JsNumber
    JsString
    JsNull
    JsUndefined
    end
    subgraph objects [Standard Object Types]
    direction LR
    JsFunction
    JsArray
    JsDate
    JsError
    end
    subgraph typedarrays [Typed Arrays]
    direction LR
    JsBuffer
    JsArrayBuffer
    JsTypedArray["JsTypedArray<T>"]
  2. dherman revised this gist Jun 25, 2022. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -11,12 +11,14 @@ flowchart TB
    JsUndefined
    end
    subgraph objects [Standard Object Types]
    direction LR
    JsFunction
    JsArray
    JsDate
    JsError
    end
    subgraph typedarrays [Typed Arrays]
    direction LR
    JsBuffer
    JsArrayBuffer
    JsTypedArray["JsTypedArray<T>"]
  3. dherman revised this gist Jun 25, 2022. 1 changed file with 14 additions and 13 deletions.
    27 changes: 14 additions & 13 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -3,25 +3,26 @@ flowchart TB
    JsValue
    JsValue-->JsObject
    subgraph primitives [Primitive Types]
    JsBoolean
    JsNumber
    JsString
    JsNull
    JsUndefined
    direction LR
    JsBoolean
    JsNumber
    JsString
    JsNull
    JsUndefined
    end
    subgraph objects [Standard Object Types]
    JsFunction
    JsArray
    JsDate
    JsError
    JsFunction
    JsArray
    JsDate
    JsError
    end
    subgraph typedarrays [Typed Arrays]
    JsBuffer
    JsArrayBuffer
    JsTypedArray["JsTypedArray<T>"]
    JsBuffer
    JsArrayBuffer
    JsTypedArray["JsTypedArray<T>"]
    end
    subgraph custom [Custom Types]
    JsBox
    JsBox
    end
    JsValue-->primitives
    JsObject-->objects
  4. dherman revised this gist Jun 25, 2022. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,14 @@
    ```mermaid
    flowchart TB
    JsValue
    JsValue-->JsObject
    subgraph primitives [Primitive Types]
    JsBoolean
    JsNumber
    JsString
    JsNull
    JsUndefined
    end
    JsValue-->JsObject
    subgraph objects [Standard Object Types]
    JsFunction
    JsArray
    @@ -20,8 +20,11 @@ flowchart TB
    JsArrayBuffer
    JsTypedArray["JsTypedArray<T>"]
    end
    subgraph custom [Custom Types]
    JsBox
    end
    JsValue-->primitives
    JsValue-->JsObject
    JsObject-->objects
    JsObject-->typedarrays
    JsObject-->custom
    ```
  5. dherman revised this gist Jun 25, 2022. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -9,12 +9,19 @@ flowchart TB
    JsUndefined
    end
    JsValue-->JsObject
    subgraph objects [Standard Object Types]
    JsFunction
    JsArray
    JsDate
    JsError
    end
    subgraph typedarrays [Typed Arrays]
    JsBuffer
    JsArrayBuffer
    JsTypedArray["JsTypedArray<T>"]
    end
    JsValue-->primitives
    JsValue-->JsObject
    JsObject-->objects
    JsObject-->typedarrays
    ```
  6. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ flowchart TB
    subgraph typedarrays [Typed Arrays]
    JsBuffer
    JsArrayBuffer
    JsTypedArray["JsTypedArrayT>"]
    JsTypedArray["JsTypedArray<T>"]
    end
    JsValue-->primitives
    JsValue-->JsObject
  7. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ flowchart TB
    subgraph typedarrays [Typed Arrays]
    JsBuffer
    JsArrayBuffer
    JsTypedArray["JsTypedArray<T>"]
    JsTypedArray["JsTypedArray〈T&gt;"]
    end
    JsValue-->primitives
    JsValue-->JsObject
  8. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ flowchart TB
    subgraph typedarrays [Typed Arrays]
    JsBuffer
    JsArrayBuffer
    JsTypedArray〈T〉
    JsTypedArray["JsTypedArray<T>"]
    end
    JsValue-->primitives
    JsValue-->JsObject
  9. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ flowchart TB
    subgraph typedarrays [Typed Arrays]
    JsBuffer
    JsArrayBuffer
    JsTypedArray~T~
    JsTypedArray〈T〉
    end
    JsValue-->primitives
    JsValue-->JsObject
  10. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ flowchart TB
    subgraph typedarrays [Typed Arrays]
    JsBuffer
    JsArrayBuffer
    JsTypedArray<T>
    JsTypedArray~T~
    end
    JsValue-->primitives
    JsValue-->JsObject
  11. dherman revised this gist Jun 25, 2022. 1 changed file with 8 additions and 14 deletions.
    22 changes: 8 additions & 14 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,26 +1,20 @@
    ```mermaid
    flowchart TB
    JsValue-->a2
    c1-->a2
    JsValue
    subgraph primitives [Primitive Types]
    JsBoolean
    JsNumber
    JsString
    JsNull
    JsUndefined
    end
    JsValue-->JsObject
    subgraph typedarrays [Typed Arrays]
    b1-->b2
    JsBuffer
    JsArrayBuffer
    JsTypedArray<T>
    end
    subgraph three
    c1-->c2
    end
    JsValue-->JsBoolean
    JsValue-->JsNumber
    JsValue-->JsString
    JsValue-->JsNull
    JsValue-->JsUndefined
    primitives --> typedarrays
    three --> typedarrays
    two --> c2
    JsValue-->primitives
    JsValue-->JsObject
    JsObject-->typedarrays
    ```
  12. dherman revised this gist Jun 25, 2022. 1 changed file with 10 additions and 5 deletions.
    15 changes: 10 additions & 5 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -3,18 +3,23 @@ flowchart TB
    JsValue-->a2
    c1-->a2
    subgraph primitives [Primitive Types]
    JsValue-->JsBoolean
    JsValue-->JsNumber
    JsValue-->JsString
    JsValue-->JsNull
    JsValue-->JsUndefined
    JsBoolean
    JsNumber
    JsString
    JsNull
    JsUndefined
    end
    subgraph typedarrays [Typed Arrays]
    b1-->b2
    end
    subgraph three
    c1-->c2
    end
    JsValue-->JsBoolean
    JsValue-->JsNumber
    JsValue-->JsString
    JsValue-->JsNull
    JsValue-->JsUndefined
    primitives --> typedarrays
    three --> typedarrays
    two --> c2
  13. dherman revised this gist Jun 25, 2022. 1 changed file with 7 additions and 3 deletions.
    10 changes: 7 additions & 3 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -2,16 +2,20 @@
    flowchart TB
    JsValue-->a2
    c1-->a2
    subgraph one
    a1-->a2
    subgraph primitives [Primitive Types]
    JsValue-->JsBoolean
    JsValue-->JsNumber
    JsValue-->JsString
    JsValue-->JsNull
    JsValue-->JsUndefined
    end
    subgraph typedarrays [Typed Arrays]
    b1-->b2
    end
    subgraph three
    c1-->c2
    end
    one --> typedarrays
    primitives --> typedarrays
    three --> typedarrays
    two --> c2
    ```
  14. dherman revised this gist Jun 25, 2022. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,17 @@
    ```mermaid
    flowchart TB
    JsValue-->a2
    c1-->a2
    subgraph one
    a1-->a2
    end
    subgraph two
    subgraph typedarrays [Typed Arrays]
    b1-->b2
    end
    subgraph three
    c1-->c2
    end
    one --> two
    three --> two
    one --> typedarrays
    three --> typedarrays
    two --> c2
    ```
  15. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    ```mermaid
    flowchart Types
    flowchart TB
    c1-->a2
    subgraph one
    a1-->a2
  16. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    ```mermaid
    flowchart TB
    flowchart Types
    c1-->a2
    subgraph one
    a1-->a2
  17. dherman revised this gist Jun 25, 2022. 1 changed file with 14 additions and 16 deletions.
    30 changes: 14 additions & 16 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,18 +1,16 @@
    ```mermaid
    classDiagram
    JsValue <|-- JsObject
    JsValue <|-- Primitives
    class Primitives[Primitive Types]{
    JsNumber
    JsBoolean
    JsString
    JsNull
    JsUndefined
    }
    JsObject <|-- TypedArrays
    class TypedArrays[Typed Arrays]{
    JsBuffer
    JsArrayBuffer
    JsTypedArray~T~
    }
    flowchart TB
    c1-->a2
    subgraph one
    a1-->a2
    end
    subgraph two
    b1-->b2
    end
    subgraph three
    c1-->c2
    end
    one --> two
    three --> two
    two --> c2
    ```
  18. dherman revised this gist Jun 25, 2022. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -2,15 +2,15 @@
    classDiagram
    JsValue <|-- JsObject
    JsValue <|-- Primitives
    class Primitives{
    class Primitives[Primitive Types]{
    JsNumber
    JsBoolean
    JsString
    JsNull
    JsUndefined
    }
    JsObject <|-- "Typed Arrays"
    class "Typed Arrays"{
    JsObject <|-- TypedArrays
    class TypedArrays[Typed Arrays]{
    JsBuffer
    JsArrayBuffer
    JsTypedArray~T~
  19. dherman revised this gist Jun 25, 2022. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -6,9 +6,11 @@ classDiagram
    JsNumber
    JsBoolean
    JsString
    JsNull
    JsUndefined
    }
    JsObject <|-- TypedArrays
    class TypedArrays{
    JsObject <|-- "Typed Arrays"
    class "Typed Arrays"{
    JsBuffer
    JsArrayBuffer
    JsTypedArray~T~
  20. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ classDiagram
    JsBoolean
    JsString
    }
    TypedArrays <|-- JsObject
    JsObject <|-- TypedArrays
    class TypedArrays{
    JsBuffer
    JsArrayBuffer
  21. dherman revised this gist Jun 25, 2022. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -7,4 +7,10 @@ classDiagram
    JsBoolean
    JsString
    }
    TypedArrays <|-- JsObject
    class TypedArrays{
    JsBuffer
    JsArrayBuffer
    JsTypedArray~T~
    }
    ```
  22. dherman revised this gist Jun 25, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    ```mermaid
    classDiagram
    JsValue <|-- JsObject
    JsValue <|-- Primitive Types
    class Primitive Types{
    JsValue <|-- Primitives
    class Primitives{
    JsNumber
    JsBoolean
    JsString
  23. dherman revised this gist Jun 25, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    ```mermaid
    classDiagram
    JsValue <|-- JsObject
    JsValue <|-- Primitive~Types
    class Primitive~Types{
    JsValue <|-- Primitive Types
    class Primitive Types{
    JsNumber
    JsBoolean
    JsString
  24. dherman revised this gist Jun 25, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,8 @@
    ```mermaid
    classDiagram
    JsValue <|-- JsObject
    JsValue <|-- Primitive\ Types
    class Primitive\ Types{
    JsValue <|-- Primitive~Types
    class Primitive~Types{
    JsNumber
    JsBoolean
    JsString
  25. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    ```mermaid
    classDiagram
    JsValue <|-- JsObject
    JsValue <|-- Primitive Types
    JsValue <|-- Primitive\ Types
    class Primitive\ Types{
    JsNumber
    JsBoolean
  26. dherman revised this gist Jun 25, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion neon-types.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    classDiagram
    JsValue <|-- JsObject
    JsValue <|-- Primitive Types
    class Primitive Types{
    class Primitive\ Types{
    JsNumber
    JsBoolean
    JsString
  27. dherman revised this gist Jun 25, 2022. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@ classDiagram
    JsValue <|-- JsObject
    JsValue <|-- Primitive Types
    class Primitive Types{
    +JsNumber
    +JsBoolean
    +JsString
    JsNumber
    JsBoolean
    JsString
    }
    ```
  28. dherman revised this gist Jun 25, 2022. 1 changed file with 10 additions and 10 deletions.
    20 changes: 10 additions & 10 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    //! ```mermaid
    //! classDiagram
    //! JsValue <|-- JsObject
    //! JsValue <|-- Primitive Types
    //! class Primitive Types{
    //! +JsNumber
    //! +JsBoolean
    //! +JsString
    //! }
    //! ```
    ```mermaid
    classDiagram
    JsValue <|-- JsObject
    JsValue <|-- Primitive Types
    class Primitive Types{
    +JsNumber
    +JsBoolean
    +JsString
    }
    ```
  29. dherman created this gist Jun 25, 2022.
    10 changes: 10 additions & 0 deletions neon-types.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    //! ```mermaid
    //! classDiagram
    //! JsValue <|-- JsObject
    //! JsValue <|-- Primitive Types
    //! class Primitive Types{
    //! +JsNumber
    //! +JsBoolean
    //! +JsString
    //! }
    //! ```