-
-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: publish playground from next branch (#352)
- Loading branch information
1 parent
f1652df
commit ed998f9
Showing
11 changed files
with
2,019 additions
and
1,961 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,29 @@ | ||
import React from 'react'; | ||
// @ts-ignore | ||
import Split from 'react-split'; | ||
|
||
const SplitWrapper: React.FunctionComponent = ({ children }) => ( | ||
<Split | ||
style={{ | ||
width: '100%', | ||
height: 'calc(100vh - 50px)', | ||
minHeight: 'calc(100vh - 50px)', | ||
display: 'flex', | ||
background: '#f3f4f5', | ||
}} | ||
gutter={() => { | ||
const gutter = document.createElement('div'); | ||
gutter.onmouseover = () => (gutter.style.cursor = 'ew-resize'); | ||
return gutter; | ||
}} | ||
gutterStyle={() => ({ | ||
backgroundColor: 'gray', | ||
width: '7px', | ||
})} | ||
minSize={250} | ||
> | ||
{children} | ||
</Split> | ||
); | ||
|
||
export default SplitWrapper; |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export { default as Navigation } from './Navigation'; | ||
export { default as CodeEditorComponent } from './CodeEditorComponent'; | ||
export { default as FetchSchema } from './FetchSchema'; | ||
export { default as SplitWrapper } from './SplitWrapper'; | ||
export { default as Tabs } from './Tabs'; | ||
export { default as Tab } from './Tab'; | ||
export * from './styled'; |
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,37 @@ | ||
export const invalid = ` | ||
components: | ||
messages: | ||
RideUpdated: | ||
payload: | ||
type: object | ||
schemaFormat: application/vnd.aai.asyncapi+json;version=2.0.0 | ||
contentType: application/json | ||
PaymentCharged: | ||
payload: | ||
type: object | ||
schemaFormat: application/vnd.aai.asyncapi+json;version=2.0.0 | ||
contentType: application/json | ||
channels: | ||
'taxinyc/backoffice/payment/charged/v1/{payment_status}/{driver_id}/{passenger_id}': | ||
publish: | ||
x-scs-function-name: processPayment | ||
message: | ||
$ref: '#/components/messages/PaymentCharged' | ||
parameters: | ||
driver_id: | ||
schema: | ||
type: string | ||
payment_status: | ||
schema: | ||
type: string | ||
'taxinyc/ops/ride/updated/v1/{ride_status}/{driver_id}/{passenger_id}/{current_latitude}/{current_longitude}/{long_property}': | ||
subscribe: | ||
x-scs-function-name: processPayment | ||
x-scs-destination: test/taxinyc/PaymentProcessorQueue | ||
message: | ||
$ref: '#/components/messages/RideUpdated' | ||
asyncapi: 2.0.0 | ||
info: | ||
title: ProcessPayment | ||
version: 0.0.1 | ||
`; |
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