github.com/voedger/voedger@v0.0.0-20240520144910-273e84102129/pkg/istructsmem/internal/descr/interface.go (about)

     1  /*
     2   * Copyright (c) 2021-present Sigma-Soft, Ltd.
     3   * @author: Nikolay Nikitin
     4   */
     5  
     6  package descr
     7  
     8  import "github.com/voedger/voedger/pkg/istructs"
     9  
    10  type Application struct {
    11  	Name     istructs.AppQName
    12  	Packages map[string]*Package `json:",omitempty"`
    13  }
    14  
    15  type Package struct {
    16  	Name       string                  `json:"-"`
    17  	Path       string                  `json:",omitempty"`
    18  	DataTypes  map[string]*Data        `json:",omitempty"`
    19  	Structures map[string]*Structure   `json:",omitempty"`
    20  	Views      map[string]*View        `json:",omitempty"`
    21  	Extensions *Extensions             `json:",omitempty"`
    22  	Roles      map[string]*Role        `json:",omitempty"`
    23  	Resources  map[string]*Resource    `json:",omitempty"`
    24  	RateLimits map[string][]*RateLimit `json:",omitempty"`
    25  }