@rendley/sdk 1.12.7 → 1.12.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -469,16 +469,16 @@ export declare const ClipSchema: z.ZodObject<{
469
469
  clipId: z.ZodOptional<z.ZodString>;
470
470
  intensity: z.ZodNumber;
471
471
  }, "strip", z.ZodTypeAny, {
472
+ intensity: number;
472
473
  id: string;
473
474
  provider: string;
474
475
  filterId: string;
475
- intensity: number;
476
476
  clipId?: string | undefined;
477
477
  }, {
478
+ intensity: number;
478
479
  id: string;
479
480
  provider: string;
480
481
  filterId: string;
481
- intensity: number;
482
482
  clipId?: string | undefined;
483
483
  }>, "many">;
484
484
  effects: z.ZodArray<z.ZodAny, "many">;
@@ -922,10 +922,10 @@ export declare const ClipSchema: z.ZodObject<{
922
922
  leftTrim: number;
923
923
  rightTrim: number;
924
924
  filters: {
925
+ intensity: number;
925
926
  id: string;
926
927
  provider: string;
927
928
  filterId: string;
928
- intensity: number;
929
929
  clipId?: string | undefined;
930
930
  }[];
931
931
  effects: any[];
@@ -1018,10 +1018,10 @@ export declare const ClipSchema: z.ZodObject<{
1018
1018
  leftTrim: number;
1019
1019
  rightTrim: number;
1020
1020
  filters: {
1021
+ intensity: number;
1021
1022
  id: string;
1022
1023
  provider: string;
1023
1024
  filterId: string;
1024
- intensity: number;
1025
1025
  clipId?: string | undefined;
1026
1026
  }[];
1027
1027
  effects: any[];
@@ -1235,10 +1235,10 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1235
1235
  leftTrim: number;
1236
1236
  rightTrim: number;
1237
1237
  filters: {
1238
+ intensity: number;
1238
1239
  id: string;
1239
1240
  provider: string;
1240
1241
  filterId: string;
1241
- intensity: number;
1242
1242
  clipId?: string | undefined;
1243
1243
  }[];
1244
1244
  effects: any[];
@@ -97,10 +97,10 @@ export declare class AudioClip extends Clip {
97
97
  leftTrim: number;
98
98
  rightTrim: number;
99
99
  filters: {
100
+ intensity: number;
100
101
  id: string;
101
102
  provider: string;
102
103
  filterId: string;
103
- intensity: number;
104
104
  clipId?: string | undefined;
105
105
  }[];
106
106
  effects: any[];
@@ -17,10 +17,10 @@ export declare class CustomClip extends Clip<PIXI.Sprite, ClipStyle> {
17
17
  leftTrim: number;
18
18
  rightTrim: number;
19
19
  filters: {
20
+ intensity: number;
20
21
  id: string;
21
22
  provider: string;
22
23
  filterId: string;
23
- intensity: number;
24
24
  clipId?: string | undefined;
25
25
  }[];
26
26
  effects: any[];
@@ -126,10 +126,10 @@ export declare class HtmlTextClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprit
126
126
  leftTrim: number;
127
127
  rightTrim: number;
128
128
  filters: {
129
+ intensity: number;
129
130
  id: string;
130
131
  provider: string;
131
132
  filterId: string;
132
- intensity: number;
133
133
  clipId?: string | undefined;
134
134
  }[];
135
135
  effects: any[];
@@ -171,10 +171,10 @@ export declare class LottieClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>
171
171
  leftTrim: number;
172
172
  rightTrim: number;
173
173
  filters: {
174
+ intensity: number;
174
175
  id: string;
175
176
  provider: string;
176
177
  filterId: string;
177
- intensity: number;
178
178
  clipId?: string | undefined;
179
179
  }[];
180
180
  effects: any[];
@@ -20,10 +20,10 @@ export declare class ShapeClip extends Clip<ShapeSprite, ShapeStyle> {
20
20
  leftTrim: number;
21
21
  rightTrim: number;
22
22
  filters: {
23
+ intensity: number;
23
24
  id: string;
24
25
  provider: string;
25
26
  filterId: string;
26
- intensity: number;
27
27
  clipId?: string | undefined;
28
28
  }[];
29
29
  effects: any[];
@@ -27,10 +27,10 @@ export declare class SvgClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>> {
27
27
  leftTrim: number;
28
28
  rightTrim: number;
29
29
  filters: {
30
+ intensity: number;
30
31
  id: string;
31
32
  provider: string;
32
33
  filterId: string;
33
- intensity: number;
34
34
  clipId?: string | undefined;
35
35
  }[];
36
36
  effects: any[];
@@ -29,10 +29,10 @@ export declare class TextClip extends Clip<TextSprite, TextStyle> {
29
29
  leftTrim: number;
30
30
  rightTrim: number;
31
31
  filters: {
32
+ intensity: number;
32
33
  id: string;
33
34
  provider: string;
34
35
  filterId: string;
35
- intensity: number;
36
36
  clipId?: string | undefined;
37
37
  }[];
38
38
  effects: any[];
@@ -167,10 +167,10 @@ export declare class VideoClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>
167
167
  leftTrim: number;
168
168
  rightTrim: number;
169
169
  filters: {
170
+ intensity: number;
170
171
  id: string;
171
172
  provider: string;
172
173
  filterId: string;
173
- intensity: number;
174
174
  clipId?: string | undefined;
175
175
  }[];
176
176
  effects: any[];
@@ -0,0 +1,12 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInNoiseEffectPropertiesEnum {
3
+ intensity = "intensity",
4
+ animated = "animated"
5
+ }
6
+ export declare class BuiltInNoiseEffect extends EffectBase {
7
+ animated: boolean;
8
+ constructor(properties: Map<string, any>);
9
+ setProperty(propertyName: string, value: any): void;
10
+ getProperty(propertyName: string): number | boolean | null;
11
+ update(currentTime: number): void;
12
+ }
@@ -7,16 +7,16 @@ export declare const FilterSchema: z.ZodObject<{
7
7
  clipId: z.ZodOptional<z.ZodString>;
8
8
  intensity: z.ZodNumber;
9
9
  }, "strip", z.ZodTypeAny, {
10
+ intensity: number;
10
11
  id: string;
11
12
  provider: string;
12
13
  filterId: string;
13
- intensity: number;
14
14
  clipId?: string | undefined;
15
15
  }, {
16
+ intensity: number;
16
17
  id: string;
17
18
  provider: string;
18
19
  filterId: string;
19
- intensity: number;
20
20
  clipId?: string | undefined;
21
21
  }>;
22
22
  export interface FilterOptions {
@@ -43,10 +43,10 @@ export declare class Filter {
43
43
  getFilterId(): string;
44
44
  getPixiFilter(): PIXI.Filter;
45
45
  serialize(): {
46
+ intensity: number;
46
47
  id: string;
47
48
  provider: string;
48
49
  filterId: string;
49
- intensity: number;
50
50
  clipId?: string | undefined;
51
51
  };
52
52
  static deserialize(data: object): Filter;
@@ -19,6 +19,7 @@ export declare enum BuiltInEffectIdEnum {
19
19
  GODRAY = "builtin-godray",
20
20
  HSL_ADJUSTMENT = "builtin-hsl-adjustment",
21
21
  MOTION_BLUR = "builtin-motion-blur",
22
+ NOISE = "builtin-noise",
22
23
  OLD_FILM = "builtin-old-film",
23
24
  OUTLINE = "builtin-outline",
24
25
  PIXELATE = "builtin-pixelate",
@@ -1,4 +1,128 @@
1
+ import { z } from "zod";
1
2
  import { UndoActionEnum, UndoActionMappings, UndoGroup, UndoRecord } from "./UndoManager.types";
3
+ export declare const UndoRecordSchema: z.ZodObject<{
4
+ action: z.ZodNativeEnum<typeof UndoActionEnum>;
5
+ data: z.ZodType<Required<any>, z.ZodTypeDef, Required<any>>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ data: Required<any>;
8
+ action: UndoActionEnum;
9
+ }, {
10
+ data: Required<any>;
11
+ action: UndoActionEnum;
12
+ }>;
13
+ export declare const UndoGroupSchema: z.ZodObject<{
14
+ name: z.ZodString;
15
+ records: z.ZodArray<z.ZodObject<{
16
+ action: z.ZodNativeEnum<typeof UndoActionEnum>;
17
+ data: z.ZodType<Required<any>, z.ZodTypeDef, Required<any>>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ data: Required<any>;
20
+ action: UndoActionEnum;
21
+ }, {
22
+ data: Required<any>;
23
+ action: UndoActionEnum;
24
+ }>, "many">;
25
+ }, "strip", z.ZodTypeAny, {
26
+ name: string;
27
+ records: {
28
+ data: Required<any>;
29
+ action: UndoActionEnum;
30
+ }[];
31
+ }, {
32
+ name: string;
33
+ records: {
34
+ data: Required<any>;
35
+ action: UndoActionEnum;
36
+ }[];
37
+ }>;
38
+ export declare const UndoManagerSchema: z.ZodObject<{
39
+ undoHistory: z.ZodArray<z.ZodObject<{
40
+ name: z.ZodString;
41
+ records: z.ZodArray<z.ZodObject<{
42
+ action: z.ZodNativeEnum<typeof UndoActionEnum>;
43
+ data: z.ZodType<Required<any>, z.ZodTypeDef, Required<any>>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ data: Required<any>;
46
+ action: UndoActionEnum;
47
+ }, {
48
+ data: Required<any>;
49
+ action: UndoActionEnum;
50
+ }>, "many">;
51
+ }, "strip", z.ZodTypeAny, {
52
+ name: string;
53
+ records: {
54
+ data: Required<any>;
55
+ action: UndoActionEnum;
56
+ }[];
57
+ }, {
58
+ name: string;
59
+ records: {
60
+ data: Required<any>;
61
+ action: UndoActionEnum;
62
+ }[];
63
+ }>, "many">;
64
+ redoHistory: z.ZodArray<z.ZodObject<{
65
+ name: z.ZodString;
66
+ records: z.ZodArray<z.ZodObject<{
67
+ action: z.ZodNativeEnum<typeof UndoActionEnum>;
68
+ data: z.ZodType<Required<any>, z.ZodTypeDef, Required<any>>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ data: Required<any>;
71
+ action: UndoActionEnum;
72
+ }, {
73
+ data: Required<any>;
74
+ action: UndoActionEnum;
75
+ }>, "many">;
76
+ }, "strip", z.ZodTypeAny, {
77
+ name: string;
78
+ records: {
79
+ data: Required<any>;
80
+ action: UndoActionEnum;
81
+ }[];
82
+ }, {
83
+ name: string;
84
+ records: {
85
+ data: Required<any>;
86
+ action: UndoActionEnum;
87
+ }[];
88
+ }>, "many">;
89
+ isEnabled: z.ZodBoolean;
90
+ maxUndoHistory: z.ZodNumber;
91
+ }, "strip", z.ZodTypeAny, {
92
+ undoHistory: {
93
+ name: string;
94
+ records: {
95
+ data: Required<any>;
96
+ action: UndoActionEnum;
97
+ }[];
98
+ }[];
99
+ redoHistory: {
100
+ name: string;
101
+ records: {
102
+ data: Required<any>;
103
+ action: UndoActionEnum;
104
+ }[];
105
+ }[];
106
+ isEnabled: boolean;
107
+ maxUndoHistory: number;
108
+ }, {
109
+ undoHistory: {
110
+ name: string;
111
+ records: {
112
+ data: Required<any>;
113
+ action: UndoActionEnum;
114
+ }[];
115
+ }[];
116
+ redoHistory: {
117
+ name: string;
118
+ records: {
119
+ data: Required<any>;
120
+ action: UndoActionEnum;
121
+ }[];
122
+ }[];
123
+ isEnabled: boolean;
124
+ maxUndoHistory: number;
125
+ }>;
2
126
  export declare class UndoManager {
3
127
  private undoHistory;
4
128
  private redoHistory;
@@ -32,4 +156,24 @@ export declare class UndoManager {
32
156
  private clampUndoHistory;
33
157
  destroy(): void;
34
158
  processUndoRedo(undoRecord: UndoRecord, redoGroup: UndoGroup): Promise<void>;
159
+ serialize(): {
160
+ undoHistory: {
161
+ name: string;
162
+ records: {
163
+ data: Required<any>;
164
+ action: UndoActionEnum;
165
+ }[];
166
+ }[];
167
+ redoHistory: {
168
+ name: string;
169
+ records: {
170
+ data: Required<any>;
171
+ action: UndoActionEnum;
172
+ }[];
173
+ }[];
174
+ isEnabled: boolean;
175
+ maxUndoHistory: number;
176
+ };
177
+ deserialize(data: object): void;
178
+ static deserialize(data: object): UndoManager;
35
179
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rendley/sdk",
3
- "version": "1.12.7",
3
+ "version": "1.12.9",
4
4
  "license": "LICENSE",
5
5
  "author": "Onix Technologies",
6
6
  "homepage": "https://rendleysdk.com",