Skip to content

Commit

Permalink
chore(devops): JsonSchema add GoKind Definition
Browse files Browse the repository at this point in the history
  • Loading branch information
mrh997 committed Jan 7, 2025
1 parent ee906b3 commit 599c48e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions devops/model/canvas.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

package model

import (
"reflect"
)

const (
Version = "2.0.0"
)
Expand Down Expand Up @@ -138,6 +142,11 @@ type JsonSchema struct {
// Custom Field
PropertyOrder []string `json:"propertyOrder,omitempty"`
Library Library `json:"library,omitempty"`
GoKind *GoKind `json:"goKind,omitempty"`
}

type GoKind struct {
Kind reflect.Kind `json:"kind"`
}

type Library struct {
Expand Down

0 comments on commit 599c48e

Please sign in to comment.