Skip to content

Commit

Permalink
feat: Add weararble preview options (#236)
Browse files Browse the repository at this point in the history
* feat: Add weararble preview options

* feat: Push API schema
  • Loading branch information
LautaroPetaccio committed Aug 14, 2023
1 parent 8271afd commit 1b32d6f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions report/schemas.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1501,6 +1501,10 @@ export type PreviewConfig = {
wheelZoom: number;
wheelPrecision: number;
wheelStart: number;
panning: boolean;
lockAlpha: boolean;
lockBeta: boolean;
lockRadius: boolean;
};

// Warning: (ae-different-release-tags) This symbol has another declaration with a different release tag
Expand Down Expand Up @@ -1662,6 +1666,10 @@ export type PreviewOptions = {
showThumbnailBoundaries?: boolean;
peerUrl?: string | null;
nftServerUrl?: string | null;
panning?: boolean;
lockAlpha?: boolean;
lockBeta?: boolean;
lockRadius?: boolean;
};

// Warning: (ae-missing-release-tag) "PreviewProjection" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
Expand Down
4 changes: 4 additions & 0 deletions src/dapps/preview/preview-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,8 @@ export type PreviewConfig = {
wheelZoom: number
wheelPrecision: number
wheelStart: number
panning: boolean
lockAlpha: boolean
lockBeta: boolean
lockRadius: boolean
}
4 changes: 4 additions & 0 deletions src/dapps/preview/preview-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ export type PreviewOptions = {
showThumbnailBoundaries?: boolean
peerUrl?: string | null
nftServerUrl?: string | null
panning?: boolean
lockAlpha?: boolean
lockBeta?: boolean
lockRadius?: boolean
}

0 comments on commit 1b32d6f

Please sign in to comment.