constants

package
v0.0.24-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 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 (
	OpRateLimitError = "k_op_ec_20003"
	FsRateLimitError = "k_fs_ec_000004"
)
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 CommitSetSystemMod added in v0.0.22

type CommitSetSystemMod int64
const (
	CommitSetSystemMod_NotSet      CommitSetSystemMod = 0
	CommitSetSystemMod_SysFieldSet CommitSetSystemMod = 1
)

type OperationType

type OperationType int

type PlatformEnvType

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

func (PlatformEnvType) String

func (p PlatformEnvType) String() string

type ProcessAuthFieldType added in v0.0.22

type ProcessAuthFieldType int64
const (
	ProcessAuthFieldType_Default     ProcessAuthFieldType = 0
	ProcessAuthFieldType_BothResult  ProcessAuthFieldType = 1
	ProcessAuthFieldType_SliceResult ProcessAuthFieldType = 2
	ProcessAuthFieldType_MapResult   ProcessAuthFieldType = 3
)

type SetSystemMod added in v0.0.22

type SetSystemMod int64
const (
	SetSystemMod_NotSet  SetSystemMod = 0
	SetSystemMod_FullSet SetSystemMod = 1
	SetSystemMod_Other   SetSystemMod = 2
)

Jump to

Keyboard shortcuts

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