-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1423 from multiversx/merge-development-feat-cs-e2…
…e-tests-dec12 Merge development feat cs e2e tests
- Loading branch information
Showing
20 changed files
with
378 additions
and
230 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,14 @@ | ||
import { AbstractQuery } from "@multiversx/sdk-nestjs-elastic"; | ||
|
||
// TODO: remove this and use ScriptQuery from sdk-nestjs when PR #247 is merged | ||
export class ScriptQuery extends AbstractQuery { | ||
constructor( | ||
private readonly source: string | undefined, | ||
) { | ||
super(); | ||
} | ||
|
||
getQuery(): any { | ||
return { script: { script: { source: this.source, lang: 'painless' } } }; | ||
} | ||
} |
Oops, something went wrong.