constants

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OrderAsc  = "asc"
	OrderDesc = "desc"
)
View Source
const (
	OperationTypeCreate = iota + 1
	OperationTypeUpdate
	OperationTypeDelete
	OperationTypeBatchCreate
	OperationTypeBatchUpdate
	OperationTypeBatchDelete
	OperationTypeBatchUpdateSameValue
)
View Source
const (
	OpTextType             = "text"
	OpRichTextType         = "richText"
	OpMultilingualType     = "multilingual"
	OpFloatType            = "float"
	OpEncryptNumberType    = "encryptNumber"
	OpEnumType             = "enum"
	OpLookupType           = "lookup"
	OpBooleanType          = "boolean"
	OpDatetimeType         = "datetime"
	OpDateType             = "date"
	OpPhoneNumberType      = "phone"
	OpEmailType            = "email"
	OpReferenceType        = "reference_field"
	OpAutoNumberType       = "auto_number"
	OpAvatarType           = "avatar"
	OpBackLookupType       = "back_lookup"
	OpAttachmentType       = "attachment"
	OpCompositeType        = "compositeType"
	OpExtractCompositeType = "extractCompositeType"
	OpFormulaType          = "formula"
	OpConditionType        = "condition"
	OpEnumMultiType        = "enum_multi"
	OpLookupMultiType      = "lookup_multi"
	OpInheritFieldType     = "inherit"
	OpGIDFieldType         = "gid"
)
View Source
const (
	TextType             = "text"
	RichTextType         = "richText"
	MultilingualType     = "multilingual"
	FloatType            = "number"
	EncryptNumberType    = ""
	EnumType             = "option"
	LookupType           = "lookup"
	BooleanType          = "boolean"
	DatetimeType         = "dateTime"
	DateType             = "date"
	PhoneNumberType      = "mobileNumber"
	EmailType            = "email"
	ReferenceType        = "referenceField"
	AutoNumberType       = "autoId"
	AvatarType           = "avatarOrLogo"
	BackLookupType       = "backLookup"
	AttachmentType       = "file"
	CompositeType        = "compositeType"
	ExtractCompositeType = "extractSingleRecord"
	FormulaType          = "formula"
	ConditionType        = ""
	EnumMultiType        = ""
	LookupMultiType      = ""
	InheritFieldType     = ""
	GIDFieldType         = ""
)
View Source
const (
	OpOptionTypeLocal  = "local"
	OpOptionTypeGlobal = "global"

	OptionTypeCustom = "custom"
	OptionTypeGlobal = "global"
)
View Source
const (
	UniqueTypeNone = iota + 1
	UniqueTypeMultilingualCaseSensitive
	UniqueTypeMultilingualCaseInsensitive
	UniqueTypeTextCaseSensitive
	UniqueTypeTextCaseInsensitive
	UniqueTypeEmail
	UniqueTypePhoneNumber
	UniqueTypeNumber
	UniqueTypeAutoNumberCaseSensitive
	UniqueTypeAutoNumberCaseInsensitive
)
View Source
const (
	GlobalVariableCacheTableKey = "global-variable-cache-table"
)
View Source
const (
	MsgSourcePSM = "ee.kunlun.cloudfunction.faas_buildin"
)
View Source
const (
	// PageLimitDefault SDK 仅作 limit 小于 0 校验,其他校验拦截由底层控制,如当查询结果不满足受控条件时,limit 仅支持最大 200
	PageLimitDefault = 200
)

Variables

View Source
var (
	ColorIDToName = map[string]string{
		"N": "grey",
		"B": "blue",
		"W": "cyan",
		"G": "green",
		"Y": "yellow",
		"O": "orange",
		"R": "red",
		"V": "magenta",
		"P": "purple",
		"I": "blueMagenta",
	}
	ColorNameToID = map[string]string{
		"grey":        "N",
		"blue":        "B",
		"cyan":        "W",
		"green":       "G",
		"yellow":      "Y",
		"orange":      "O",
		"red":         "R",
		"magenta":     "V",
		"purple":      "P",
		"blueMagenta": "I",
	}
)
View Source
var (
	MsgIconTypes = []string{"success", "error", "progress", "info"}
)

Functions

This section is empty.

Types

type OperationType

type OperationType int

type PlatformEnvType

type PlatformEnvType int
const (
	PlatformEnvDEV PlatformEnvType = iota + 1
	PlatformEnvUAT
	PlatformEnvLR
	PlatformEnvPRE
	PlatformEnvOnline
)

func (PlatformEnvType) String

func (p PlatformEnvType) String() string

Jump to

Keyboard shortcuts

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