-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: badly formatted event pattern in evb-diagram, replay bug, pretti…
…er code bindings
- Loading branch information
ljacobsson
committed
Mar 29, 2022
1 parent
56141a2
commit ae9fcc9
Showing
6 changed files
with
78 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"cfn-resource-actions.stackName": "serverlessrepo-evb-local" | ||
} |
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,24 @@ | ||
const { CSharpTargetLanguage } = require("quicktype-core"); | ||
const { | ||
StringOption, | ||
EnumOption, | ||
} = require("quicktype-core/dist/RendererOptions"); | ||
|
||
const cSharpOptions = require("quicktype-core/dist/language/CSharp"); | ||
const languages = require("quicktype-core/dist/language/All"); | ||
languages.all.splice(languages.all.findIndex(v => v.displayName === "C#"), 1) | ||
languages.all.unshift(new CSharpTargetLanguage("C#", ["csharp"], "cs")); | ||
cSharpOptions.cSharpOptions.namespace = new StringOption( | ||
"Namespace", | ||
null, | ||
null, | ||
"AutoGenerated" | ||
); | ||
cSharpOptions.cSharpOptions.useList = new EnumOption( | ||
"array-type", | ||
"Use T[] or List<T>", | ||
[ | ||
["array", true], | ||
["list", false], | ||
] | ||
); |
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 @@ | ||
const { | ||
BooleanOption, | ||
} = require("quicktype-core/dist/RendererOptions"); | ||
|
||
const options = require("quicktype-core/dist/language/Java"); | ||
|
||
options.javaOptions.justTypes = new BooleanOption( | ||
"JustTypes", | ||
null, | ||
true | ||
); | ||
options.javaOptions.useList = new BooleanOption( | ||
"UseList", | ||
null, | ||
true | ||
); |
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,12 @@ | ||
const { | ||
BooleanOption, | ||
} = require("quicktype-core/dist/RendererOptions"); | ||
|
||
const pythonOptions = require("quicktype-core/dist/language/Python"); | ||
|
||
pythonOptions.pythonOptions.justTypes = new BooleanOption( | ||
"JustTypes", | ||
null, | ||
true | ||
); | ||
|
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,11 @@ | ||
const { | ||
BooleanOption, | ||
} = require("quicktype-core/dist/RendererOptions"); | ||
|
||
const options = require("quicktype-core/dist/language/Swift"); | ||
|
||
options.swiftOptions.justTypes = new BooleanOption( | ||
"JustTypes", | ||
null, | ||
true | ||
); |
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,12 @@ | ||
const { | ||
BooleanOption, | ||
} = require("quicktype-core/dist/RendererOptions"); | ||
|
||
const typeScriptOptions = require("quicktype-core/dist/language/TypeScriptFlow"); | ||
|
||
typeScriptOptions.tsFlowOptions.justTypes = new BooleanOption( | ||
"JustTypes", | ||
null, | ||
true | ||
); | ||
|