diff --git a/CHANGELOG.md b/CHANGELOG.md index d6ae8c4..8a593d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ ## 8.0.0-alpha.2 - Generate models from Figma's REST API specification ([@donny-dont](https://github.com/donny-dont)) -- Update to v0.36.0 of REST API specification ([@donny-dont](https://github.com/donny-dont)) +- Update to v0.40.0 of REST API specification ([@donny-dont](https://github.com/donny-dont)) - Add `Slot` support ([@donny-dont](https://github.com/donny-dont)) - Require `sdk: ^3.8.0` diff --git a/lib/src/client.dart b/lib/src/client.dart index f131789..3dcb480 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -146,6 +146,12 @@ class FigmaClient { '/teams/$team/projects', ).then(TeamProjectsResponse.fromJson); + /// Retrieves the [project] metadata. + Future getProjectMeta(String project) => _getFigma( + apiVersion, + '/projects/$project/meta', + ).then(ProjectMetaResponse.fromJson); + /// Retrieves all project files specified by [project]. Future getProjectFiles(String project) => _getFigma( apiVersion, diff --git a/lib/src/models.dart b/lib/src/models.dart index c77f75e..e103b8e 100644 --- a/lib/src/models.dart +++ b/lib/src/models.dart @@ -191,6 +191,7 @@ export 'models/progressive_blur_effect.dart'; export 'models/project.dart'; export 'models/project_file.dart'; export 'models/project_files_response.dart'; +export 'models/project_meta_response.dart'; export 'models/prototype_device.dart'; export 'models/prototype_device_rotation.dart'; export 'models/prototype_device_type.dart'; diff --git a/lib/src/models/action.dart b/lib/src/models/action.dart index d22d41c..4cceb84 100644 --- a/lib/src/models/action.dart +++ b/lib/src/models/action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/action_type.dart b/lib/src/models/action_type.dart index 53945f2..b7c2714 100644 --- a/lib/src/models/action_type.dart +++ b/lib/src/models/action_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/after_timeout_trigger.dart b/lib/src/models/after_timeout_trigger.dart index c6a007b..1efd626 100644 --- a/lib/src/models/after_timeout_trigger.dart +++ b/lib/src/models/after_timeout_trigger.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/annotations_trait.dart b/lib/src/models/annotations_trait.dart index 4b0f949..9e6b0c6 100644 --- a/lib/src/models/annotations_trait.dart +++ b/lib/src/models/annotations_trait.dart @@ -1,3 +1,3 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification abstract mixin class AnnotationsTrait {} diff --git a/lib/src/models/arc_data.dart b/lib/src/models/arc_data.dart index 0221ad0..3f73606 100644 --- a/lib/src/models/arc_data.dart +++ b/lib/src/models/arc_data.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/base_type_style.dart b/lib/src/models/base_type_style.dart index ab1bad6..f18acf6 100644 --- a/lib/src/models/base_type_style.dart +++ b/lib/src/models/base_type_style.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'hyperlink.dart'; import 'paint.dart'; diff --git a/lib/src/models/blend_mode.dart b/lib/src/models/blend_mode.dart index 1e6b4b2..6cdcc82 100644 --- a/lib/src/models/blend_mode.dart +++ b/lib/src/models/blend_mode.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/blur_effect.dart b/lib/src/models/blur_effect.dart index c24aa2a..767913d 100644 --- a/lib/src/models/blur_effect.dart +++ b/lib/src/models/blur_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/blur_effect_variables.dart b/lib/src/models/blur_effect_variables.dart index 6fd0c33..f5f94fb 100644 --- a/lib/src/models/blur_effect_variables.dart +++ b/lib/src/models/blur_effect_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/blur_type.dart b/lib/src/models/blur_type.dart index 4b982a4..7f920c5 100644 --- a/lib/src/models/blur_type.dart +++ b/lib/src/models/blur_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/boolean_operation.dart b/lib/src/models/boolean_operation.dart index 236b960..92df4da 100644 --- a/lib/src/models/boolean_operation.dart +++ b/lib/src/models/boolean_operation.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/boolean_operation_node.dart b/lib/src/models/boolean_operation_node.dart index 97e6dd2..bd04399 100644 --- a/lib/src/models/boolean_operation_node.dart +++ b/lib/src/models/boolean_operation_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/branch.dart b/lib/src/models/branch.dart index 528876d..7f3db09 100644 --- a/lib/src/models/branch.dart +++ b/lib/src/models/branch.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/canvas.dart b/lib/src/models/canvas.dart index 912ac03..5fdc70d 100644 --- a/lib/src/models/canvas.dart +++ b/lib/src/models/canvas.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/client_meta.dart b/lib/src/models/client_meta.dart index 406c6e0..e3f797d 100644 --- a/lib/src/models/client_meta.dart +++ b/lib/src/models/client_meta.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification /// Positioning information of the comment. /// diff --git a/lib/src/models/color_stop.dart b/lib/src/models/color_stop.dart index 1174397..adf164f 100644 --- a/lib/src/models/color_stop.dart +++ b/lib/src/models/color_stop.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/color_stop_variables.dart b/lib/src/models/color_stop_variables.dart index 1c41ddf..c733300 100644 --- a/lib/src/models/color_stop_variables.dart +++ b/lib/src/models/color_stop_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/comment.dart b/lib/src/models/comment.dart index 4c83926..71cf6fc 100644 --- a/lib/src/models/comment.dart +++ b/lib/src/models/comment.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/comment_fragment.dart b/lib/src/models/comment_fragment.dart index 4f871bb..9bbe532 100644 --- a/lib/src/models/comment_fragment.dart +++ b/lib/src/models/comment_fragment.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/comment_pin_corner.dart b/lib/src/models/comment_pin_corner.dart index 231f419..acf7804 100644 --- a/lib/src/models/comment_pin_corner.dart +++ b/lib/src/models/comment_pin_corner.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/comments_response.dart b/lib/src/models/comments_response.dart index bc2df34..58c1732 100644 --- a/lib/src/models/comments_response.dart +++ b/lib/src/models/comments_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/complex_strokes_trait.dart b/lib/src/models/complex_strokes_trait.dart index 72c807b..dd07040 100644 --- a/lib/src/models/complex_strokes_trait.dart +++ b/lib/src/models/complex_strokes_trait.dart @@ -1,3 +1,3 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification abstract mixin class ComplexStrokesTrait {} diff --git a/lib/src/models/component.dart b/lib/src/models/component.dart index 11af61c..78c454e 100644 --- a/lib/src/models/component.dart +++ b/lib/src/models/component.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/component_node.dart b/lib/src/models/component_node.dart index 3729a59..0a7749c 100644 --- a/lib/src/models/component_node.dart +++ b/lib/src/models/component_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/component_properties_trait.dart b/lib/src/models/component_properties_trait.dart index 7d7bff3..df3eb6a 100644 --- a/lib/src/models/component_properties_trait.dart +++ b/lib/src/models/component_properties_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'component_property_definition.dart'; diff --git a/lib/src/models/component_property.dart b/lib/src/models/component_property.dart index fae2339..58b423f 100644 --- a/lib/src/models/component_property.dart +++ b/lib/src/models/component_property.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/component_property_definition.dart b/lib/src/models/component_property_definition.dart index d520859..f96ffaf 100644 --- a/lib/src/models/component_property_definition.dart +++ b/lib/src/models/component_property_definition.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/component_property_definition_variables.dart b/lib/src/models/component_property_definition_variables.dart index 898fcb8..64e38ed 100644 --- a/lib/src/models/component_property_definition_variables.dart +++ b/lib/src/models/component_property_definition_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/component_property_type.dart b/lib/src/models/component_property_type.dart index 74f459d..75fcb13 100644 --- a/lib/src/models/component_property_type.dart +++ b/lib/src/models/component_property_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/component_property_variables.dart b/lib/src/models/component_property_variables.dart index 57e6bd6..98abd7c 100644 --- a/lib/src/models/component_property_variables.dart +++ b/lib/src/models/component_property_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/component_response.dart b/lib/src/models/component_response.dart index a397b70..90082e9 100644 --- a/lib/src/models/component_response.dart +++ b/lib/src/models/component_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/component_set.dart b/lib/src/models/component_set.dart index c40f4ca..5a149fa 100644 --- a/lib/src/models/component_set.dart +++ b/lib/src/models/component_set.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/component_set_node.dart b/lib/src/models/component_set_node.dart index fc7c007..9dff85c 100644 --- a/lib/src/models/component_set_node.dart +++ b/lib/src/models/component_set_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/component_set_response.dart b/lib/src/models/component_set_response.dart index 473d1a3..b320d38 100644 --- a/lib/src/models/component_set_response.dart +++ b/lib/src/models/component_set_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/component_sets_meta.dart b/lib/src/models/component_sets_meta.dart index fcf367a..dbdc463 100644 --- a/lib/src/models/component_sets_meta.dart +++ b/lib/src/models/component_sets_meta.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/component_sets_response.dart b/lib/src/models/component_sets_response.dart index 55a1d3c..b4a4f18 100644 --- a/lib/src/models/component_sets_response.dart +++ b/lib/src/models/component_sets_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/components_meta.dart b/lib/src/models/components_meta.dart index 4c46328..45c91e7 100644 --- a/lib/src/models/components_meta.dart +++ b/lib/src/models/components_meta.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/components_response.dart b/lib/src/models/components_response.dart index 0d554e5..389a606 100644 --- a/lib/src/models/components_response.dart +++ b/lib/src/models/components_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/conditional_action.dart b/lib/src/models/conditional_action.dart index a9c7b06..4f1185d 100644 --- a/lib/src/models/conditional_action.dart +++ b/lib/src/models/conditional_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/conditional_block.dart b/lib/src/models/conditional_block.dart index 247dd8c..af56660 100644 --- a/lib/src/models/conditional_block.dart +++ b/lib/src/models/conditional_block.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/connector_endpoint.dart b/lib/src/models/connector_endpoint.dart index 0341722..3469942 100644 --- a/lib/src/models/connector_endpoint.dart +++ b/lib/src/models/connector_endpoint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/connector_line_type.dart b/lib/src/models/connector_line_type.dart index 1282c43..09cce6a 100644 --- a/lib/src/models/connector_line_type.dart +++ b/lib/src/models/connector_line_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/connector_node.dart b/lib/src/models/connector_node.dart index 366d429..9bb477d 100644 --- a/lib/src/models/connector_node.dart +++ b/lib/src/models/connector_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/connector_stroke_cap.dart b/lib/src/models/connector_stroke_cap.dart index 948114c..5d77422 100644 --- a/lib/src/models/connector_stroke_cap.dart +++ b/lib/src/models/connector_stroke_cap.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/connector_text_background.dart b/lib/src/models/connector_text_background.dart index c5e234f..42af282 100644 --- a/lib/src/models/connector_text_background.dart +++ b/lib/src/models/connector_text_background.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/constraint.dart b/lib/src/models/constraint.dart index b53ef6e..1f23084 100644 --- a/lib/src/models/constraint.dart +++ b/lib/src/models/constraint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/constraint_type.dart b/lib/src/models/constraint_type.dart index 94f3acd..43ea88f 100644 --- a/lib/src/models/constraint_type.dart +++ b/lib/src/models/constraint_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/containing_component_set.dart b/lib/src/models/containing_component_set.dart index 8f7cd53..5721cc4 100644 --- a/lib/src/models/containing_component_set.dart +++ b/lib/src/models/containing_component_set.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/corner_radius_shape_traits.dart b/lib/src/models/corner_radius_shape_traits.dart index 0344a13..d94d9e6 100644 --- a/lib/src/models/corner_radius_shape_traits.dart +++ b/lib/src/models/corner_radius_shape_traits.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'corner_trait.dart'; import 'default_shape_traits.dart'; diff --git a/lib/src/models/corner_trait.dart b/lib/src/models/corner_trait.dart index e9a2ab6..79d4c43 100644 --- a/lib/src/models/corner_trait.dart +++ b/lib/src/models/corner_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification abstract mixin class CornerTrait { /// Radius of each corner if a single radius is set for all corners. diff --git a/lib/src/models/counter_axis_align_content.dart b/lib/src/models/counter_axis_align_content.dart index 60cb2e7..217c236 100644 --- a/lib/src/models/counter_axis_align_content.dart +++ b/lib/src/models/counter_axis_align_content.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/counter_axis_align_items.dart b/lib/src/models/counter_axis_align_items.dart index c2a25d1..7e625a0 100644 --- a/lib/src/models/counter_axis_align_items.dart +++ b/lib/src/models/counter_axis_align_items.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/counter_axis_sizing_mode.dart b/lib/src/models/counter_axis_sizing_mode.dart index 30e86e5..a40f8ad 100644 --- a/lib/src/models/counter_axis_sizing_mode.dart +++ b/lib/src/models/counter_axis_sizing_mode.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/cubic_bezier.dart b/lib/src/models/cubic_bezier.dart index b8d8f24..aa8aa31 100644 --- a/lib/src/models/cubic_bezier.dart +++ b/lib/src/models/cubic_bezier.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/default_shape_traits.dart b/lib/src/models/default_shape_traits.dart index 2056626..7c8e952 100644 --- a/lib/src/models/default_shape_traits.dart +++ b/lib/src/models/default_shape_traits.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'complex_strokes_trait.dart'; import 'has_blend_mode_and_opacity_trait.dart'; diff --git a/lib/src/models/dev_mode_status.dart b/lib/src/models/dev_mode_status.dart index 74ce936..45d2ba6 100644 --- a/lib/src/models/dev_mode_status.dart +++ b/lib/src/models/dev_mode_status.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/dev_mode_status_update_payload.dart b/lib/src/models/dev_mode_status_update_payload.dart index 4a5ae7e..710bf27 100644 --- a/lib/src/models/dev_mode_status_update_payload.dart +++ b/lib/src/models/dev_mode_status_update_payload.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/dev_resource.dart b/lib/src/models/dev_resource.dart index e2611db..7f1545c 100644 --- a/lib/src/models/dev_resource.dart +++ b/lib/src/models/dev_resource.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/dev_status.dart b/lib/src/models/dev_status.dart index cf57efd..73ac582 100644 --- a/lib/src/models/dev_status.dart +++ b/lib/src/models/dev_status.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/dev_status_trait.dart b/lib/src/models/dev_status_trait.dart index 6a06861..fcc4888 100644 --- a/lib/src/models/dev_status_trait.dart +++ b/lib/src/models/dev_status_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'dev_status.dart'; diff --git a/lib/src/models/directional_transition.dart b/lib/src/models/directional_transition.dart index a67b3db..dd30460 100644 --- a/lib/src/models/directional_transition.dart +++ b/lib/src/models/directional_transition.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/document.dart b/lib/src/models/document.dart index ebce392..d6fc2eb 100644 --- a/lib/src/models/document.dart +++ b/lib/src/models/document.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/documentation_link.dart b/lib/src/models/documentation_link.dart index 6fa609c..4ba9e37 100644 --- a/lib/src/models/documentation_link.dart +++ b/lib/src/models/documentation_link.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/drop_shadow_effect.dart b/lib/src/models/drop_shadow_effect.dart index 6e0187c..fe85cdb 100644 --- a/lib/src/models/drop_shadow_effect.dart +++ b/lib/src/models/drop_shadow_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/duotone_noise_effect.dart b/lib/src/models/duotone_noise_effect.dart index 99330b7..b8ce663 100644 --- a/lib/src/models/duotone_noise_effect.dart +++ b/lib/src/models/duotone_noise_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/easing.dart b/lib/src/models/easing.dart index ba8e901..62a956a 100644 --- a/lib/src/models/easing.dart +++ b/lib/src/models/easing.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/easing_type.dart b/lib/src/models/easing_type.dart index 40e2e33..7cbeb53 100644 --- a/lib/src/models/easing_type.dart +++ b/lib/src/models/easing_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/editor_type.dart b/lib/src/models/editor_type.dart index 80a541d..82ee27b 100644 --- a/lib/src/models/editor_type.dart +++ b/lib/src/models/editor_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/effect.dart b/lib/src/models/effect.dart index 82424e5..0612a98 100644 --- a/lib/src/models/effect.dart +++ b/lib/src/models/effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/effect_type.dart b/lib/src/models/effect_type.dart index ad5f30e..626f166 100644 --- a/lib/src/models/effect_type.dart +++ b/lib/src/models/effect_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/ellipse_node.dart b/lib/src/models/ellipse_node.dart index 6225395..7f523bb 100644 --- a/lib/src/models/ellipse_node.dart +++ b/lib/src/models/ellipse_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/embed_node.dart b/lib/src/models/embed_node.dart index c02fbc7..65a2d74 100644 --- a/lib/src/models/embed_node.dart +++ b/lib/src/models/embed_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/emoji.dart b/lib/src/models/emoji.dart index c00004d..c048a31 100644 --- a/lib/src/models/emoji.dart +++ b/lib/src/models/emoji.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification /// The emoji type of reaction as shortcode (e. /// diff --git a/lib/src/models/export_format.dart b/lib/src/models/export_format.dart index bb430fa..3421f01 100644 --- a/lib/src/models/export_format.dart +++ b/lib/src/models/export_format.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/export_setting.dart b/lib/src/models/export_setting.dart index 7d02386..740320c 100644 --- a/lib/src/models/export_setting.dart +++ b/lib/src/models/export_setting.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/expression.dart b/lib/src/models/expression.dart index 97d3f36..01fcac5 100644 --- a/lib/src/models/expression.dart +++ b/lib/src/models/expression.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/expression_function.dart b/lib/src/models/expression_function.dart index 00f90e1..53aa094 100644 --- a/lib/src/models/expression_function.dart +++ b/lib/src/models/expression_function.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/file_comment_payload.dart b/lib/src/models/file_comment_payload.dart index f7d8c5d..aa29fc4 100644 --- a/lib/src/models/file_comment_payload.dart +++ b/lib/src/models/file_comment_payload.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/file_delete_payload.dart b/lib/src/models/file_delete_payload.dart index dbabd77..17cf420 100644 --- a/lib/src/models/file_delete_payload.dart +++ b/lib/src/models/file_delete_payload.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/file_meta.dart b/lib/src/models/file_meta.dart index b523849..d2ed128 100644 --- a/lib/src/models/file_meta.dart +++ b/lib/src/models/file_meta.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; @@ -12,6 +12,7 @@ import 'user.dart'; part 'file_meta.g.dart'; +/// The file metadata. @JsonSerializable(explicitToJson: true) @CopyWith() @immutable diff --git a/lib/src/models/file_meta_response.dart b/lib/src/models/file_meta_response.dart index a538952..f6bcce1 100644 --- a/lib/src/models/file_meta_response.dart +++ b/lib/src/models/file_meta_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; @@ -18,6 +18,7 @@ class FileMetaResponse extends Equatable { factory FileMetaResponse.fromJson(Map json) => _$FileMetaResponseFromJson(json); + /// The file metadata. final FileMeta file; @override diff --git a/lib/src/models/file_response.dart b/lib/src/models/file_response.dart index 72a53c8..5889645 100644 --- a/lib/src/models/file_response.dart +++ b/lib/src/models/file_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/file_update_payload.dart b/lib/src/models/file_update_payload.dart index 5b77f9a..a596d25 100644 --- a/lib/src/models/file_update_payload.dart +++ b/lib/src/models/file_update_payload.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/file_version_update_payload.dart b/lib/src/models/file_version_update_payload.dart index 214cb07..4ec1c23 100644 --- a/lib/src/models/file_version_update_payload.dart +++ b/lib/src/models/file_version_update_payload.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/flow_starting_point.dart b/lib/src/models/flow_starting_point.dart index ebae687..a389661 100644 --- a/lib/src/models/flow_starting_point.dart +++ b/lib/src/models/flow_starting_point.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/frame.dart b/lib/src/models/frame.dart index e9d79cd..2c39385 100644 --- a/lib/src/models/frame.dart +++ b/lib/src/models/frame.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/frame_info.dart b/lib/src/models/frame_info.dart index 3e46e56..c83db02 100644 --- a/lib/src/models/frame_info.dart +++ b/lib/src/models/frame_info.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/frame_offset.dart b/lib/src/models/frame_offset.dart index 1ab5e34..a809415 100644 --- a/lib/src/models/frame_offset.dart +++ b/lib/src/models/frame_offset.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/frame_offset_region.dart b/lib/src/models/frame_offset_region.dart index a371b24..34e99ab 100644 --- a/lib/src/models/frame_offset_region.dart +++ b/lib/src/models/frame_offset_region.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/frame_traits.dart b/lib/src/models/frame_traits.dart index dbeeb1e..938933b 100644 --- a/lib/src/models/frame_traits.dart +++ b/lib/src/models/frame_traits.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'annotations_trait.dart'; import 'complex_strokes_trait.dart'; diff --git a/lib/src/models/get_file.dart b/lib/src/models/get_file.dart index dfbad9e..ded9d71 100644 --- a/lib/src/models/get_file.dart +++ b/lib/src/models/get_file.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/get_file_nodes.dart b/lib/src/models/get_file_nodes.dart index a1b994d..86137a4 100644 --- a/lib/src/models/get_file_nodes.dart +++ b/lib/src/models/get_file_nodes.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/get_images.dart b/lib/src/models/get_images.dart index ccffa1c..631370d 100644 --- a/lib/src/models/get_images.dart +++ b/lib/src/models/get_images.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/get_page.dart b/lib/src/models/get_page.dart index 807dc07..409136f 100644 --- a/lib/src/models/get_page.dart +++ b/lib/src/models/get_page.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/get_webhooks.dart b/lib/src/models/get_webhooks.dart index a474843..3480338 100644 --- a/lib/src/models/get_webhooks.dart +++ b/lib/src/models/get_webhooks.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/gradient_paint.dart b/lib/src/models/gradient_paint.dart index a032307..05eb698 100644 --- a/lib/src/models/gradient_paint.dart +++ b/lib/src/models/gradient_paint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/grid_child_align.dart b/lib/src/models/grid_child_align.dart index 21fb2ca..f52434c 100644 --- a/lib/src/models/grid_child_align.dart +++ b/lib/src/models/grid_child_align.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/group_node.dart b/lib/src/models/group_node.dart index 1e0f8b7..8d4b917 100644 --- a/lib/src/models/group_node.dart +++ b/lib/src/models/group_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/has_blend_mode_and_opacity_trait.dart b/lib/src/models/has_blend_mode_and_opacity_trait.dart index 177cd0a..1506665 100644 --- a/lib/src/models/has_blend_mode_and_opacity_trait.dart +++ b/lib/src/models/has_blend_mode_and_opacity_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'blend_mode.dart'; diff --git a/lib/src/models/has_children_trait.dart b/lib/src/models/has_children_trait.dart index 12d20b0..bf899b2 100644 --- a/lib/src/models/has_children_trait.dart +++ b/lib/src/models/has_children_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'sub_canvas_node.dart'; diff --git a/lib/src/models/has_effects_trait.dart b/lib/src/models/has_effects_trait.dart index df21824..d3adc41 100644 --- a/lib/src/models/has_effects_trait.dart +++ b/lib/src/models/has_effects_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'effect.dart'; diff --git a/lib/src/models/has_export_settings_trait.dart b/lib/src/models/has_export_settings_trait.dart index b64931a..c469742 100644 --- a/lib/src/models/has_export_settings_trait.dart +++ b/lib/src/models/has_export_settings_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'export_setting.dart'; diff --git a/lib/src/models/has_frame_properties_trait.dart b/lib/src/models/has_frame_properties_trait.dart index 1cd1a9a..ff24e85 100644 --- a/lib/src/models/has_frame_properties_trait.dart +++ b/lib/src/models/has_frame_properties_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'counter_axis_align_content.dart'; import 'counter_axis_align_items.dart'; diff --git a/lib/src/models/has_geometry_trait.dart b/lib/src/models/has_geometry_trait.dart index b55dd69..769b95f 100644 --- a/lib/src/models/has_geometry_trait.dart +++ b/lib/src/models/has_geometry_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'minimal_fills_trait.dart'; import 'minimal_strokes_trait.dart'; diff --git a/lib/src/models/has_layout_trait.dart b/lib/src/models/has_layout_trait.dart index 0494916..f6002f7 100644 --- a/lib/src/models/has_layout_trait.dart +++ b/lib/src/models/has_layout_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'grid_child_align.dart'; import 'layout_align.dart'; diff --git a/lib/src/models/has_mask_trait.dart b/lib/src/models/has_mask_trait.dart index 5d69a0e..f9c01e0 100644 --- a/lib/src/models/has_mask_trait.dart +++ b/lib/src/models/has_mask_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'mask_type.dart'; diff --git a/lib/src/models/has_text_sublayer_trait.dart b/lib/src/models/has_text_sublayer_trait.dart index 7279aaf..327bb4a 100644 --- a/lib/src/models/has_text_sublayer_trait.dart +++ b/lib/src/models/has_text_sublayer_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification abstract mixin class HasTextSublayerTrait { /// Text contained within a text box. diff --git a/lib/src/models/horizontal_constraint.dart b/lib/src/models/horizontal_constraint.dart index 1473110..a07185c 100644 --- a/lib/src/models/horizontal_constraint.dart +++ b/lib/src/models/horizontal_constraint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/hyperlink.dart b/lib/src/models/hyperlink.dart index 77ce1f8..db8b9eb 100644 --- a/lib/src/models/hyperlink.dart +++ b/lib/src/models/hyperlink.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/hyperlink_type.dart b/lib/src/models/hyperlink_type.dart index 37f8122..2a43726 100644 --- a/lib/src/models/hyperlink_type.dart +++ b/lib/src/models/hyperlink_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/image_fills_meta.dart b/lib/src/models/image_fills_meta.dart index dcfcc5f..b9ba1e7 100644 --- a/lib/src/models/image_fills_meta.dart +++ b/lib/src/models/image_fills_meta.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/image_fills_response.dart b/lib/src/models/image_fills_response.dart index 5dc9c57..689f48b 100644 --- a/lib/src/models/image_fills_response.dart +++ b/lib/src/models/image_fills_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/image_filters.dart b/lib/src/models/image_filters.dart index e446db1..1b4ebd3 100644 --- a/lib/src/models/image_filters.dart +++ b/lib/src/models/image_filters.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/image_paint.dart b/lib/src/models/image_paint.dart index a0b98d6..98a2d74 100644 --- a/lib/src/models/image_paint.dart +++ b/lib/src/models/image_paint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/images_response.dart b/lib/src/models/images_response.dart index d1b874d..7c38898 100644 --- a/lib/src/models/images_response.dart +++ b/lib/src/models/images_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/individual_stroke_weights_variables.dart b/lib/src/models/individual_stroke_weights_variables.dart index 05c9676..d7a1af4 100644 --- a/lib/src/models/individual_stroke_weights_variables.dart +++ b/lib/src/models/individual_stroke_weights_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/individual_strokes_trait.dart b/lib/src/models/individual_strokes_trait.dart index 589807a..6539a46 100644 --- a/lib/src/models/individual_strokes_trait.dart +++ b/lib/src/models/individual_strokes_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'stroke_weights.dart'; diff --git a/lib/src/models/inner_shadow_effect.dart b/lib/src/models/inner_shadow_effect.dart index 3d67b85..0e9fafc 100644 --- a/lib/src/models/inner_shadow_effect.dart +++ b/lib/src/models/inner_shadow_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/input_device.dart b/lib/src/models/input_device.dart index fee89bd..7876c3f 100644 --- a/lib/src/models/input_device.dart +++ b/lib/src/models/input_device.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/instance_node.dart b/lib/src/models/instance_node.dart index 670f013..00e8fa4 100644 --- a/lib/src/models/instance_node.dart +++ b/lib/src/models/instance_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/instance_swap_preferred_value.dart b/lib/src/models/instance_swap_preferred_value.dart index a1c173d..f362203 100644 --- a/lib/src/models/instance_swap_preferred_value.dart +++ b/lib/src/models/instance_swap_preferred_value.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/instance_swap_preferred_value_type.dart b/lib/src/models/instance_swap_preferred_value_type.dart index 25ea03d..451a472 100644 --- a/lib/src/models/instance_swap_preferred_value_type.dart +++ b/lib/src/models/instance_swap_preferred_value_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/interaction.dart b/lib/src/models/interaction.dart index 243050a..b98784d 100644 --- a/lib/src/models/interaction.dart +++ b/lib/src/models/interaction.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/is_layer_trait.dart b/lib/src/models/is_layer_trait.dart index 24bb44c..68434c0 100644 --- a/lib/src/models/is_layer_trait.dart +++ b/lib/src/models/is_layer_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'layer_trait_variables.dart'; import 'scroll_behavior.dart'; diff --git a/lib/src/models/layer_trait_variables.dart b/lib/src/models/layer_trait_variables.dart index 535bfce..79f24c1 100644 --- a/lib/src/models/layer_trait_variables.dart +++ b/lib/src/models/layer_trait_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/layout_align.dart b/lib/src/models/layout_align.dart index afc2685..78636e6 100644 --- a/lib/src/models/layout_align.dart +++ b/lib/src/models/layout_align.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/layout_constraint.dart b/lib/src/models/layout_constraint.dart index 51596d0..f20d107 100644 --- a/lib/src/models/layout_constraint.dart +++ b/lib/src/models/layout_constraint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/layout_grid.dart b/lib/src/models/layout_grid.dart index 9e5c044..01dea14 100644 --- a/lib/src/models/layout_grid.dart +++ b/lib/src/models/layout_grid.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/layout_grid_alignment.dart b/lib/src/models/layout_grid_alignment.dart index 0fb0f36..4b5edab 100644 --- a/lib/src/models/layout_grid_alignment.dart +++ b/lib/src/models/layout_grid_alignment.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/layout_grid_pattern.dart b/lib/src/models/layout_grid_pattern.dart index abd5310..a18c488 100644 --- a/lib/src/models/layout_grid_pattern.dart +++ b/lib/src/models/layout_grid_pattern.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/layout_grid_variables.dart b/lib/src/models/layout_grid_variables.dart index 570b3c6..8ddace5 100644 --- a/lib/src/models/layout_grid_variables.dart +++ b/lib/src/models/layout_grid_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/layout_grow.dart b/lib/src/models/layout_grow.dart index f8ec83c..6f5828c 100644 --- a/lib/src/models/layout_grow.dart +++ b/lib/src/models/layout_grow.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/layout_mode.dart b/lib/src/models/layout_mode.dart index c288af8..66671ff 100644 --- a/lib/src/models/layout_mode.dart +++ b/lib/src/models/layout_mode.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/layout_positioning.dart b/lib/src/models/layout_positioning.dart index fb9775e..2b7b11d 100644 --- a/lib/src/models/layout_positioning.dart +++ b/lib/src/models/layout_positioning.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/layout_sizing.dart b/lib/src/models/layout_sizing.dart index 50aa4ed..f9fc45a 100644 --- a/lib/src/models/layout_sizing.dart +++ b/lib/src/models/layout_sizing.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/layout_wrap.dart b/lib/src/models/layout_wrap.dart index 70cbd4d..28cfda9 100644 --- a/lib/src/models/layout_wrap.dart +++ b/lib/src/models/layout_wrap.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/library_item_data.dart b/lib/src/models/library_item_data.dart index de057e5..080666c 100644 --- a/lib/src/models/library_item_data.dart +++ b/lib/src/models/library_item_data.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/library_publish_payload.dart b/lib/src/models/library_publish_payload.dart index 57c558b..91f9d18 100644 --- a/lib/src/models/library_publish_payload.dart +++ b/lib/src/models/library_publish_payload.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/line_height_unit.dart b/lib/src/models/line_height_unit.dart index 8e8294f..5eb6f7f 100644 --- a/lib/src/models/line_height_unit.dart +++ b/lib/src/models/line_height_unit.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/line_node.dart b/lib/src/models/line_node.dart index bcb7e81..5b0cfdf 100644 --- a/lib/src/models/line_node.dart +++ b/lib/src/models/line_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/line_type.dart b/lib/src/models/line_type.dart index 0eeb5a4..539ca8c 100644 --- a/lib/src/models/line_type.dart +++ b/lib/src/models/line_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/link_access.dart b/lib/src/models/link_access.dart index e2b0e69..7ce5234 100644 --- a/lib/src/models/link_access.dart +++ b/lib/src/models/link_access.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/link_unfurl_node.dart b/lib/src/models/link_unfurl_node.dart index c7e5f95..b21b10a 100644 --- a/lib/src/models/link_unfurl_node.dart +++ b/lib/src/models/link_unfurl_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/local_variable.dart b/lib/src/models/local_variable.dart index 7734788..c255c4f 100644 --- a/lib/src/models/local_variable.dart +++ b/lib/src/models/local_variable.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/local_variable_collection.dart b/lib/src/models/local_variable_collection.dart index 2029fa3..4717654 100644 --- a/lib/src/models/local_variable_collection.dart +++ b/lib/src/models/local_variable_collection.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/local_variables_meta.dart b/lib/src/models/local_variables_meta.dart index 36a7944..997d433 100644 --- a/lib/src/models/local_variables_meta.dart +++ b/lib/src/models/local_variables_meta.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/local_variables_response.dart b/lib/src/models/local_variables_response.dart index 753bd42..affed7b 100644 --- a/lib/src/models/local_variables_response.dart +++ b/lib/src/models/local_variables_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/magnet.dart b/lib/src/models/magnet.dart index a69a83a..aeaf7be 100644 --- a/lib/src/models/magnet.dart +++ b/lib/src/models/magnet.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/mask_type.dart b/lib/src/models/mask_type.dart index 9003f42..9b178b1 100644 --- a/lib/src/models/mask_type.dart +++ b/lib/src/models/mask_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/measurement.dart b/lib/src/models/measurement.dart index e66e080..a24464a 100644 --- a/lib/src/models/measurement.dart +++ b/lib/src/models/measurement.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/measurement_offset.dart b/lib/src/models/measurement_offset.dart index d72fe01..83108a6 100644 --- a/lib/src/models/measurement_offset.dart +++ b/lib/src/models/measurement_offset.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/measurement_offset_inner.dart b/lib/src/models/measurement_offset_inner.dart index b480134..f0db8b4 100644 --- a/lib/src/models/measurement_offset_inner.dart +++ b/lib/src/models/measurement_offset_inner.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/measurement_offset_outer.dart b/lib/src/models/measurement_offset_outer.dart index 1d6ca79..7f71b88 100644 --- a/lib/src/models/measurement_offset_outer.dart +++ b/lib/src/models/measurement_offset_outer.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/measurement_offset_type.dart b/lib/src/models/measurement_offset_type.dart index c34eddb..dd3fa42 100644 --- a/lib/src/models/measurement_offset_type.dart +++ b/lib/src/models/measurement_offset_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/measurement_start_end.dart b/lib/src/models/measurement_start_end.dart index 0672cc8..3aeeee4 100644 --- a/lib/src/models/measurement_start_end.dart +++ b/lib/src/models/measurement_start_end.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/media_action.dart b/lib/src/models/media_action.dart index 3f6698c..a7278f6 100644 --- a/lib/src/models/media_action.dart +++ b/lib/src/models/media_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/minimal_fills_trait.dart b/lib/src/models/minimal_fills_trait.dart index 08b05be..7d597db 100644 --- a/lib/src/models/minimal_fills_trait.dart +++ b/lib/src/models/minimal_fills_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'paint.dart'; diff --git a/lib/src/models/minimal_strokes_trait.dart b/lib/src/models/minimal_strokes_trait.dart index 142998e..0fe2910 100644 --- a/lib/src/models/minimal_strokes_trait.dart +++ b/lib/src/models/minimal_strokes_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'paint.dart'; import 'stroke_align.dart'; diff --git a/lib/src/models/mode.dart b/lib/src/models/mode.dart index 3e55357..e658725 100644 --- a/lib/src/models/mode.dart +++ b/lib/src/models/mode.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/monotone_noise_effect.dart b/lib/src/models/monotone_noise_effect.dart index caa7ca4..d0d219f 100644 --- a/lib/src/models/monotone_noise_effect.dart +++ b/lib/src/models/monotone_noise_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/multitone_noise_effect.dart b/lib/src/models/multitone_noise_effect.dart index c86ef1c..7a0156d 100644 --- a/lib/src/models/multitone_noise_effect.dart +++ b/lib/src/models/multitone_noise_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/navigation.dart b/lib/src/models/navigation.dart index 38dd028..ea2c50a 100644 --- a/lib/src/models/navigation.dart +++ b/lib/src/models/navigation.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/node.dart b/lib/src/models/node.dart index 0dfc957..ed70721 100644 --- a/lib/src/models/node.dart +++ b/lib/src/models/node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/node_action.dart b/lib/src/models/node_action.dart index 7d93ba4..6f93f38 100644 --- a/lib/src/models/node_action.dart +++ b/lib/src/models/node_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/node_meta.dart b/lib/src/models/node_meta.dart index cb08f11..ecd4ee7 100644 --- a/lib/src/models/node_meta.dart +++ b/lib/src/models/node_meta.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/node_type.dart b/lib/src/models/node_type.dart index 678df29..f819d24 100644 --- a/lib/src/models/node_type.dart +++ b/lib/src/models/node_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/nodes_response.dart b/lib/src/models/nodes_response.dart index eae7df8..9b14820 100644 --- a/lib/src/models/nodes_response.dart +++ b/lib/src/models/nodes_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/noise_effect.dart b/lib/src/models/noise_effect.dart index dbe3730..1ba4124 100644 --- a/lib/src/models/noise_effect.dart +++ b/lib/src/models/noise_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/noise_type.dart b/lib/src/models/noise_type.dart index 5b31d06..e50e7ee 100644 --- a/lib/src/models/noise_type.dart +++ b/lib/src/models/noise_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/normal_blur_effect.dart b/lib/src/models/normal_blur_effect.dart index 811ea48..6b8d829 100644 --- a/lib/src/models/normal_blur_effect.dart +++ b/lib/src/models/normal_blur_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/on_key_down_trigger.dart b/lib/src/models/on_key_down_trigger.dart index a8845b6..f13728b 100644 --- a/lib/src/models/on_key_down_trigger.dart +++ b/lib/src/models/on_key_down_trigger.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/on_media_end_trigger.dart b/lib/src/models/on_media_end_trigger.dart index 5107f10..2186398 100644 --- a/lib/src/models/on_media_end_trigger.dart +++ b/lib/src/models/on_media_end_trigger.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/on_media_hit_trigger.dart b/lib/src/models/on_media_hit_trigger.dart index b486d9e..c836be9 100644 --- a/lib/src/models/on_media_hit_trigger.dart +++ b/lib/src/models/on_media_hit_trigger.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/on_mouse_interaction_trigger.dart b/lib/src/models/on_mouse_interaction_trigger.dart index 93f3cd8..99d217c 100644 --- a/lib/src/models/on_mouse_interaction_trigger.dart +++ b/lib/src/models/on_mouse_interaction_trigger.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/on_mouse_movement_trigger.dart b/lib/src/models/on_mouse_movement_trigger.dart index b665fe3..864bdb6 100644 --- a/lib/src/models/on_mouse_movement_trigger.dart +++ b/lib/src/models/on_mouse_movement_trigger.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/open_url_action.dart b/lib/src/models/open_url_action.dart index d21c639..3ddc2d0 100644 --- a/lib/src/models/open_url_action.dart +++ b/lib/src/models/open_url_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/overflow_direction.dart b/lib/src/models/overflow_direction.dart index 87540ba..c8830fe 100644 --- a/lib/src/models/overflow_direction.dart +++ b/lib/src/models/overflow_direction.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/overrides.dart b/lib/src/models/overrides.dart index 0691efa..3674e33 100644 --- a/lib/src/models/overrides.dart +++ b/lib/src/models/overrides.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/paint.dart b/lib/src/models/paint.dart index e5bc99f..f0b1a1d 100644 --- a/lib/src/models/paint.dart +++ b/lib/src/models/paint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/paint_override.dart b/lib/src/models/paint_override.dart index 1d5b0f4..44f0375 100644 --- a/lib/src/models/paint_override.dart +++ b/lib/src/models/paint_override.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/paint_type.dart b/lib/src/models/paint_type.dart index 990f7f2..8ec0206 100644 --- a/lib/src/models/paint_type.dart +++ b/lib/src/models/paint_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/path.dart b/lib/src/models/path.dart index 3057b41..3819f80 100644 --- a/lib/src/models/path.dart +++ b/lib/src/models/path.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/pattern_alignment.dart b/lib/src/models/pattern_alignment.dart index 66e334f..4b20619 100644 --- a/lib/src/models/pattern_alignment.dart +++ b/lib/src/models/pattern_alignment.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/pattern_paint.dart b/lib/src/models/pattern_paint.dart index 24cf31c..96d16a2 100644 --- a/lib/src/models/pattern_paint.dart +++ b/lib/src/models/pattern_paint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/ping_payload.dart b/lib/src/models/ping_payload.dart index 5a732ca..407e3e8 100644 --- a/lib/src/models/ping_payload.dart +++ b/lib/src/models/ping_payload.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/post_comment.dart b/lib/src/models/post_comment.dart index eb7dae8..22c1686 100644 --- a/lib/src/models/post_comment.dart +++ b/lib/src/models/post_comment.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/post_webhook.dart b/lib/src/models/post_webhook.dart index 5ac8e1c..c0cd530 100644 --- a/lib/src/models/post_webhook.dart +++ b/lib/src/models/post_webhook.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/primary_axis_align_items.dart b/lib/src/models/primary_axis_align_items.dart index 05eead4..0a44672 100644 --- a/lib/src/models/primary_axis_align_items.dart +++ b/lib/src/models/primary_axis_align_items.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/primary_axis_sizing_mode.dart b/lib/src/models/primary_axis_sizing_mode.dart index 75c4678..7220c37 100644 --- a/lib/src/models/primary_axis_sizing_mode.dart +++ b/lib/src/models/primary_axis_sizing_mode.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/progressive_blur_effect.dart b/lib/src/models/progressive_blur_effect.dart index 0af4a0f..20a587a 100644 --- a/lib/src/models/progressive_blur_effect.dart +++ b/lib/src/models/progressive_blur_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/project.dart b/lib/src/models/project.dart index 067346a..3ba9292 100644 --- a/lib/src/models/project.dart +++ b/lib/src/models/project.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/project_file.dart b/lib/src/models/project_file.dart index a93c74f..faaac8c 100644 --- a/lib/src/models/project_file.dart +++ b/lib/src/models/project_file.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/project_files_response.dart b/lib/src/models/project_files_response.dart index 1c1c7f9..8d6c75c 100644 --- a/lib/src/models/project_files_response.dart +++ b/lib/src/models/project_files_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/project_meta_response.dart b/lib/src/models/project_meta_response.dart new file mode 100644 index 0000000..46e85aa --- /dev/null +++ b/lib/src/models/project_meta_response.dart @@ -0,0 +1,61 @@ +// Generated from v0.40.0 of the Figma REST API specification + +import 'package:copy_with_extension/copy_with_extension.dart'; +import 'package:equatable/equatable.dart'; +import 'package:json_annotation/json_annotation.dart'; +import 'package:meta/meta.dart'; + +part 'project_meta_response.g.dart'; + +@JsonSerializable() +@CopyWith() +@immutable +class ProjectMetaResponse extends Equatable { + const ProjectMetaResponse({ + required this.id, + required this.name, + this.thumbnailUrl, + required this.fileCount, + required this.updatedAt, + required this.createdAt, + }); + + factory ProjectMetaResponse.fromJson(Map json) => + _$ProjectMetaResponseFromJson(json); + + /// The unique identifier of the project. + final String id; + + /// The name of the project. + final String name; + + /// A URL to a thumbnail image of the project. + /// + /// May be null if the project has no files. + @JsonKey(name: 'thumbnail_url') + final String? thumbnailUrl; + + /// The number of files in the project. + @JsonKey(name: 'file_count') + final int fileCount; + + /// The UTC ISO 8601 time at which the project was last updated. + @JsonKey(name: 'updated_at') + final DateTime updatedAt; + + /// The UTC ISO 8601 time at which the project was created. + @JsonKey(name: 'created_at') + final DateTime createdAt; + + @override + List get props => [ + id, + name, + thumbnailUrl, + fileCount, + updatedAt, + createdAt, + ]; + + Map toJson() => _$ProjectMetaResponseToJson(this); +} diff --git a/lib/src/models/project_meta_response.g.dart b/lib/src/models/project_meta_response.g.dart new file mode 100644 index 0000000..e2e1655 --- /dev/null +++ b/lib/src/models/project_meta_response.g.dart @@ -0,0 +1,143 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'project_meta_response.dart'; + +// ************************************************************************** +// CopyWithGenerator +// ************************************************************************** + +abstract class _$ProjectMetaResponseCWProxy { + ProjectMetaResponse id(String id); + + ProjectMetaResponse name(String name); + + ProjectMetaResponse thumbnailUrl(String? thumbnailUrl); + + ProjectMetaResponse fileCount(int fileCount); + + ProjectMetaResponse updatedAt(DateTime updatedAt); + + ProjectMetaResponse createdAt(DateTime createdAt); + + /// Creates a new instance with the provided field values. + /// Passing `null` to a nullable field nullifies it, while `null` for a non-nullable field is ignored. To update a single field use `ProjectMetaResponse(...).copyWith.fieldName(value)`. + /// + /// Example: + /// ```dart + /// ProjectMetaResponse(...).copyWith(id: 12, name: "My name") + /// ``` + ProjectMetaResponse call({ + String id, + String name, + String? thumbnailUrl, + int fileCount, + DateTime updatedAt, + DateTime createdAt, + }); +} + +/// Callable proxy for `copyWith` functionality. +/// Use as `instanceOfProjectMetaResponse.copyWith(...)` or call `instanceOfProjectMetaResponse.copyWith.fieldName(value)` for a single field. +class _$ProjectMetaResponseCWProxyImpl implements _$ProjectMetaResponseCWProxy { + const _$ProjectMetaResponseCWProxyImpl(this._value); + + final ProjectMetaResponse _value; + + @override + ProjectMetaResponse id(String id) => call(id: id); + + @override + ProjectMetaResponse name(String name) => call(name: name); + + @override + ProjectMetaResponse thumbnailUrl(String? thumbnailUrl) => + call(thumbnailUrl: thumbnailUrl); + + @override + ProjectMetaResponse fileCount(int fileCount) => call(fileCount: fileCount); + + @override + ProjectMetaResponse updatedAt(DateTime updatedAt) => + call(updatedAt: updatedAt); + + @override + ProjectMetaResponse createdAt(DateTime createdAt) => + call(createdAt: createdAt); + + @override + /// Creates a new instance with the provided field values. + /// Passing `null` to a nullable field nullifies it, while `null` for a non-nullable field is ignored. To update a single field use `ProjectMetaResponse(...).copyWith.fieldName(value)`. + /// + /// Example: + /// ```dart + /// ProjectMetaResponse(...).copyWith(id: 12, name: "My name") + /// ``` + ProjectMetaResponse call({ + Object? id = const $CopyWithPlaceholder(), + Object? name = const $CopyWithPlaceholder(), + Object? thumbnailUrl = const $CopyWithPlaceholder(), + Object? fileCount = const $CopyWithPlaceholder(), + Object? updatedAt = const $CopyWithPlaceholder(), + Object? createdAt = const $CopyWithPlaceholder(), + }) { + return ProjectMetaResponse( + id: id == const $CopyWithPlaceholder() || id == null + ? _value.id + // ignore: cast_nullable_to_non_nullable + : id as String, + name: name == const $CopyWithPlaceholder() || name == null + ? _value.name + // ignore: cast_nullable_to_non_nullable + : name as String, + thumbnailUrl: thumbnailUrl == const $CopyWithPlaceholder() + ? _value.thumbnailUrl + // ignore: cast_nullable_to_non_nullable + : thumbnailUrl as String?, + fileCount: fileCount == const $CopyWithPlaceholder() || fileCount == null + ? _value.fileCount + // ignore: cast_nullable_to_non_nullable + : fileCount as int, + updatedAt: updatedAt == const $CopyWithPlaceholder() || updatedAt == null + ? _value.updatedAt + // ignore: cast_nullable_to_non_nullable + : updatedAt as DateTime, + createdAt: createdAt == const $CopyWithPlaceholder() || createdAt == null + ? _value.createdAt + // ignore: cast_nullable_to_non_nullable + : createdAt as DateTime, + ); + } +} + +extension $ProjectMetaResponseCopyWith on ProjectMetaResponse { + /// Returns a callable class used to build a new instance with modified fields. + /// Example: `instanceOfProjectMetaResponse.copyWith(...)` or `instanceOfProjectMetaResponse.copyWith.fieldName(...)`. + // ignore: library_private_types_in_public_api + _$ProjectMetaResponseCWProxy get copyWith => + _$ProjectMetaResponseCWProxyImpl(this); +} + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +ProjectMetaResponse _$ProjectMetaResponseFromJson(Map json) => + ProjectMetaResponse( + id: json['id'] as String, + name: json['name'] as String, + thumbnailUrl: json['thumbnail_url'] as String?, + fileCount: (json['file_count'] as num).toInt(), + updatedAt: DateTime.parse(json['updated_at'] as String), + createdAt: DateTime.parse(json['created_at'] as String), + ); + +Map _$ProjectMetaResponseToJson( + ProjectMetaResponse instance, +) => { + 'id': instance.id, + 'name': instance.name, + 'thumbnail_url': instance.thumbnailUrl, + 'file_count': instance.fileCount, + 'updated_at': instance.updatedAt.toIso8601String(), + 'created_at': instance.createdAt.toIso8601String(), +}; diff --git a/lib/src/models/prototype_device.dart b/lib/src/models/prototype_device.dart index 2e692f4..f13b2eb 100644 --- a/lib/src/models/prototype_device.dart +++ b/lib/src/models/prototype_device.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/prototype_device_rotation.dart b/lib/src/models/prototype_device_rotation.dart index 68fe5e0..d1184c8 100644 --- a/lib/src/models/prototype_device_rotation.dart +++ b/lib/src/models/prototype_device_rotation.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/prototype_device_type.dart b/lib/src/models/prototype_device_type.dart index c72df2f..ec50860 100644 --- a/lib/src/models/prototype_device_type.dart +++ b/lib/src/models/prototype_device_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/published_component.dart b/lib/src/models/published_component.dart index 7b7974a..c5ae5b3 100644 --- a/lib/src/models/published_component.dart +++ b/lib/src/models/published_component.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/published_component_set.dart b/lib/src/models/published_component_set.dart index 090d9aa..9f2961a 100644 --- a/lib/src/models/published_component_set.dart +++ b/lib/src/models/published_component_set.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/published_style.dart b/lib/src/models/published_style.dart index 503d6e4..cacfe22 100644 --- a/lib/src/models/published_style.dart +++ b/lib/src/models/published_style.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/published_variable.dart b/lib/src/models/published_variable.dart index 1fb860f..9c45e3b 100644 --- a/lib/src/models/published_variable.dart +++ b/lib/src/models/published_variable.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/published_variable_collection.dart b/lib/src/models/published_variable_collection.dart index f2f69cb..4a2c2a4 100644 --- a/lib/src/models/published_variable_collection.dart +++ b/lib/src/models/published_variable_collection.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/published_variables_meta.dart b/lib/src/models/published_variables_meta.dart index a372161..6d38196 100644 --- a/lib/src/models/published_variables_meta.dart +++ b/lib/src/models/published_variables_meta.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/published_variables_response.dart b/lib/src/models/published_variables_response.dart index 8961281..77673bd 100644 --- a/lib/src/models/published_variables_response.dart +++ b/lib/src/models/published_variables_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/put_webhook.dart b/lib/src/models/put_webhook.dart index e8e86a0..7f21886 100644 --- a/lib/src/models/put_webhook.dart +++ b/lib/src/models/put_webhook.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/reaction.dart b/lib/src/models/reaction.dart index 5753902..de8fec8 100644 --- a/lib/src/models/reaction.dart +++ b/lib/src/models/reaction.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/rectangle.dart b/lib/src/models/rectangle.dart index 013a671..8b8c147 100644 --- a/lib/src/models/rectangle.dart +++ b/lib/src/models/rectangle.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/rectangle_corner_radii_variables.dart b/lib/src/models/rectangle_corner_radii_variables.dart index 4abfbcb..29744a1 100644 --- a/lib/src/models/rectangle_corner_radii_variables.dart +++ b/lib/src/models/rectangle_corner_radii_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/rectangle_node.dart b/lib/src/models/rectangle_node.dart index 3ca52f7..e0c544f 100644 --- a/lib/src/models/rectangle_node.dart +++ b/lib/src/models/rectangle_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/rectangular_shape_traits.dart b/lib/src/models/rectangular_shape_traits.dart index c15dc8f..df8208a 100644 --- a/lib/src/models/rectangular_shape_traits.dart +++ b/lib/src/models/rectangular_shape_traits.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'annotations_trait.dart'; import 'corner_trait.dart'; diff --git a/lib/src/models/region.dart b/lib/src/models/region.dart index 94f3753..9539889 100644 --- a/lib/src/models/region.dart +++ b/lib/src/models/region.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/regular_polygon_node.dart b/lib/src/models/regular_polygon_node.dart index 26743bb..482c243 100644 --- a/lib/src/models/regular_polygon_node.dart +++ b/lib/src/models/regular_polygon_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/response_cursor.dart b/lib/src/models/response_cursor.dart index 7c863da..47fa717 100644 --- a/lib/src/models/response_cursor.dart +++ b/lib/src/models/response_cursor.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/response_pagination.dart b/lib/src/models/response_pagination.dart index 437c3b6..ef4ea0b 100644 --- a/lib/src/models/response_pagination.dart +++ b/lib/src/models/response_pagination.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/return_action.dart b/lib/src/models/return_action.dart index c28b084..fd9e538 100644 --- a/lib/src/models/return_action.dart +++ b/lib/src/models/return_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/rgba.dart b/lib/src/models/rgba.dart index 077f0b3..9cd9212 100644 --- a/lib/src/models/rgba.dart +++ b/lib/src/models/rgba.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/role.dart b/lib/src/models/role.dart index bf60f90..fbae0ba 100644 --- a/lib/src/models/role.dart +++ b/lib/src/models/role.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/scale_mode.dart b/lib/src/models/scale_mode.dart index 4f70e81..3480666 100644 --- a/lib/src/models/scale_mode.dart +++ b/lib/src/models/scale_mode.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/scroll_behavior.dart b/lib/src/models/scroll_behavior.dart index fb1bc42..49a6d82 100644 --- a/lib/src/models/scroll_behavior.dart +++ b/lib/src/models/scroll_behavior.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/section.dart b/lib/src/models/section.dart index a3fc86e..a41653b 100644 --- a/lib/src/models/section.dart +++ b/lib/src/models/section.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/semantic_italic.dart b/lib/src/models/semantic_italic.dart index d4f931a..4cfd0a9 100644 --- a/lib/src/models/semantic_italic.dart +++ b/lib/src/models/semantic_italic.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/semantic_weight.dart b/lib/src/models/semantic_weight.dart index ec540ab..8059a25 100644 --- a/lib/src/models/semantic_weight.dart +++ b/lib/src/models/semantic_weight.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/set_variable_action.dart b/lib/src/models/set_variable_action.dart index 2c9158a..b0d45a7 100644 --- a/lib/src/models/set_variable_action.dart +++ b/lib/src/models/set_variable_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; @@ -7,7 +7,6 @@ import 'package:meta/meta.dart'; import 'action.dart'; import 'action_type.dart'; import 'variable_data.dart'; -import 'variable_value_convert.dart'; part 'set_variable_action.g.dart'; @@ -24,7 +23,6 @@ class SetVariableAction extends Action { final String? variableId; @JsonKey(includeIfNull: false) - @VariableValueNullableConverter() final VariableData? variableValue; @JsonKey(includeToJson: true) diff --git a/lib/src/models/set_variable_mode_action.dart b/lib/src/models/set_variable_mode_action.dart index acfc333..e33c30c 100644 --- a/lib/src/models/set_variable_mode_action.dart +++ b/lib/src/models/set_variable_mode_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/shadow_effect.dart b/lib/src/models/shadow_effect.dart index fde7f3b..b6c0a2c 100644 --- a/lib/src/models/shadow_effect.dart +++ b/lib/src/models/shadow_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/shadow_effect_variables.dart b/lib/src/models/shadow_effect_variables.dart index 940674a..cfa7554 100644 --- a/lib/src/models/shadow_effect_variables.dart +++ b/lib/src/models/shadow_effect_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/shape_type.dart b/lib/src/models/shape_type.dart index d219db8..8bebfef 100644 --- a/lib/src/models/shape_type.dart +++ b/lib/src/models/shape_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/shape_with_text_node.dart b/lib/src/models/shape_with_text_node.dart index 27804d5..67df409 100644 --- a/lib/src/models/shape_with_text_node.dart +++ b/lib/src/models/shape_with_text_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/side.dart b/lib/src/models/side.dart index 6672fd5..d97d593 100644 --- a/lib/src/models/side.dart +++ b/lib/src/models/side.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/simple_transition.dart b/lib/src/models/simple_transition.dart index 0f20116..3d9fbe5 100644 --- a/lib/src/models/simple_transition.dart +++ b/lib/src/models/simple_transition.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/size.dart b/lib/src/models/size.dart index dcd4aa7..6963e35 100644 --- a/lib/src/models/size.dart +++ b/lib/src/models/size.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/size_variables.dart b/lib/src/models/size_variables.dart index 7586de9..b735816 100644 --- a/lib/src/models/size_variables.dart +++ b/lib/src/models/size_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/slice_node.dart b/lib/src/models/slice_node.dart index e991967..a133fa7 100644 --- a/lib/src/models/slice_node.dart +++ b/lib/src/models/slice_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/slot.dart b/lib/src/models/slot.dart index 6406125..80ba4e8 100644 --- a/lib/src/models/slot.dart +++ b/lib/src/models/slot.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/solid_paint.dart b/lib/src/models/solid_paint.dart index de50087..f30f783 100644 --- a/lib/src/models/solid_paint.dart +++ b/lib/src/models/solid_paint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/solid_paint_variables.dart b/lib/src/models/solid_paint_variables.dart index 7749745..adc370f 100644 --- a/lib/src/models/solid_paint_variables.dart +++ b/lib/src/models/solid_paint_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/spring.dart b/lib/src/models/spring.dart index d00684f..a746898 100644 --- a/lib/src/models/spring.dart +++ b/lib/src/models/spring.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/star_node.dart b/lib/src/models/star_node.dart index 8f4ce6b..177f4ac 100644 --- a/lib/src/models/star_node.dart +++ b/lib/src/models/star_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/sticky_node.dart b/lib/src/models/sticky_node.dart index 554f866..a1d3ad8 100644 --- a/lib/src/models/sticky_node.dart +++ b/lib/src/models/sticky_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/stroke_align.dart b/lib/src/models/stroke_align.dart index b959ad3..972bb54 100644 --- a/lib/src/models/stroke_align.dart +++ b/lib/src/models/stroke_align.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/stroke_cap.dart b/lib/src/models/stroke_cap.dart index b8d300d..03bfb31 100644 --- a/lib/src/models/stroke_cap.dart +++ b/lib/src/models/stroke_cap.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/stroke_join.dart b/lib/src/models/stroke_join.dart index 9a5a06e..f3dc242 100644 --- a/lib/src/models/stroke_join.dart +++ b/lib/src/models/stroke_join.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/stroke_weights.dart b/lib/src/models/stroke_weights.dart index 8d7a9da..01d879c 100644 --- a/lib/src/models/stroke_weights.dart +++ b/lib/src/models/stroke_weights.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/style.dart b/lib/src/models/style.dart index b37ab13..9ff6cb4 100644 --- a/lib/src/models/style.dart +++ b/lib/src/models/style.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/style_response.dart b/lib/src/models/style_response.dart index 8f490e5..42e0461 100644 --- a/lib/src/models/style_response.dart +++ b/lib/src/models/style_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/style_type.dart b/lib/src/models/style_type.dart index 8fe0681..d226ee0 100644 --- a/lib/src/models/style_type.dart +++ b/lib/src/models/style_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/styles_meta.dart b/lib/src/models/styles_meta.dart index ec9b9cf..61e5808 100644 --- a/lib/src/models/styles_meta.dart +++ b/lib/src/models/styles_meta.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/styles_response.dart b/lib/src/models/styles_response.dart index 2daf60e..32e3ccc 100644 --- a/lib/src/models/styles_response.dart +++ b/lib/src/models/styles_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/sub_canvas_node.dart b/lib/src/models/sub_canvas_node.dart index bba511e..63ede26 100644 --- a/lib/src/models/sub_canvas_node.dart +++ b/lib/src/models/sub_canvas_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/table_cell_node.dart b/lib/src/models/table_cell_node.dart index 0694561..2f16694 100644 --- a/lib/src/models/table_cell_node.dart +++ b/lib/src/models/table_cell_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/table_node.dart b/lib/src/models/table_node.dart index cb1d8bb..e4b3d7e 100644 --- a/lib/src/models/table_node.dart +++ b/lib/src/models/table_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/team_projects_response.dart b/lib/src/models/team_projects_response.dart index 2acc704..339387b 100644 --- a/lib/src/models/team_projects_response.dart +++ b/lib/src/models/team_projects_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/text_align_horizontal.dart b/lib/src/models/text_align_horizontal.dart index ff7df17..0e986bf 100644 --- a/lib/src/models/text_align_horizontal.dart +++ b/lib/src/models/text_align_horizontal.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/text_align_vertical.dart b/lib/src/models/text_align_vertical.dart index 339407d..c0b241b 100644 --- a/lib/src/models/text_align_vertical.dart +++ b/lib/src/models/text_align_vertical.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/text_auto_resize.dart b/lib/src/models/text_auto_resize.dart index 35b8926..4e36e13 100644 --- a/lib/src/models/text_auto_resize.dart +++ b/lib/src/models/text_auto_resize.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/text_case.dart b/lib/src/models/text_case.dart index c0e6740..987ca11 100644 --- a/lib/src/models/text_case.dart +++ b/lib/src/models/text_case.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/text_decoration.dart b/lib/src/models/text_decoration.dart index db79240..5576f75 100644 --- a/lib/src/models/text_decoration.dart +++ b/lib/src/models/text_decoration.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/text_node.dart b/lib/src/models/text_node.dart index dbc43ac..9a0cd71 100644 --- a/lib/src/models/text_node.dart +++ b/lib/src/models/text_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/text_path_node.dart b/lib/src/models/text_path_node.dart index e9768c7..46ec83d 100644 --- a/lib/src/models/text_path_node.dart +++ b/lib/src/models/text_path_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/text_path_properties_trait.dart b/lib/src/models/text_path_properties_trait.dart index ccb74ea..f2c5a3a 100644 --- a/lib/src/models/text_path_properties_trait.dart +++ b/lib/src/models/text_path_properties_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'text_path_type_style.dart'; diff --git a/lib/src/models/text_path_type_style.dart b/lib/src/models/text_path_type_style.dart index 0388723..58db93f 100644 --- a/lib/src/models/text_path_type_style.dart +++ b/lib/src/models/text_path_type_style.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/text_path_type_style_variables.dart b/lib/src/models/text_path_type_style_variables.dart index 7634757..08937f3 100644 --- a/lib/src/models/text_path_type_style_variables.dart +++ b/lib/src/models/text_path_type_style_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/text_truncation.dart b/lib/src/models/text_truncation.dart index 053eb6d..dc74eb5 100644 --- a/lib/src/models/text_truncation.dart +++ b/lib/src/models/text_truncation.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/texture_effect.dart b/lib/src/models/texture_effect.dart index f2e800c..d9ac558 100644 --- a/lib/src/models/texture_effect.dart +++ b/lib/src/models/texture_effect.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/tile_type.dart b/lib/src/models/tile_type.dart index 16df361..564779a 100644 --- a/lib/src/models/tile_type.dart +++ b/lib/src/models/tile_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/transform.dart b/lib/src/models/transform.dart index fe0f031..fc23dde 100644 --- a/lib/src/models/transform.dart +++ b/lib/src/models/transform.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification /// A transformation matrix is standard way in computer graphics to represent /// translation and rotation. diff --git a/lib/src/models/transform_group_node.dart b/lib/src/models/transform_group_node.dart index 5b00c09..aa23745 100644 --- a/lib/src/models/transform_group_node.dart +++ b/lib/src/models/transform_group_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/transform_modifiers_trait.dart b/lib/src/models/transform_modifiers_trait.dart index 35dec5d..10b5139 100644 --- a/lib/src/models/transform_modifiers_trait.dart +++ b/lib/src/models/transform_modifiers_trait.dart @@ -1,3 +1,3 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification abstract mixin class TransformModifiersTrait {} diff --git a/lib/src/models/transition.dart b/lib/src/models/transition.dart index d21fbe5..ac54295 100644 --- a/lib/src/models/transition.dart +++ b/lib/src/models/transition.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/transition_direction.dart b/lib/src/models/transition_direction.dart index 0556c0b..b92751c 100644 --- a/lib/src/models/transition_direction.dart +++ b/lib/src/models/transition_direction.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/transition_source_trait.dart b/lib/src/models/transition_source_trait.dart index 068a5f0..08fd433 100644 --- a/lib/src/models/transition_source_trait.dart +++ b/lib/src/models/transition_source_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'easing_type.dart'; import 'interaction.dart'; diff --git a/lib/src/models/transition_type.dart b/lib/src/models/transition_type.dart index 5d60c0b..232a4e2 100644 --- a/lib/src/models/transition_type.dart +++ b/lib/src/models/transition_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/trigger.dart b/lib/src/models/trigger.dart index 57d25ee..1abbafa 100644 --- a/lib/src/models/trigger.dart +++ b/lib/src/models/trigger.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/trigger_type.dart b/lib/src/models/trigger_type.dart index 6bfa40e..a5b1b9f 100644 --- a/lib/src/models/trigger_type.dart +++ b/lib/src/models/trigger_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/type_properties_trait.dart b/lib/src/models/type_properties_trait.dart index ccfb106..768cbb2 100644 --- a/lib/src/models/type_properties_trait.dart +++ b/lib/src/models/type_properties_trait.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'line_type.dart'; import 'type_style.dart'; diff --git a/lib/src/models/type_style.dart b/lib/src/models/type_style.dart index 9d4ab64..b1be396 100644 --- a/lib/src/models/type_style.dart +++ b/lib/src/models/type_style.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/type_style_variables.dart b/lib/src/models/type_style_variables.dart index 9279372..ba122b3 100644 --- a/lib/src/models/type_style_variables.dart +++ b/lib/src/models/type_style_variables.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/update_media_runtime_action.dart b/lib/src/models/update_media_runtime_action.dart index 1e9d78a..ada714a 100644 --- a/lib/src/models/update_media_runtime_action.dart +++ b/lib/src/models/update_media_runtime_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; import 'package:meta/meta.dart'; diff --git a/lib/src/models/update_media_runtime_playback_action.dart b/lib/src/models/update_media_runtime_playback_action.dart index a20e6ea..04088bb 100644 --- a/lib/src/models/update_media_runtime_playback_action.dart +++ b/lib/src/models/update_media_runtime_playback_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/update_media_runtime_skip_by_action.dart b/lib/src/models/update_media_runtime_skip_by_action.dart index 0243ba8..049aa60 100644 --- a/lib/src/models/update_media_runtime_skip_by_action.dart +++ b/lib/src/models/update_media_runtime_skip_by_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/update_media_runtime_skip_to_action.dart b/lib/src/models/update_media_runtime_skip_to_action.dart index 8b22af1..1a6c818 100644 --- a/lib/src/models/update_media_runtime_skip_to_action.dart +++ b/lib/src/models/update_media_runtime_skip_to_action.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/user.dart b/lib/src/models/user.dart index b47da9d..ced54d3 100644 --- a/lib/src/models/user.dart +++ b/lib/src/models/user.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/variable_alias.dart b/lib/src/models/variable_alias.dart index 0172fe4..76ada9e 100644 --- a/lib/src/models/variable_alias.dart +++ b/lib/src/models/variable_alias.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/variable_code_syntax.dart b/lib/src/models/variable_code_syntax.dart index e117d0d..a25821c 100644 --- a/lib/src/models/variable_code_syntax.dart +++ b/lib/src/models/variable_code_syntax.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/variable_data.dart b/lib/src/models/variable_data.dart index 52f7f3a..33c921c 100644 --- a/lib/src/models/variable_data.dart +++ b/lib/src/models/variable_data.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/variable_data_type.dart b/lib/src/models/variable_data_type.dart index 98f5605..57c0525 100644 --- a/lib/src/models/variable_data_type.dart +++ b/lib/src/models/variable_data_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/variable_resolved_data_type.dart b/lib/src/models/variable_resolved_data_type.dart index fd0fc91..31e8404 100644 --- a/lib/src/models/variable_resolved_data_type.dart +++ b/lib/src/models/variable_resolved_data_type.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/variable_scope.dart b/lib/src/models/variable_scope.dart index d0041f1..9b9885f 100644 --- a/lib/src/models/variable_scope.dart +++ b/lib/src/models/variable_scope.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/variable_value.dart b/lib/src/models/variable_value.dart index dc7d058..635f1b0 100644 --- a/lib/src/models/variable_value.dart +++ b/lib/src/models/variable_value.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification /// The value for the variable. /// diff --git a/lib/src/models/variable_width_strokes_trait.dart b/lib/src/models/variable_width_strokes_trait.dart index 83e78ec..01915b1 100644 --- a/lib/src/models/variable_width_strokes_trait.dart +++ b/lib/src/models/variable_width_strokes_trait.dart @@ -1,3 +1,3 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification abstract mixin class VariableWidthStrokesTrait {} diff --git a/lib/src/models/vector.dart b/lib/src/models/vector.dart index fd7343d..b6f5851 100644 --- a/lib/src/models/vector.dart +++ b/lib/src/models/vector.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/vector_node.dart b/lib/src/models/vector_node.dart index f2ceff8..302c09d 100644 --- a/lib/src/models/vector_node.dart +++ b/lib/src/models/vector_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/version.dart b/lib/src/models/version.dart index e88f77c..26bb90f 100644 --- a/lib/src/models/version.dart +++ b/lib/src/models/version.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/versions_response.dart b/lib/src/models/versions_response.dart index 532e984..c499085 100644 --- a/lib/src/models/versions_response.dart +++ b/lib/src/models/versions_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/vertical_constraint.dart b/lib/src/models/vertical_constraint.dart index f8d2679..7cbcc70 100644 --- a/lib/src/models/vertical_constraint.dart +++ b/lib/src/models/vertical_constraint.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/washi_tape_node.dart b/lib/src/models/washi_tape_node.dart index 8326c8b..4636f0f 100644 --- a/lib/src/models/washi_tape_node.dart +++ b/lib/src/models/washi_tape_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/webhook_context.dart b/lib/src/models/webhook_context.dart index 0745fa7..6d90aa8 100644 --- a/lib/src/models/webhook_context.dart +++ b/lib/src/models/webhook_context.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/webhook_event.dart b/lib/src/models/webhook_event.dart index c05a215..4802589 100644 --- a/lib/src/models/webhook_event.dart +++ b/lib/src/models/webhook_event.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/webhook_payload.dart b/lib/src/models/webhook_payload.dart index bb5e270..a8ed8f5 100644 --- a/lib/src/models/webhook_payload.dart +++ b/lib/src/models/webhook_payload.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/webhook_status.dart b/lib/src/models/webhook_status.dart index 6cfd69c..a198e6d 100644 --- a/lib/src/models/webhook_status.dart +++ b/lib/src/models/webhook_status.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/webhooks_response.dart b/lib/src/models/webhooks_response.dart index f401837..7073760 100644 --- a/lib/src/models/webhooks_response.dart +++ b/lib/src/models/webhooks_response.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:equatable/equatable.dart'; diff --git a/lib/src/models/widget_node.dart b/lib/src/models/widget_node.dart index ba7f8e5..2df55cc 100644 --- a/lib/src/models/widget_node.dart +++ b/lib/src/models/widget_node.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:copy_with_extension/copy_with_extension.dart'; import 'package:json_annotation/json_annotation.dart'; diff --git a/lib/src/models/winding_rule.dart b/lib/src/models/winding_rule.dart index 1dfbce6..b2f4f6d 100644 --- a/lib/src/models/winding_rule.dart +++ b/lib/src/models/winding_rule.dart @@ -1,4 +1,4 @@ -// Generated from v0.36.0 of the Figma REST API specification +// Generated from v0.40.0 of the Figma REST API specification import 'package:json_annotation/json_annotation.dart'; diff --git a/tool/types.txt b/tool/types.txt index 65f02ca..197b507 100644 --- a/tool/types.txt +++ b/tool/types.txt @@ -309,6 +309,7 @@ ImagesResponse LocalVariablesResponse NodesResponse ProjectFilesResponse +ProjectMetaResponse PublishedVariablesResponse StyleResponse StylesResponse