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"}
)
View Source
var ( OpToProduct = map[string]string{ OpTextType: TextType, OpRichTextType: RichTextType, OpMultilingualType: MultilingualType, OpFloatType: FloatType, OpEncryptNumberType: EncryptNumberType, OpEnumType: EnumType, OpLookupType: LookupType, OpBooleanType: BooleanType, OpDatetimeType: DatetimeType, OpDateType: DateType, OpPhoneNumberType: PhoneNumberType, OpEmailType: EmailType, OpReferenceType: ReferenceType, OpAutoNumberType: AutoNumberType, OpAvatarType: AvatarType, OpBackLookupType: BackLookupType, OpAttachmentType: AttachmentType, OpCompositeType: CompositeType, OpExtractCompositeType: ExtractCompositeType, OpFormulaType: FormulaType, OpConditionType: ConditionType, OpEnumMultiType: EnumMultiType, OpLookupMultiType: LookupMultiType, OpInheritFieldType: InheritFieldType, OpGIDFieldType: GIDFieldType, } )
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
Click to show internal directories.
Click to hide internal directories.