Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCollectionForSchemata ¶
func CreateCollectionForSchemata(schemata []models.ObjectSchema) error
func FetchConfig ¶
func NewItemsClient ¶
func NewItemsClient() *directus.ItemsClient[any]
Types ¶
type WSMessage ¶
type WSMessage struct {
Type string `json:"type"`
Collection string `json:"collection,omitempty"`
Status string `json:"status,omitempty"`
RefreshToken string `json:"refresh_token,omitempty"`
AccessToken string `json:"access_token,omitempty"`
Error any `json:"error,omitempty"`
Event string `json:"event,omitempty"`
Query map[string]interface{} `json:"query,omitempty"`
UID string `json:"uid,omitempty"`
Data interface{} `json:"data,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.