Skip to content

Commit

Permalink
Merge pull request #95 from jinzhan/master
Browse files Browse the repository at this point in the history
Fix some AE layer type errors
  • Loading branch information
zlovatt authored Dec 13, 2023
2 parents d0df42f + 1c63f4b commit 66d6535
Show file tree
Hide file tree
Showing 18 changed files with 108 additions and 108 deletions.
12 changes: 6 additions & 6 deletions AfterEffects/10.5/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1293,12 +1293,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2176,12 +2176,12 @@ declare class TextLayer extends AVLayer {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/11.0/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1329,12 +1329,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2272,12 +2272,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/12.0/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1349,12 +1349,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2293,12 +2293,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/13.0/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1358,12 +1358,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2347,12 +2347,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/13.1/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1358,12 +1358,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2356,12 +2356,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/13.2/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1364,12 +1364,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2395,12 +2395,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/13.6/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1369,12 +1369,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2403,12 +2403,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/13.8/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1379,12 +1379,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2416,12 +2416,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/14.0/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1428,12 +1428,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2471,12 +2471,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/14.2/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1428,12 +1428,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2519,12 +2519,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/15.0/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1438,12 +1438,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2535,12 +2535,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
12 changes: 6 additions & 6 deletions AfterEffects/16.0/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1442,12 +1442,12 @@ declare class Layer extends PropertyGroup {
readonly transform: _TransformGroup

/** Transform shortcuts */
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down Expand Up @@ -2566,12 +2566,12 @@ declare class ViewOptions {
* Properties for Shortcuts
*/
declare interface _TransformGroup extends PropertyGroup {
readonly anchorPoint: TwoDProperty | ThreeDProperty
readonly position: TwoDProperty | ThreeDProperty
readonly anchorPoint: Property<TwoDType | ThreeDType>
readonly position: Property<TwoDType | ThreeDType>
readonly xPosition: OneDProperty
readonly yPosition: OneDProperty
readonly zPosition: OneDProperty
readonly scale: TwoDProperty | ThreeDProperty
readonly scale: Property<TwoDType | ThreeDType>
readonly orientation: ThreeDProperty
readonly rotation: OneDProperty
readonly xRotation: OneDProperty
Expand Down
Loading

0 comments on commit 66d6535

Please sign in to comment.