@@ -9,84 +9,90 @@ import Foundation
99import SwiftUI
1010
1111// MARK: - UPDATE VERSION NUMBERS HERE
12- public typealias CurrentAsyncMediaValue = AsyncMediaValue_V20
13- public typealias CurrentClassicAnimationCurve = ClassicAnimationCurve_V20
14- public typealias CurrentCameraSettings = CameraSettings_V20
15- public typealias CurrentCommentBoxData = CommentBoxData_V20
16- public typealias CurrentCustomShape = CustomShape_V20
17- public typealias CurrentDataType = DataType_V20
18- public typealias CurrentDelayStyle = DelayStyle_V20
19- public typealias CurrentDateAndTimeFormat = DateAndTimeFormat_V20
20- public typealias CurrentExpansionDirection = ExpansionDirection_V20
21- public typealias CurrentGroupNodeIDCoordinate = GroupNodeID_V20
22- public typealias CurrentPatch = Patch_V20
23- public typealias CurrentPatchNodeEntity = PatchNodeEntity_V20
24- public typealias CurrentLayerDimension = LayerDimension_V20
25- public typealias CurrentLayerNodeEntity = LayerNodeEntity_V20
26- public typealias CurrentLayerNodeId = LayerNodeId_V20
27- public typealias CurrentNodeEntity = NodeEntity_V20
28- public typealias CurrentNodePortInputEntity = NodePortInputEntity_V20
29- public typealias CurrentSplitterNodeEntity = SplitterNodeEntity_V20
30- public typealias CurrentSplitterType = SplitterType_V20
31- public typealias CurrentNodeIOCoordinate = NodeIOCoordinate_V20
32- public typealias CurrentJSONCurveTo = JSONCurveTo_V20
33- public typealias CurrentJSONShapeCommand = JSONShapeCommand_V20
34- public typealias CurrentJSONShapeKeys = JSONShapeKeys_V20
35- public typealias CurrentSidebarLayerData = SidebarLayerData_V20
36- public typealias CurrentNodeKind = NodeKind_V20
37- public typealias CurrentAnchoring = Anchoring_V20
38- public typealias CurrentCameraDirection = CameraDirection_V20
39- public typealias CurrentLayer = Layer_V20
40- public typealias CurrentLayerSize = LayerSize_V20
41- public typealias CurrentLayerTextDecoration = LayerTextDecoration_V20
42- public typealias CurrentLayerStroke = LayerStroke_V20
43- public typealias CurrentLayerTextAlignment = LayerTextAlignment_V20
44- public typealias CurrentLayerTextVerticalAlignment = LayerTextVerticalAlignment_V20
45- public typealias CurrentLightType = LightType_V20
46- public typealias CurrentMediaKey = MediaKey_V20
47- public typealias CurrentMobileHapticStyle = MobileHapticStyle_V20
48- public typealias CurrentNetworkRequestType = NetworkRequestType_V20
49- public typealias CurrentPathPoint = PathPoint_V20
50- public typealias CurrentPlane = Plane_V20
51- public typealias CurrentPoint3D = Point3D_V20
52- public typealias CurrentPoint4D = Point4D_V20
53- public typealias CurrentPortValueComparable = PortValueComparable_V20
54- public typealias CurrentPreviewSize = PreviewSize_V20
55- public typealias CurrentRGBA = RGBA_V20
56- public typealias CurrentRoundedRectangleData = RoundedRectangleData_V20
57- public typealias CurrentScrollDecelerationRate = ScrollDecelerationRate_V20
58- public typealias CurrentScrollJumpStyle = ScrollJumpStyle_V20
59- public typealias CurrentScrollMode = ScrollMode_V20
60- public typealias CurrentShapeCommand = ShapeCommand_V20
61- public typealias CurrentShapeCommandType = ShapeCommandType_V20
62- public typealias CurrentShapeCoordinates = ShapeCoordinates_V20
63- public typealias CurrentShapeAndRect = ShapeAndRect_V20
64- public typealias CurrentStitchDocument = StitchDocument_V20
65- public typealias CurrentStitchBlendMode = StitchBlendMode_V20
66- public typealias CurrentStitchCameraOrientation = StitchCameraOrientation_V20
67- public typealias CurrentStitchDeviceOrientation = StitchDeviceOrientation_V20
68- public typealias CurrentStitchMapType = StitchMapType_V20
69- public typealias CurrentStitchFont = StitchFont_V20
70- public typealias CurrentStitchFontChoice = StitchFontChoice_V20
71- public typealias CurrentStitchFontWeight = StitchFontWeight_V20
72- public typealias CurrentStitchJSON = StitchJSON_V20
73- public typealias CurrentStitchOrientation = StitchOrientation_V20
74- public typealias CurrentStitchProgressIndicatorStyle = ProgressIndicatorStyle_V20
75- public typealias CurrentTextTransform = TextTransform_V20
76- public typealias CurrentTriangleData = TriangleData_V20
77- public typealias CurrentPortValue = PortValue_V20
78- public typealias CurrentUserVisibleType = UserVisibleType_V20
79- public typealias CurrentVisualMediaFitStyle = VisualMediaFitStyle_V20
80- public typealias CurrentNodeConnectionType = NodeConnectionType_V20
81- public typealias CurrentLayerInputType = LayerInputType_V20
82- public typealias CurrentNodeIOPortType = NodeIOPortType_V20
83- public typealias CurrentStrokeLineCap = StrokeLineCap_V20
84- public typealias CurrentStrokeLineJoin = StrokeLineJoin_V20
85- public typealias CurrentStitchStringValue = StitchStringValue_V20
86- public typealias CurrentStitchContentMode = StitchContentMode_V20
87- public typealias CurrentStitchSpacing = StitchSpacing_V20
88- public typealias CurrentStitchPadding = StitchPadding_V20
89- public typealias CurrentSizingScenario = SizingScenario_V20
12+ public typealias CurrentAsyncMediaValue = AsyncMediaValue_V21
13+ public typealias CurrentClassicAnimationCurve = ClassicAnimationCurve_V21
14+ public typealias CurrentCameraSettings = CameraSettings_V21
15+ public typealias CurrentCommentBoxData = CommentBoxData_V21
16+ public typealias CurrentCustomShape = CustomShape_V21
17+ public typealias CurrentDataType = DataType_V21
18+ public typealias CurrentDelayStyle = DelayStyle_V21
19+ public typealias CurrentDateAndTimeFormat = DateAndTimeFormat_V21
20+ public typealias CurrentExpansionDirection = ExpansionDirection_V21
21+ public typealias CurrentGroupNodeIDCoordinate = GroupNodeID_V21
22+ public typealias CurrentPatch = Patch_V21
23+ public typealias CurrentPatchNodeEntity = PatchNodeEntity_V21
24+ public typealias CurrentLayerDimension = LayerDimension_V21
25+ public typealias CurrentLayerNodeEntity = LayerNodeEntity_V21
26+ public typealias CurrentLayerNodeId = LayerNodeId_V21
27+ public typealias CurrentNodeEntity = NodeEntity_V21
28+ public typealias CurrentNodePortInputEntity = NodePortInputEntity_V21
29+ public typealias CurrentSplitterNodeEntity = SplitterNodeEntity_V21
30+ public typealias CurrentSplitterType = SplitterType_V21
31+ public typealias CurrentNodeIOCoordinate = NodeIOCoordinate_V21
32+ public typealias CurrentJSONCurveTo = JSONCurveTo_V21
33+ public typealias CurrentJSONShapeCommand = JSONShapeCommand_V21
34+ public typealias CurrentJSONShapeKeys = JSONShapeKeys_V21
35+ public typealias CurrentSidebarLayerData = SidebarLayerData_V21
36+ public typealias CurrentNodeKind = NodeKind_V21
37+ public typealias CurrentAnchoring = Anchoring_V21
38+ public typealias CurrentCameraDirection = CameraDirection_V21
39+ public typealias CurrentLayer = Layer_V21
40+ public typealias CurrentLayerSize = LayerSize_V21
41+ public typealias CurrentLayerTextDecoration = LayerTextDecoration_V21
42+ public typealias CurrentLayerStroke = LayerStroke_V21
43+ public typealias CurrentLayerTextAlignment = LayerTextAlignment_V21
44+ public typealias CurrentLayerTextVerticalAlignment = LayerTextVerticalAlignment_V21
45+ public typealias CurrentLightType = LightType_V21
46+ public typealias CurrentMediaKey = MediaKey_V21
47+ public typealias CurrentMobileHapticStyle = MobileHapticStyle_V21
48+ public typealias CurrentNetworkRequestType = NetworkRequestType_V21
49+ public typealias CurrentPathPoint = PathPoint_V21
50+ public typealias CurrentPlane = Plane_V21
51+ public typealias CurrentPoint3D = Point3D_V21
52+ public typealias CurrentPoint4D = Point4D_V21
53+ public typealias CurrentPortValueComparable = PortValueComparable_V21
54+ public typealias CurrentPreviewSize = PreviewSize_V21
55+ public typealias CurrentRGBA = RGBA_V21
56+ public typealias CurrentRoundedRectangleData = RoundedRectangleData_V21
57+ public typealias CurrentScrollDecelerationRate = ScrollDecelerationRate_V21
58+ public typealias CurrentScrollJumpStyle = ScrollJumpStyle_V21
59+ public typealias CurrentScrollMode = ScrollMode_V21
60+ public typealias CurrentShapeCommand = ShapeCommand_V21
61+ public typealias CurrentShapeCommandType = ShapeCommandType_V21
62+ public typealias CurrentShapeCoordinates = ShapeCoordinates_V21
63+ public typealias CurrentShapeAndRect = ShapeAndRect_V21
64+ public typealias CurrentStitchDocument = StitchDocument_V21
65+ public typealias CurrentStitchBlendMode = StitchBlendMode_V21
66+ public typealias CurrentStitchCameraOrientation = StitchCameraOrientation_V21
67+ public typealias CurrentStitchDeviceOrientation = StitchDeviceOrientation_V21
68+ public typealias CurrentStitchMapType = StitchMapType_V21
69+ public typealias CurrentStitchFont = StitchFont_V21
70+ public typealias CurrentStitchFontChoice = StitchFontChoice_V21
71+ public typealias CurrentStitchFontWeight = StitchFontWeight_V21
72+ public typealias CurrentStitchJSON = StitchJSON_V21
73+ public typealias CurrentStitchOrientation = StitchOrientation_V21
74+ public typealias CurrentStitchProgressIndicatorStyle = ProgressIndicatorStyle_V21
75+ public typealias CurrentTextTransform = TextTransform_V21
76+ public typealias CurrentTriangleData = TriangleData_V21
77+ public typealias CurrentPortValue = PortValue_V21
78+ public typealias CurrentUserVisibleType = UserVisibleType_V21
79+ public typealias CurrentVisualMediaFitStyle = VisualMediaFitStyle_V21
80+ public typealias CurrentNodeConnectionType = NodeConnectionType_V21
81+ public typealias CurrentLayerInputType = LayerInputType_V21
82+ public typealias CurrentNodeIOPortType = NodeIOPortType_V21
83+ public typealias CurrentStrokeLineCap = StrokeLineCap_V21
84+ public typealias CurrentStrokeLineJoin = StrokeLineJoin_V21
85+ public typealias CurrentStitchStringValue = StitchStringValue_V21
86+ public typealias CurrentStitchContentMode = StitchContentMode_V21
87+ public typealias CurrentStitchSpacing = StitchSpacing_V21
88+ public typealias CurrentStitchPadding = StitchPadding_V21
89+ public typealias CurrentSizingScenario = SizingScenario_V21
90+ public typealias CurrentNodeTypeEntity = NodeTypeEntity_V21
91+ public typealias CurrentCanvasNodeEntity = CanvasNodeEntity_V21
92+ public typealias CurrentLayerInputDataEntity = LayerInputDataEntity_V21
93+ public typealias CurrentCanvasItemId = CanvasItemId_V21
94+ public typealias CurrentLayerInputCoordinate = LayerInputCoordinate_V21
95+ public typealias CurrentLayerOutputCoordinate = LayerOutputCoordinate_V21
9096
9197// MARK: - end
9298
@@ -170,6 +176,12 @@ public typealias StitchContentMode = CurrentStitchContentMode.StitchContentMode
170176public typealias StitchSpacing = CurrentStitchSpacing . StitchSpacing
171177public typealias StitchPadding = CurrentStitchPadding . StitchPadding
172178public typealias SizingScenario = CurrentSizingScenario . SizingScenario
179+ public typealias NodeTypeEntity = CurrentNodeTypeEntity . NodeTypeEntity
180+ public typealias CanvasNodeEntity = CurrentCanvasNodeEntity . CanvasNodeEntity
181+ public typealias LayerInputDataEntity = CurrentLayerInputDataEntity . LayerInputDataEntity
182+ public typealias CanvasItemId = CurrentCanvasItemId . CanvasItemId
183+ public typealias LayerInputCoordinate = CurrentLayerInputCoordinate . LayerInputCoordinate
184+ public typealias LayerOutputCoordinate = CurrentLayerOutputCoordinate . LayerOutputCoordinate
173185
174186public enum StitchSchemaVersion : Int , VersionType {
175187 case _V1 = 1
@@ -192,6 +204,7 @@ public enum StitchSchemaVersion: Int, VersionType {
192204 case _V18 = 18
193205 case _V19 = 19
194206 case _V20 = 20
207+ case _V21 = 21
195208}
196209
197210public protocol VersionType : CaseIterable , Codable , Comparable , RawRepresentable { }
@@ -255,6 +268,8 @@ extension StitchDocumentVersion {
255268 return StitchDocument_V19 . StitchDocument. self
256269 case . _V20:
257270 return StitchDocument_V20 . StitchDocument. self
271+ case . _V21:
272+ return StitchDocument_V21 . StitchDocument. self
258273 }
259274 }
260275}
0 commit comments