Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVIndexer ¶ added in v0.5.0
type CSVIndexer struct {
Files []string
Count int
Positions []FileOffset
ColumnNames []string
}
type FileOffset ¶ added in v0.5.0
type NanoidMixin ¶
func (NanoidMixin) Fields ¶
func (NanoidMixin) Fields() []ent.Field
type Provider ¶ added in v0.3.0
Provider holds the schema definition for the Provider entity.
type TableColumn ¶
Column holds the schema definition for the Column entity.
func (TableColumn) Indexes ¶
func (TableColumn) Indexes() []ent.Index
func (TableColumn) Mixin ¶
func (TableColumn) Mixin() []ent.Mixin
type Workflow ¶ added in v0.4.0
Workflow holds the schema definition for the Workflow entity.
type WorkflowStep ¶ added in v0.4.0
type WorkflowStep struct {
Type WorkflowStepType `json:"type"`
// SchemaFile string `json:"schema_file"`
// OnExists WorkflowTableOnExists `json:"on_exists"`
Payload json.RawMessage `json:"payload"`
}
type WorkflowStepType ¶ added in v0.4.0
type WorkflowStepType string
const ( WorkflowStepTypeCreateTable WorkflowStepType = "CreateTable" WorkflowStepTypeImport WorkflowStepType = "Import" WorkflowStepTypeCreateColumn WorkflowStepType = "CreateColumn" WorkflowStepTypeDeleteColumn WorkflowStepType = "DeleteColumn" WorkflowStepTypeGenerate WorkflowStepType = "Generate" WorkflowStepTypeAutofill WorkflowStepType = "Autofill" WorkflowStepTypeExportTable WorkflowStepType = "ExportTable" WorkflowStepTypeDeleteTable WorkflowStepType = "DeleteTable" )
type WorkflowTableOnExists ¶ added in v0.4.0
type WorkflowTableOnExists string
const ( OnExistsStop WorkflowTableOnExists = "Stop" OnExistsRecreate WorkflowTableOnExists = "Recreate" OnExistsSkip WorkflowTableOnExists = "Skip" )
type WorkflowVariable ¶ added in v0.4.0
type WorkflowVariable struct {
Name string `json:"name"`
Type WorkflowVariableType `json:"type"`
DefaultValue any `json:"default_value"`
Options []any `json:"options"`
}
type WorkflowVariableType ¶ added in v0.4.0
type WorkflowVariableType string
const ( WorkflowVariableTypeString WorkflowVariableType = "string" WorkflowVariableTypeNumber WorkflowVariableType = "number" WorkflowVariableTypeInteger WorkflowVariableType = "integer" WorkflowVariableTypeFile WorkflowVariableType = "file" )
Click to show internal directories.
Click to hide internal directories.