packages/core/src/auth/oauth.ts
import type {
AutomationAction,
FieldAction,
RecordAction,
TableAction,
UserAction,
ViewAction,
} from './actions';
export const OAUTH_ACTIONS: (
| TableAction
| ViewAction
| FieldAction
| RecordAction
| UserAction
| AutomationAction
)[] = [
'table|create',
'table|delete',
'table|export',
'table|import',
'table|read',
'table|update',
'view|create',
'view|delete',
'view|read',
'view|update',
'field|create',
'field|delete',
'field|read',
'field|update',
'record|comment',
'record|create',
'record|delete',
'record|read',
'record|update',
'automation|create',
'automation|delete',
'automation|read',
'automation|update',
'user|email_read',
];