Skip to content

Commit

Permalink
Update api spec (#268)
Browse files Browse the repository at this point in the history
* YOYO NEW API SPEC!

* Generated new lib

* 2.0.3

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 32bb725 commit 98cf5ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kittycad/lib",
"version": "2.0.2",
"version": "2.0.3",
"description": "Javascript library for KittyCAD API",
"type": "module",
"keywords": [
Expand Down
5 changes: 5 additions & 0 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -23458,6 +23458,11 @@
"description": "Fit the view to the specified object(s).",
"type": "object",
"properties": {
"animated": {
"description": "Whether or not to animate the camera movement.",
"default": false,
"type": "boolean"
},
"object_ids": {
"description": "Which objects to fit camera to; if empty, fit to all non-default objects. Defaults to empty vector.",
"default": [],
Expand Down
2 changes: 2 additions & 0 deletions src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2874,6 +2874,8 @@ export type ModelingCmd_type =
type: 'default_camera_set_perspective';
}
| {
/* default:false, description:Whether or not to animate the camera movement. */
animated: boolean;
/*{
"format": "uuid"
}*/
Expand Down

0 comments on commit 98cf5ef

Please sign in to comment.