Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/AbstractSQLCompiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ export type UnknownNode = AbstractSqlQuery;
export interface AbstractSqlQuery extends Array<AbstractSqlType> {
0: string;
}
export type AllowedAction = Set<'Read' | 'Write' | 'Update'>;

export interface AbstractSqlField {
fieldName: string;
Expand All @@ -457,6 +458,7 @@ export interface AbstractSqlField {
defaultValue?: string;
computed?: AbstractSqlQuery;
checks?: BooleanTypeNodes[];
allowedAction?: AllowedAction;
}
export interface Trigger {
operation: 'INSERT' | 'UPDATE' | 'DELETE' | 'TRUNCATE';
Expand Down
Loading