-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b71712f
commit 7548558
Showing
24 changed files
with
1,857 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Zeplin API | ||
* Access your resources in Zeplin | ||
* | ||
* Contact: support@zeplin.io | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
|
||
export const transformFlowBoardConnectionPositionToJSON = function (value: FlowBoardConnectionPosition): any { | ||
return { | ||
dot_index: value.dotIndex, | ||
side: value.side | ||
} | ||
} | ||
|
||
export const transformJSONToFlowBoardConnectionPosition = function (value: any): FlowBoardConnectionPosition { | ||
return { | ||
dotIndex: value.dot_index, | ||
side: value.side | ||
} | ||
} | ||
|
||
/** | ||
* | ||
* @export | ||
* @interface FlowBoardConnectionPosition | ||
*/ | ||
export interface FlowBoardConnectionPosition { | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof FlowBoardConnectionPosition | ||
*/ | ||
dotIndex: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof FlowBoardConnectionPosition | ||
*/ | ||
side: 'left' | 'right' | 'bottom' | 'top'; | ||
} | ||
|
||
|
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,77 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Zeplin API | ||
* Access your resources in Zeplin | ||
* | ||
* Contact: support@zeplin.io | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
import { | ||
EntityReference, | ||
transformEntityReferenceToJSON, | ||
transformJSONToEntityReference | ||
} from './entity-reference'; | ||
import { | ||
FlowBoardConnectionPosition, | ||
transformFlowBoardConnectionPositionToJSON, | ||
transformJSONToFlowBoardConnectionPosition | ||
} from './flow-board-connection-position'; | ||
|
||
|
||
export const transformFlowBoardConnectionToJSON = function (value: FlowBoardConnection): any { | ||
return { | ||
node: transformEntityReferenceToJSON(value.node), | ||
style: value.style, | ||
layer_source_id: value.layerSourceId, | ||
connection_position: value.connectionPosition && transformFlowBoardConnectionPositionToJSON(value.connectionPosition) | ||
} | ||
} | ||
|
||
export const transformJSONToFlowBoardConnection = function (value: any): FlowBoardConnection { | ||
return { | ||
node: transformJSONToEntityReference(value.node), | ||
style: value.style, | ||
layerSourceId: value.layer_source_id, | ||
connectionPosition: value.connection_position && transformJSONToFlowBoardConnectionPosition(value.connection_position) | ||
} | ||
} | ||
|
||
/** | ||
* | ||
* @export | ||
* @interface FlowBoardConnection | ||
*/ | ||
export interface FlowBoardConnection { | ||
/** | ||
* | ||
* @type {EntityReference} | ||
* @memberof FlowBoardConnection | ||
*/ | ||
node: EntityReference; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof FlowBoardConnection | ||
*/ | ||
style?: 'arrow' | 'point'; | ||
/** | ||
* Layer\'s identifier in the design tool | ||
* @type {string} | ||
* @memberof FlowBoardConnection | ||
*/ | ||
layerSourceId?: string; | ||
/** | ||
* | ||
* @type {FlowBoardConnectionPosition} | ||
* @memberof FlowBoardConnection | ||
*/ | ||
connectionPosition?: FlowBoardConnectionPosition; | ||
} | ||
|
||
|
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,59 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Zeplin API | ||
* Access your resources in Zeplin | ||
* | ||
* Contact: support@zeplin.io | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
|
||
|
||
export const transformFlowBoardConnectorLabelToJSON = function (value: FlowBoardConnectorLabel): any { | ||
return { | ||
text: value.text, | ||
position: value.position, | ||
width: value.width | ||
} | ||
} | ||
|
||
export const transformJSONToFlowBoardConnectorLabel = function (value: any): FlowBoardConnectorLabel { | ||
return { | ||
text: value.text, | ||
position: value.position, | ||
width: value.width | ||
} | ||
} | ||
|
||
/** | ||
* | ||
* @export | ||
* @interface FlowBoardConnectorLabel | ||
*/ | ||
export interface FlowBoardConnectorLabel { | ||
/** | ||
* Text for the connector label | ||
* @type {string} | ||
* @memberof FlowBoardConnectorLabel | ||
*/ | ||
text: string; | ||
/** | ||
* Percentage based position of the connector label | ||
* @type {number} | ||
* @memberof FlowBoardConnectorLabel | ||
*/ | ||
position?: number; | ||
/** | ||
* Width of the connector label | ||
* @type {number} | ||
* @memberof FlowBoardConnectorLabel | ||
*/ | ||
width?: number; | ||
} | ||
|
||
|
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,93 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Zeplin API | ||
* Access your resources in Zeplin | ||
* | ||
* Contact: support@zeplin.io | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
import { | ||
FlowBoardConnection, | ||
transformFlowBoardConnectionToJSON, | ||
transformJSONToFlowBoardConnection | ||
} from './flow-board-connection'; | ||
import { | ||
FlowBoardConnectorLabel, | ||
transformFlowBoardConnectorLabelToJSON, | ||
transformJSONToFlowBoardConnectorLabel | ||
} from './flow-board-connector-label'; | ||
|
||
|
||
export const transformFlowBoardConnectorToJSON = function (value: FlowBoardConnector): any { | ||
return { | ||
id: value.id, | ||
type: value.type, | ||
start: transformFlowBoardConnectionToJSON(value.start), | ||
end: transformFlowBoardConnectionToJSON(value.end), | ||
label: value.label && transformFlowBoardConnectorLabelToJSON(value.label), | ||
color: value.color | ||
} | ||
} | ||
|
||
export const transformJSONToFlowBoardConnector = function (value: any): FlowBoardConnector { | ||
return { | ||
id: value.id, | ||
type: value.type, | ||
start: transformJSONToFlowBoardConnection(value.start), | ||
end: transformJSONToFlowBoardConnection(value.end), | ||
label: value.label && transformJSONToFlowBoardConnectorLabel(value.label), | ||
color: value.color | ||
} | ||
} | ||
|
||
/** | ||
* | ||
* @export | ||
* @interface FlowBoardConnector | ||
*/ | ||
export interface FlowBoardConnector { | ||
/** | ||
* The unique id of the connector | ||
* @type {string} | ||
* @memberof FlowBoardConnector | ||
*/ | ||
id: string; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof FlowBoardConnector | ||
*/ | ||
type: 'SolidLine' | 'DashedLine'; | ||
/** | ||
* | ||
* @type {FlowBoardConnection} | ||
* @memberof FlowBoardConnector | ||
*/ | ||
start: FlowBoardConnection; | ||
/** | ||
* | ||
* @type {FlowBoardConnection} | ||
* @memberof FlowBoardConnector | ||
*/ | ||
end: FlowBoardConnection; | ||
/** | ||
* | ||
* @type {FlowBoardConnectorLabel} | ||
* @memberof FlowBoardConnector | ||
*/ | ||
label?: FlowBoardConnectorLabel; | ||
/** | ||
* Color for the connector | ||
* @type {string} | ||
* @memberof FlowBoardConnector | ||
*/ | ||
color?: 'yellow' | 'orange' | 'peach' | 'green' | 'turquoise'; | ||
} | ||
|
||
|
Oops, something went wrong.