Documentation ¶
Index ¶
- Variables
- type Controller
- func (c *Controller) CommentRow(uclaim *claim.Data, table, msg string, rowId int) error
- func (c *Controller) DeleteRow(uclaim *claim.Data, tslug string, id int64) error
- func (c *Controller) DeleteRowBatch(uclaim *claim.Data, tslug string, filterOpts []dyndb.FilterCond) error
- func (c *Controller) DeleteRowMulti(uclaim *claim.Data, tslug string, ids []int64) error
- func (c *Controller) DeleteRowWithCell(uclaim *claim.Data, sid, rid int64) error
- func (c *Controller) DeleteSheet(uclaim *claim.Data, id int64) error
- func (c *Controller) DeleteSheetColumn(uclaim *claim.Data, sid, cid int64) error
- func (c *Controller) ExportSheets(uclaim *claim.Data, sheets []int64) (*dyndb.ExportData, error)
- func (c *Controller) FTSQuery(uclaim *claim.Data, req dyndb.FTSQueryReq) (*dyndb.QueryResult, error)
- func (c *Controller) FTSQuerySheet(uclaim *claim.Data, req *dyndb.FTSQuerySheet) (*dyndb.QuerySheetResp, error)
- func (c *Controller) GetRow(uclaim *claim.Data, tslug string, id int64) (map[string]any, error)
- func (c *Controller) GetRowHistory(uclaim *claim.Data, sid, rid int64) ([]*entities.DynActivity, error)
- func (c *Controller) GetRowRelations(uclaim *claim.Data, sid, rid, refsheet, refcol int64) (*dyndb.Relation, error)
- func (c *Controller) GetSheet(uclaim *claim.Data, id int64) (map[string]any, error)
- func (c *Controller) GetSheetColumn(uclaim *claim.Data, sid, cid int64) (map[string]any, error)
- func (c *Controller) InstanceSheet(uclaim *claim.Session, req QuickSheetInstance) (*xinstance.Response, error)
- func (d *Controller) IssueDataClaim(uclaim *claim.Session, source string, group string) (string, error)
- func (c *Controller) ListActivity(uclaim *claim.Data, table string, rowId int) ([]*entities.DynActivity, error)
- func (c *Controller) ListDataUsers(uclaim *claim.Data, ttype, target string) ([]entities.UserInfo, error)
- func (c *Controller) ListSheet(uclaim *claim.Data) ([]map[string]any, error)
- func (c *Controller) ListSheetColumn(uclaim *claim.Data, sid int64) ([]map[string]any, error)
- func (c *Controller) ListSheetGroup(uclaim *claim.Data) (*dyndb.ListSheetGroupResp, error)
- func (c *Controller) ListSheetTemplates(uclaim *claim.Session) (map[string]xbprint.NewSheetGroup, error)
- func (c *Controller) LoadGroup(uclaim *claim.Data) (*dyndb.LoadDgroupResp, error)
- func (c *Controller) LoadSheet(uclaim *claim.Data, data *dyndb.LoadSheetReq) (*dyndb.LoadSheetResp, error)
- func (c *Controller) LoadTable(uclaim *claim.Data, req dyndb.LoadTableReq, tslug string) (*dyndb.LoadTableResp, error)
- func (c *Controller) NewRow(uclaim *claim.Data, tslug string, cells map[string]any) (int64, error)
- func (c *Controller) NewRowWithCell(uclaim *claim.Data, sid int64, data map[int64]map[string]any) (any, error)
- func (c *Controller) NewSheet(uclaim *claim.Data, data map[string]any) error
- func (c *Controller) NewSheetColumn(uclaim *claim.Data, sid int64, data map[string]any) (int64, error)
- func (c *Controller) QuerySheet(uclaim *claim.Data, data *dyndb.QuerySheetReq) (*dyndb.QuerySheetResp, error)
- func (c *Controller) RefLoad(uclaim *claim.Data, req *dyndb.RefLoadReq) (*dyndb.QueryResult, error)
- func (c *Controller) RefQuery(uclaim *claim.Data, data *dyndb.RefQuerySheet) (*dyndb.QuerySheetResp, error)
- func (c *Controller) RefResolve(uclaim *claim.Data, req *dyndb.RefResolveReq) (*dyndb.QueryResult, error)
- func (c *Controller) ReverseRefLoad(uclaim *claim.Data, req *dyndb.RevRefLoadReq) (*dyndb.QueryResult, error)
- func (c *Controller) SimpleQuery(uclaim *claim.Data, tslug string, query dyndb.SimpleQueryReq) (*dyndb.QueryResult, error)
- func (d *Controller) TemplateQuery(uclaim *claim.Data, tslug string, query any) (*dyndb.QueryResult, error)
- func (c *Controller) UpdateRow(uclaim *claim.Data, tslug string, id, version int64, cells map[string]any) (map[string]any, error)
- func (c *Controller) UpdateRowWithCell(uclaim *claim.Data, sid, rid int64, data map[int64]map[string]any) (any, error)
- func (c *Controller) UpdateSheet(uclaim *claim.Data, id int64, data map[string]any) error
- func (c *Controller) UpdateSheetColumn(uclaim *claim.Data, sid, cid int64, data map[string]any) error
- type QuickSheetInstance
Constants ¶
This section is empty.
Variables ¶
View Source
var Templates = map[string]xbprint.NewSheetGroup{}
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(dhub dyndb.DataHub, repoman repox.Hub, cabHub store.CabinetHub, signer service.Signer) *Controller
func (*Controller) CommentRow ¶
func (*Controller) DeleteRowBatch ¶
func (c *Controller) DeleteRowBatch(uclaim *claim.Data, tslug string, filterOpts []dyndb.FilterCond) error
func (*Controller) DeleteRowMulti ¶
func (*Controller) DeleteRowWithCell ¶
func (c *Controller) DeleteRowWithCell(uclaim *claim.Data, sid, rid int64) error
func (*Controller) DeleteSheet ¶
func (c *Controller) DeleteSheet(uclaim *claim.Data, id int64) error
func (*Controller) DeleteSheetColumn ¶
func (c *Controller) DeleteSheetColumn(uclaim *claim.Data, sid, cid int64) error
func (*Controller) ExportSheets ¶
func (c *Controller) ExportSheets(uclaim *claim.Data, sheets []int64) (*dyndb.ExportData, error)
func (*Controller) FTSQuery ¶
func (c *Controller) FTSQuery(uclaim *claim.Data, req dyndb.FTSQueryReq) (*dyndb.QueryResult, error)
func (*Controller) FTSQuerySheet ¶
func (c *Controller) FTSQuerySheet(uclaim *claim.Data, req *dyndb.FTSQuerySheet) (*dyndb.QuerySheetResp, error)
func (*Controller) GetRowHistory ¶
func (c *Controller) GetRowHistory(uclaim *claim.Data, sid, rid int64) ([]*entities.DynActivity, error)
func (*Controller) GetRowRelations ¶
func (*Controller) GetSheetColumn ¶
func (*Controller) InstanceSheet ¶
func (c *Controller) InstanceSheet(uclaim *claim.Session, req QuickSheetInstance) (*xinstance.Response, error)
func (*Controller) IssueDataClaim ¶
func (*Controller) ListActivity ¶
func (c *Controller) ListActivity(uclaim *claim.Data, table string, rowId int) ([]*entities.DynActivity, error)
func (*Controller) ListDataUsers ¶
func (*Controller) ListSheetColumn ¶
func (*Controller) ListSheetGroup ¶
func (c *Controller) ListSheetGroup(uclaim *claim.Data) (*dyndb.ListSheetGroupResp, error)
func (*Controller) ListSheetTemplates ¶
func (c *Controller) ListSheetTemplates(uclaim *claim.Session) (map[string]xbprint.NewSheetGroup, error)
func (*Controller) LoadGroup ¶
func (c *Controller) LoadGroup(uclaim *claim.Data) (*dyndb.LoadDgroupResp, error)
func (*Controller) LoadSheet ¶
func (c *Controller) LoadSheet(uclaim *claim.Data, data *dyndb.LoadSheetReq) (*dyndb.LoadSheetResp, error)
func (*Controller) LoadTable ¶
func (c *Controller) LoadTable(uclaim *claim.Data, req dyndb.LoadTableReq, tslug string) (*dyndb.LoadTableResp, error)
func (*Controller) NewRowWithCell ¶
func (*Controller) NewSheetColumn ¶
func (*Controller) QuerySheet ¶
func (c *Controller) QuerySheet(uclaim *claim.Data, data *dyndb.QuerySheetReq) (*dyndb.QuerySheetResp, error)
func (*Controller) RefLoad ¶
func (c *Controller) RefLoad(uclaim *claim.Data, req *dyndb.RefLoadReq) (*dyndb.QueryResult, error)
func (*Controller) RefQuery ¶
func (c *Controller) RefQuery(uclaim *claim.Data, data *dyndb.RefQuerySheet) (*dyndb.QuerySheetResp, error)
func (*Controller) RefResolve ¶
func (c *Controller) RefResolve(uclaim *claim.Data, req *dyndb.RefResolveReq) (*dyndb.QueryResult, error)
func (*Controller) ReverseRefLoad ¶
func (c *Controller) ReverseRefLoad(uclaim *claim.Data, req *dyndb.RevRefLoadReq) (*dyndb.QueryResult, error)
func (*Controller) SimpleQuery ¶
func (c *Controller) SimpleQuery(uclaim *claim.Data, tslug string, query dyndb.SimpleQueryReq) (*dyndb.QueryResult, error)
func (*Controller) TemplateQuery ¶
func (d *Controller) TemplateQuery(uclaim *claim.Data, tslug string, query any) (*dyndb.QueryResult, error)
func (*Controller) UpdateRowWithCell ¶
func (*Controller) UpdateSheet ¶
func (*Controller) UpdateSheetColumn ¶
Click to show internal directories.
Click to hide internal directories.