-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix test and fix the logic around computing Value from SQL
- Loading branch information
Showing
24 changed files
with
891 additions
and
327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
|
||
export type ArrayQueryParams = []; | ||
|
||
|
||
export interface IArrayQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IArrayQueryQuery { | ||
params: ArrayQueryParams; | ||
result: IArrayQueryResult; | ||
}; | ||
|
||
|
48 changes: 48 additions & 0 deletions
48
tests/demo/typescript/expression/arrow-function.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
|
||
|
||
export type PlainArrowFunctionParams = []; | ||
|
||
|
||
export interface IPlainArrowFunctionResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IPlainArrowFunctionQuery { | ||
params: PlainArrowFunctionParams; | ||
result: IPlainArrowFunctionResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type NameOverriddenArrowFuncParams = []; | ||
|
||
|
||
export interface INameOverriddenArrowFuncResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface INameOverriddenArrowFuncQuery { | ||
params: NameOverriddenArrowFuncParams; | ||
result: INameOverriddenArrowFuncResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type ArrowFunctionParams = []; | ||
|
||
|
||
export interface IArrowFunctionResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IArrowFunctionQuery { | ||
params: ArrowFunctionParams; | ||
result: IArrowFunctionResult; | ||
}; | ||
|
||
|
256 changes: 256 additions & 0 deletions
256
tests/demo/typescript/expression/assignment.snapshot.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,256 @@ | ||
|
||
|
||
export type AssignmentParams = []; | ||
|
||
|
||
export interface IAssignmentResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IAssignmentQuery { | ||
params: AssignmentParams; | ||
result: IAssignmentResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type PlusEqualQueryParams = []; | ||
|
||
|
||
export interface IPlusEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IPlusEqualQueryQuery { | ||
params: PlusEqualQueryParams; | ||
result: IPlusEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type MinusEqualQueryParams = []; | ||
|
||
|
||
export interface IMinusEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IMinusEqualQueryQuery { | ||
params: MinusEqualQueryParams; | ||
result: IMinusEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type MultiplyEqualQueryParams = []; | ||
|
||
|
||
export interface IMultiplyEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IMultiplyEqualQueryQuery { | ||
params: MultiplyEqualQueryParams; | ||
result: IMultiplyEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type MulMulEqualQueryParams = []; | ||
|
||
|
||
export interface IMulMulEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IMulMulEqualQueryQuery { | ||
params: MulMulEqualQueryParams; | ||
result: IMulMulEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type SlashEqualQueryParams = []; | ||
|
||
|
||
export interface ISlashEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface ISlashEqualQueryQuery { | ||
params: SlashEqualQueryParams; | ||
result: ISlashEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type PercentEqualQueryParams = []; | ||
|
||
|
||
export interface IPercentEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IPercentEqualQueryQuery { | ||
params: PercentEqualQueryParams; | ||
result: IPercentEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type LessLessEqualQueryParams = []; | ||
|
||
|
||
export interface ILessLessEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface ILessLessEqualQueryQuery { | ||
params: LessLessEqualQueryParams; | ||
result: ILessLessEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type GreaterGreaterEqualQueryParams = []; | ||
|
||
|
||
export interface IGreaterGreaterEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IGreaterGreaterEqualQueryQuery { | ||
params: GreaterGreaterEqualQueryParams; | ||
result: IGreaterGreaterEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type GreaterGreaterGreaterEqualQueryParams = []; | ||
|
||
|
||
export interface IGreaterGreaterGreaterEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IGreaterGreaterGreaterEqualQueryQuery { | ||
params: GreaterGreaterGreaterEqualQueryParams; | ||
result: IGreaterGreaterGreaterEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type AmpersandEqualQueryParams = []; | ||
|
||
|
||
export interface IAmpersandEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IAmpersandEqualQueryQuery { | ||
params: AmpersandEqualQueryParams; | ||
result: IAmpersandEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type AmpersandAmpersandEqualQueryParams = []; | ||
|
||
|
||
export interface IAmpersandAmpersandEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IAmpersandAmpersandEqualQueryQuery { | ||
params: AmpersandAmpersandEqualQueryParams; | ||
result: IAmpersandAmpersandEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type BarEqualQueryParams = []; | ||
|
||
|
||
export interface IBarEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IBarEqualQueryQuery { | ||
params: BarEqualQueryParams; | ||
result: IBarEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type BarBarEqualQueryParams = []; | ||
|
||
|
||
export interface IBarBarEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IBarBarEqualQueryQuery { | ||
params: BarBarEqualQueryParams; | ||
result: IBarBarEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type QuestionQuestionEqualQueryParams = []; | ||
|
||
|
||
export interface IQuestionQuestionEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface IQuestionQuestionEqualQueryQuery { | ||
params: QuestionQuestionEqualQueryParams; | ||
result: IQuestionQuestionEqualQueryResult; | ||
}; | ||
|
||
|
||
|
||
|
||
export type CaretEqualQueryParams = []; | ||
|
||
|
||
export interface ICaretEqualQueryResult { | ||
id: number; | ||
}; | ||
|
||
|
||
export interface ICaretEqualQueryQuery { | ||
params: CaretEqualQueryParams; | ||
result: ICaretEqualQueryResult; | ||
}; | ||
|
||
|
Oops, something went wrong.