batchOperationTipModal

package
v1.3.0-rc.0...-d217119 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchOperationTipModal

type BatchOperationTipModal struct {
	Type       string                 `json:"type"`
	Props      Props                  `json:"props"`
	State      State                  `json:"state"`
	Operations map[string]interface{} `json:"operations"`
	SDK        *cptype.SDK
	CtxBdl     *bundle.Bundle
	// contains filtered or unexported fields
}

func (*BatchOperationTipModal) DeleteItems

func (bot *BatchOperationTipModal) DeleteItems(itemIDs []string, projectID uint64) (*pb.BatchDeleteIssueResponse, error)

func (*BatchOperationTipModal) Render

func (*BatchOperationTipModal) SetComponent

func (bot *BatchOperationTipModal) SetComponent(c *cptype.Component) error

type Meta

type Meta struct {
	Type cptype.OperationKey `json:"type"`
}

type Operation

type Operation struct {
	Key        string `json:"key"`
	Reload     bool   `json:"reload"`
	Meta       Meta   `json:"meta"`
	SuccessMsg string `json:"successMsg"`
}

type Props

type Props struct {
	Status  string `json:"status"`
	Content string `json:"content"`
	Title   string `json:"title"`
}

type State

type State struct {
	Visible         bool     `json:"visible"`
	SelectedRowKeys []string `json:"selectedRowKeys"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL