Type constants
This commit is contained in:
parent
1fb530dd8e
commit
d9eb7eaa55
|
@ -4,6 +4,7 @@ import {
|
|||
INTERNAL_TABLE_SOURCE_ID,
|
||||
AutoFieldSubType,
|
||||
Hosting,
|
||||
FieldSubType,
|
||||
} from "@budibase/types"
|
||||
import { Constants } from "@budibase/frontend-core"
|
||||
|
||||
|
@ -209,7 +210,7 @@ export const Roles = {
|
|||
BUILDER: "BUILDER",
|
||||
}
|
||||
|
||||
export function isAutoColumnUserRelationship(subtype) {
|
||||
export function isAutoColumnUserRelationship(subtype: FieldSubType) {
|
||||
return (
|
||||
subtype === AUTO_COLUMN_SUB_TYPES.CREATED_BY ||
|
||||
subtype === AUTO_COLUMN_SUB_TYPES.UPDATED_BY
|
Loading…
Reference in New Issue