@pinepaper.studio/mcp-server 1.6.4 → 1.6.6
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.
- package/README.md +19 -0
- package/dist/browser/puppeteer-controller.d.ts.map +1 -1
- package/dist/browser/puppeteer-controller.js +22 -4
- package/dist/browser/puppeteer-controller.js.map +1 -1
- package/dist/types/code-generator.d.ts.map +1 -1
- package/dist/types/code-generator.js +6 -3
- package/dist/types/code-generator.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +21 -4
- package/dist/__tests__/fixtures/index.d.ts +0 -8
- package/dist/__tests__/fixtures/index.d.ts.map +0 -1
- package/dist/__tests__/fixtures/index.js +0 -8
- package/dist/__tests__/fixtures/index.js.map +0 -1
- package/dist/__tests__/fixtures/mock-animations.d.ts +0 -213
- package/dist/__tests__/fixtures/mock-animations.d.ts.map +0 -1
- package/dist/__tests__/fixtures/mock-animations.js +0 -96
- package/dist/__tests__/fixtures/mock-animations.js.map +0 -1
- package/dist/__tests__/fixtures/mock-generators.d.ts +0 -294
- package/dist/__tests__/fixtures/mock-generators.d.ts.map +0 -1
- package/dist/__tests__/fixtures/mock-generators.js +0 -175
- package/dist/__tests__/fixtures/mock-generators.js.map +0 -1
- package/dist/__tests__/fixtures/mock-items.d.ts +0 -157
- package/dist/__tests__/fixtures/mock-items.d.ts.map +0 -1
- package/dist/__tests__/fixtures/mock-items.js +0 -74
- package/dist/__tests__/fixtures/mock-items.js.map +0 -1
- package/dist/__tests__/fixtures/mock-relations.d.ts +0 -195
- package/dist/__tests__/fixtures/mock-relations.d.ts.map +0 -1
- package/dist/__tests__/fixtures/mock-relations.js +0 -121
- package/dist/__tests__/fixtures/mock-relations.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinepaper.studio/mcp-server",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.6",
|
|
4
4
|
"mcpName": "io.github.pinepaper/mcp-server",
|
|
5
5
|
"description": "MCP Server for PinePaper Studio - Create animated graphics with AI",
|
|
6
6
|
"type": "module",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
64
|
-
"puppeteer": "^24.37.3",
|
|
65
64
|
"zod": "^3.22.4"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
@@ -70,7 +69,8 @@
|
|
|
70
69
|
"typescript": "^5.3.0",
|
|
71
70
|
"eslint": "^10.8.1",
|
|
72
71
|
"@typescript-eslint/eslint-plugin": "^8.66.0",
|
|
73
|
-
"@typescript-eslint/parser": "^8.66.0"
|
|
72
|
+
"@typescript-eslint/parser": "^8.66.0",
|
|
73
|
+
"puppeteer": "^24.43.1"
|
|
74
74
|
},
|
|
75
75
|
"files": [
|
|
76
76
|
"dist",
|
|
@@ -88,13 +88,30 @@
|
|
|
88
88
|
"README.hi.md"
|
|
89
89
|
],
|
|
90
90
|
"overrides": {
|
|
91
|
+
"basic-ftp": "^5.3.1",
|
|
92
|
+
"body-parser": "^2.3.0",
|
|
91
93
|
"es-define-property": "npm:@socketregistry/es-define-property@^1.0.7",
|
|
94
|
+
"fast-uri": "^3.1.5",
|
|
95
|
+
"flatted": "^3.4.2",
|
|
92
96
|
"function-bind": "npm:@socketregistry/function-bind@^1.0.7",
|
|
93
97
|
"gopd": "npm:@socketregistry/gopd@^1.0.7",
|
|
94
98
|
"has-symbols": "npm:@socketregistry/has-symbols@^1.0.7",
|
|
95
99
|
"hasown": "npm:@socketregistry/hasown@^1.0.7",
|
|
100
|
+
"ip-address": "^10.3.1",
|
|
101
|
+
"js-yaml": "^4.3.1",
|
|
96
102
|
"object-assign": "npm:@socketregistry/object-assign@^1.0.5",
|
|
103
|
+
"path-to-regexp": "^8.4.2",
|
|
104
|
+
"qs": "^6.15.2",
|
|
97
105
|
"safer-buffer": "npm:@socketregistry/safer-buffer@^1.0.10",
|
|
98
|
-
"side-channel": "npm:@socketregistry/side-channel@^1.0.10"
|
|
106
|
+
"side-channel": "npm:@socketregistry/side-channel@^1.0.10",
|
|
107
|
+
"ws": "^8.21.1"
|
|
108
|
+
},
|
|
109
|
+
"peerDependencies": {
|
|
110
|
+
"puppeteer": ">=22"
|
|
111
|
+
},
|
|
112
|
+
"peerDependenciesMeta": {
|
|
113
|
+
"puppeteer": {
|
|
114
|
+
"optional": true
|
|
115
|
+
}
|
|
99
116
|
}
|
|
100
117
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__tests__/fixtures/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/__tests__/fixtures/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mock Animations for Testing
|
|
3
|
-
*/
|
|
4
|
-
export declare const mockPulseAnimation: {
|
|
5
|
-
itemId: string;
|
|
6
|
-
animationType: "pulse";
|
|
7
|
-
speed: number;
|
|
8
|
-
};
|
|
9
|
-
export declare const mockRotateAnimation: {
|
|
10
|
-
itemId: string;
|
|
11
|
-
animationType: "rotate";
|
|
12
|
-
speed: number;
|
|
13
|
-
};
|
|
14
|
-
export declare const mockBounceAnimation: {
|
|
15
|
-
itemId: string;
|
|
16
|
-
animationType: "bounce";
|
|
17
|
-
speed: number;
|
|
18
|
-
};
|
|
19
|
-
export declare const mockFadeAnimation: {
|
|
20
|
-
itemId: string;
|
|
21
|
-
animationType: "fade";
|
|
22
|
-
speed: number;
|
|
23
|
-
};
|
|
24
|
-
export declare const mockWobbleAnimation: {
|
|
25
|
-
itemId: string;
|
|
26
|
-
animationType: "wobble";
|
|
27
|
-
speed: number;
|
|
28
|
-
};
|
|
29
|
-
export declare const mockSlideAnimation: {
|
|
30
|
-
itemId: string;
|
|
31
|
-
animationType: "slide";
|
|
32
|
-
speed: number;
|
|
33
|
-
};
|
|
34
|
-
export declare const mockTypewriterAnimation: {
|
|
35
|
-
itemId: string;
|
|
36
|
-
animationType: "typewriter";
|
|
37
|
-
speed: number;
|
|
38
|
-
};
|
|
39
|
-
export declare const mockFadeInKeyframes: {
|
|
40
|
-
itemId: string;
|
|
41
|
-
keyframes: ({
|
|
42
|
-
time: number;
|
|
43
|
-
properties: {
|
|
44
|
-
opacity: number;
|
|
45
|
-
};
|
|
46
|
-
easing: "linear";
|
|
47
|
-
} | {
|
|
48
|
-
time: number;
|
|
49
|
-
properties: {
|
|
50
|
-
opacity: number;
|
|
51
|
-
};
|
|
52
|
-
easing: "easeOut";
|
|
53
|
-
})[];
|
|
54
|
-
duration: number;
|
|
55
|
-
loop: boolean;
|
|
56
|
-
};
|
|
57
|
-
export declare const mockMoveKeyframes: {
|
|
58
|
-
itemId: string;
|
|
59
|
-
keyframes: ({
|
|
60
|
-
time: number;
|
|
61
|
-
properties: {
|
|
62
|
-
x: number;
|
|
63
|
-
y: number;
|
|
64
|
-
};
|
|
65
|
-
easing: "linear";
|
|
66
|
-
} | {
|
|
67
|
-
time: number;
|
|
68
|
-
properties: {
|
|
69
|
-
x: number;
|
|
70
|
-
y: number;
|
|
71
|
-
};
|
|
72
|
-
easing: "easeInOut";
|
|
73
|
-
})[];
|
|
74
|
-
duration: number;
|
|
75
|
-
loop: boolean;
|
|
76
|
-
};
|
|
77
|
-
export declare const mockColorKeyframes: {
|
|
78
|
-
itemId: string;
|
|
79
|
-
keyframes: {
|
|
80
|
-
time: number;
|
|
81
|
-
properties: {
|
|
82
|
-
fillColor: string;
|
|
83
|
-
};
|
|
84
|
-
easing: "linear";
|
|
85
|
-
}[];
|
|
86
|
-
duration: number;
|
|
87
|
-
loop: boolean;
|
|
88
|
-
};
|
|
89
|
-
export declare const mockScaleKeyframes: {
|
|
90
|
-
itemId: string;
|
|
91
|
-
keyframes: ({
|
|
92
|
-
time: number;
|
|
93
|
-
properties: {
|
|
94
|
-
scale: number;
|
|
95
|
-
};
|
|
96
|
-
easing: "linear";
|
|
97
|
-
} | {
|
|
98
|
-
time: number;
|
|
99
|
-
properties: {
|
|
100
|
-
scale: number;
|
|
101
|
-
};
|
|
102
|
-
easing: "bounce";
|
|
103
|
-
} | {
|
|
104
|
-
time: number;
|
|
105
|
-
properties: {
|
|
106
|
-
scale: number;
|
|
107
|
-
};
|
|
108
|
-
easing: "elastic";
|
|
109
|
-
})[];
|
|
110
|
-
duration: number;
|
|
111
|
-
loop: boolean;
|
|
112
|
-
};
|
|
113
|
-
export declare const allSimpleAnimations: ({
|
|
114
|
-
itemId: string;
|
|
115
|
-
animationType: "pulse";
|
|
116
|
-
speed: number;
|
|
117
|
-
} | {
|
|
118
|
-
itemId: string;
|
|
119
|
-
animationType: "rotate";
|
|
120
|
-
speed: number;
|
|
121
|
-
} | {
|
|
122
|
-
itemId: string;
|
|
123
|
-
animationType: "bounce";
|
|
124
|
-
speed: number;
|
|
125
|
-
} | {
|
|
126
|
-
itemId: string;
|
|
127
|
-
animationType: "fade";
|
|
128
|
-
speed: number;
|
|
129
|
-
} | {
|
|
130
|
-
itemId: string;
|
|
131
|
-
animationType: "wobble";
|
|
132
|
-
speed: number;
|
|
133
|
-
} | {
|
|
134
|
-
itemId: string;
|
|
135
|
-
animationType: "slide";
|
|
136
|
-
speed: number;
|
|
137
|
-
} | {
|
|
138
|
-
itemId: string;
|
|
139
|
-
animationType: "typewriter";
|
|
140
|
-
speed: number;
|
|
141
|
-
})[];
|
|
142
|
-
export declare const allKeyframeAnimations: ({
|
|
143
|
-
itemId: string;
|
|
144
|
-
keyframes: ({
|
|
145
|
-
time: number;
|
|
146
|
-
properties: {
|
|
147
|
-
opacity: number;
|
|
148
|
-
};
|
|
149
|
-
easing: "linear";
|
|
150
|
-
} | {
|
|
151
|
-
time: number;
|
|
152
|
-
properties: {
|
|
153
|
-
opacity: number;
|
|
154
|
-
};
|
|
155
|
-
easing: "easeOut";
|
|
156
|
-
})[];
|
|
157
|
-
duration: number;
|
|
158
|
-
loop: boolean;
|
|
159
|
-
} | {
|
|
160
|
-
itemId: string;
|
|
161
|
-
keyframes: ({
|
|
162
|
-
time: number;
|
|
163
|
-
properties: {
|
|
164
|
-
x: number;
|
|
165
|
-
y: number;
|
|
166
|
-
};
|
|
167
|
-
easing: "linear";
|
|
168
|
-
} | {
|
|
169
|
-
time: number;
|
|
170
|
-
properties: {
|
|
171
|
-
x: number;
|
|
172
|
-
y: number;
|
|
173
|
-
};
|
|
174
|
-
easing: "easeInOut";
|
|
175
|
-
})[];
|
|
176
|
-
duration: number;
|
|
177
|
-
loop: boolean;
|
|
178
|
-
} | {
|
|
179
|
-
itemId: string;
|
|
180
|
-
keyframes: {
|
|
181
|
-
time: number;
|
|
182
|
-
properties: {
|
|
183
|
-
fillColor: string;
|
|
184
|
-
};
|
|
185
|
-
easing: "linear";
|
|
186
|
-
}[];
|
|
187
|
-
duration: number;
|
|
188
|
-
loop: boolean;
|
|
189
|
-
} | {
|
|
190
|
-
itemId: string;
|
|
191
|
-
keyframes: ({
|
|
192
|
-
time: number;
|
|
193
|
-
properties: {
|
|
194
|
-
scale: number;
|
|
195
|
-
};
|
|
196
|
-
easing: "linear";
|
|
197
|
-
} | {
|
|
198
|
-
time: number;
|
|
199
|
-
properties: {
|
|
200
|
-
scale: number;
|
|
201
|
-
};
|
|
202
|
-
easing: "bounce";
|
|
203
|
-
} | {
|
|
204
|
-
time: number;
|
|
205
|
-
properties: {
|
|
206
|
-
scale: number;
|
|
207
|
-
};
|
|
208
|
-
easing: "elastic";
|
|
209
|
-
})[];
|
|
210
|
-
duration: number;
|
|
211
|
-
loop: boolean;
|
|
212
|
-
})[];
|
|
213
|
-
//# sourceMappingURL=mock-animations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mock-animations.d.ts","sourceRoot":"","sources":["../../../src/__tests__/fixtures/mock-animations.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;CAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;CAI/B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;CAInC,CAAC;AAGF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;CAQ/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;CAS7B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;CAS9B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;CAS9B,CAAC;AAGF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQ/B,CAAC;AAGF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKjC,CAAC"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mock Animations for Testing
|
|
3
|
-
*/
|
|
4
|
-
export const mockPulseAnimation = {
|
|
5
|
-
itemId: 'item_1',
|
|
6
|
-
animationType: 'pulse',
|
|
7
|
-
speed: 1.0,
|
|
8
|
-
};
|
|
9
|
-
export const mockRotateAnimation = {
|
|
10
|
-
itemId: 'item_2',
|
|
11
|
-
animationType: 'rotate',
|
|
12
|
-
speed: 0.5,
|
|
13
|
-
};
|
|
14
|
-
export const mockBounceAnimation = {
|
|
15
|
-
itemId: 'item_3',
|
|
16
|
-
animationType: 'bounce',
|
|
17
|
-
speed: 1.5,
|
|
18
|
-
};
|
|
19
|
-
export const mockFadeAnimation = {
|
|
20
|
-
itemId: 'item_4',
|
|
21
|
-
animationType: 'fade',
|
|
22
|
-
speed: 0.8,
|
|
23
|
-
};
|
|
24
|
-
export const mockWobbleAnimation = {
|
|
25
|
-
itemId: 'item_5',
|
|
26
|
-
animationType: 'wobble',
|
|
27
|
-
speed: 2.0,
|
|
28
|
-
};
|
|
29
|
-
export const mockSlideAnimation = {
|
|
30
|
-
itemId: 'item_6',
|
|
31
|
-
animationType: 'slide',
|
|
32
|
-
speed: 1.2,
|
|
33
|
-
};
|
|
34
|
-
export const mockTypewriterAnimation = {
|
|
35
|
-
itemId: 'text_1',
|
|
36
|
-
animationType: 'typewriter',
|
|
37
|
-
speed: 0.5,
|
|
38
|
-
};
|
|
39
|
-
// Keyframe animations
|
|
40
|
-
export const mockFadeInKeyframes = {
|
|
41
|
-
itemId: 'item_1',
|
|
42
|
-
keyframes: [
|
|
43
|
-
{ time: 0, properties: { opacity: 0 }, easing: 'linear' },
|
|
44
|
-
{ time: 1, properties: { opacity: 1 }, easing: 'easeOut' },
|
|
45
|
-
],
|
|
46
|
-
duration: 1,
|
|
47
|
-
loop: false,
|
|
48
|
-
};
|
|
49
|
-
export const mockMoveKeyframes = {
|
|
50
|
-
itemId: 'item_1',
|
|
51
|
-
keyframes: [
|
|
52
|
-
{ time: 0, properties: { x: 0, y: 0 }, easing: 'linear' },
|
|
53
|
-
{ time: 1, properties: { x: 200, y: 0 }, easing: 'easeInOut' },
|
|
54
|
-
{ time: 2, properties: { x: 200, y: 200 }, easing: 'easeInOut' },
|
|
55
|
-
],
|
|
56
|
-
duration: 2,
|
|
57
|
-
loop: true,
|
|
58
|
-
};
|
|
59
|
-
export const mockColorKeyframes = {
|
|
60
|
-
itemId: 'item_1',
|
|
61
|
-
keyframes: [
|
|
62
|
-
{ time: 0, properties: { fillColor: '#ff0000' }, easing: 'linear' },
|
|
63
|
-
{ time: 0.5, properties: { fillColor: '#00ff00' }, easing: 'linear' },
|
|
64
|
-
{ time: 1, properties: { fillColor: '#0000ff' }, easing: 'linear' },
|
|
65
|
-
],
|
|
66
|
-
duration: 1,
|
|
67
|
-
loop: true,
|
|
68
|
-
};
|
|
69
|
-
export const mockScaleKeyframes = {
|
|
70
|
-
itemId: 'item_1',
|
|
71
|
-
keyframes: [
|
|
72
|
-
{ time: 0, properties: { scale: 1 }, easing: 'linear' },
|
|
73
|
-
{ time: 0.5, properties: { scale: 1.5 }, easing: 'bounce' },
|
|
74
|
-
{ time: 1, properties: { scale: 1 }, easing: 'elastic' },
|
|
75
|
-
],
|
|
76
|
-
duration: 2,
|
|
77
|
-
loop: true,
|
|
78
|
-
};
|
|
79
|
-
// Collection of all simple animations
|
|
80
|
-
export const allSimpleAnimations = [
|
|
81
|
-
mockPulseAnimation,
|
|
82
|
-
mockRotateAnimation,
|
|
83
|
-
mockBounceAnimation,
|
|
84
|
-
mockFadeAnimation,
|
|
85
|
-
mockWobbleAnimation,
|
|
86
|
-
mockSlideAnimation,
|
|
87
|
-
mockTypewriterAnimation,
|
|
88
|
-
];
|
|
89
|
-
// Collection of all keyframe animations
|
|
90
|
-
export const allKeyframeAnimations = [
|
|
91
|
-
mockFadeInKeyframes,
|
|
92
|
-
mockMoveKeyframes,
|
|
93
|
-
mockColorKeyframes,
|
|
94
|
-
mockScaleKeyframes,
|
|
95
|
-
];
|
|
96
|
-
//# sourceMappingURL=mock-animations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mock-animations.js","sourceRoot":"","sources":["../../../src/__tests__/fixtures/mock-animations.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAA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E,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,QAAiB,EAAE;QACpE,EAAE,IAAI,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,SAAkB,EAAE;KAClE;IACD,QAAQ,EAAE,CAAC;IACX,IAAI,EAAE,IAAI;CACX,CAAC;AAEF,sCAAsC;AACtC,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,kBAAkB;IAClB,mBAAmB;IACnB,mBAAmB;IACnB,iBAAiB;IACjB,mBAAmB;IACnB,kBAAkB;IAClB,uBAAuB;CACxB,CAAC;AAEF,wCAAwC;AACxC,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,mBAAmB;IACnB,iBAAiB;IACjB,kBAAkB;IAClB,kBAAkB;CACnB,CAAC"}
|
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mock Generators for Testing
|
|
3
|
-
*/
|
|
4
|
-
export declare const mockSunburstGenerator: {
|
|
5
|
-
generatorName: "drawSunburst";
|
|
6
|
-
params: {
|
|
7
|
-
rayCount: number;
|
|
8
|
-
colors: string[];
|
|
9
|
-
bgColor: string;
|
|
10
|
-
animated: boolean;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const mockSunsetGenerator: {
|
|
14
|
-
generatorName: "drawSunsetScene";
|
|
15
|
-
params: {
|
|
16
|
-
sunColor: string;
|
|
17
|
-
skyColors: string[];
|
|
18
|
-
cloudCount: number;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare const mockGridGenerator: {
|
|
22
|
-
generatorName: "drawGrid";
|
|
23
|
-
params: {
|
|
24
|
-
gridType: "lines";
|
|
25
|
-
spacing: number;
|
|
26
|
-
lineColor: string;
|
|
27
|
-
bgColor: string;
|
|
28
|
-
lineWidth: number;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare const mockDotsGridGenerator: {
|
|
32
|
-
generatorName: "drawGrid";
|
|
33
|
-
params: {
|
|
34
|
-
gridType: "dots";
|
|
35
|
-
spacing: number;
|
|
36
|
-
lineColor: string;
|
|
37
|
-
bgColor: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const mockWavesGenerator: {
|
|
41
|
-
generatorName: "drawWaves";
|
|
42
|
-
params: {
|
|
43
|
-
waveCount: number;
|
|
44
|
-
colors: string[];
|
|
45
|
-
amplitude: number;
|
|
46
|
-
frequency: number;
|
|
47
|
-
bgColor: string;
|
|
48
|
-
animated: boolean;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export declare const mockCircuitGenerator: {
|
|
52
|
-
generatorName: "drawCircuit";
|
|
53
|
-
params: {
|
|
54
|
-
lineColor: string;
|
|
55
|
-
nodeColor: string;
|
|
56
|
-
bgColor: string;
|
|
57
|
-
density: number;
|
|
58
|
-
animated: boolean;
|
|
59
|
-
boltColor: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
export declare const mockStackedCirclesGenerator: {
|
|
63
|
-
generatorName: "drawStackedCircles";
|
|
64
|
-
params: {
|
|
65
|
-
count: number;
|
|
66
|
-
colors: string[];
|
|
67
|
-
distribution: "random";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
export declare const mockPatternGenerator: {
|
|
71
|
-
generatorName: "drawPattern";
|
|
72
|
-
params: {
|
|
73
|
-
patternType: "hexagon";
|
|
74
|
-
size: number;
|
|
75
|
-
color: string;
|
|
76
|
-
bgColor: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
export declare const mockBokehGenerator: {
|
|
80
|
-
generatorName: "drawBokeh";
|
|
81
|
-
params: {
|
|
82
|
-
count: number;
|
|
83
|
-
colors: string[];
|
|
84
|
-
bgColor: string;
|
|
85
|
-
minRadius: number;
|
|
86
|
-
maxRadius: number;
|
|
87
|
-
shadowBlur: number;
|
|
88
|
-
distribution: "poisson";
|
|
89
|
-
driftAnimation: boolean;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
export declare const mockGradientMeshGenerator: {
|
|
93
|
-
generatorName: "drawGradientMesh";
|
|
94
|
-
params: {
|
|
95
|
-
colors: string[];
|
|
96
|
-
bgColor: string;
|
|
97
|
-
blobCount: number;
|
|
98
|
-
blendMode: string;
|
|
99
|
-
drift: boolean;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
export declare const mockGeometricAbstractGenerator: {
|
|
103
|
-
generatorName: "drawGeometricAbstract";
|
|
104
|
-
params: {
|
|
105
|
-
colors: string[];
|
|
106
|
-
bgColor: string;
|
|
107
|
-
shapeCount: number;
|
|
108
|
-
blendMode: string;
|
|
109
|
-
rotation: boolean;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
export declare const mockWindFieldGenerator: {
|
|
113
|
-
generatorName: "drawWindField";
|
|
114
|
-
params: {
|
|
115
|
-
particleCount: number;
|
|
116
|
-
colors: string[];
|
|
117
|
-
bgColor: string;
|
|
118
|
-
direction: number;
|
|
119
|
-
turbulence: number;
|
|
120
|
-
trailLength: number;
|
|
121
|
-
speed: number;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
export declare const mockFluidFlowGenerator: {
|
|
125
|
-
generatorName: "drawFluidFlow";
|
|
126
|
-
params: {
|
|
127
|
-
streamCount: number;
|
|
128
|
-
colors: string[];
|
|
129
|
-
bgColor: string;
|
|
130
|
-
depthLayers: number;
|
|
131
|
-
speed: number;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
export declare const mockOrganicFlowGenerator: {
|
|
135
|
-
generatorName: "drawOrganicFlow";
|
|
136
|
-
params: {
|
|
137
|
-
layerCount: number;
|
|
138
|
-
colors: string[];
|
|
139
|
-
bgColor: string;
|
|
140
|
-
blendMode: string;
|
|
141
|
-
fillToBottom: boolean;
|
|
142
|
-
animated: boolean;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
export declare const mockNoiseTextureGenerator: {
|
|
146
|
-
generatorName: "drawNoiseTexture";
|
|
147
|
-
params: {
|
|
148
|
-
noiseType: "perlin";
|
|
149
|
-
colors: string[];
|
|
150
|
-
bgColor: string;
|
|
151
|
-
scale: number;
|
|
152
|
-
density: number;
|
|
153
|
-
animated: boolean;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
156
|
-
export declare const allMockGenerators: ({
|
|
157
|
-
generatorName: "drawSunburst";
|
|
158
|
-
params: {
|
|
159
|
-
rayCount: number;
|
|
160
|
-
colors: string[];
|
|
161
|
-
bgColor: string;
|
|
162
|
-
animated: boolean;
|
|
163
|
-
};
|
|
164
|
-
} | {
|
|
165
|
-
generatorName: "drawSunsetScene";
|
|
166
|
-
params: {
|
|
167
|
-
sunColor: string;
|
|
168
|
-
skyColors: string[];
|
|
169
|
-
cloudCount: number;
|
|
170
|
-
};
|
|
171
|
-
} | {
|
|
172
|
-
generatorName: "drawGrid";
|
|
173
|
-
params: {
|
|
174
|
-
gridType: "lines";
|
|
175
|
-
spacing: number;
|
|
176
|
-
lineColor: string;
|
|
177
|
-
bgColor: string;
|
|
178
|
-
lineWidth: number;
|
|
179
|
-
};
|
|
180
|
-
} | {
|
|
181
|
-
generatorName: "drawGrid";
|
|
182
|
-
params: {
|
|
183
|
-
gridType: "dots";
|
|
184
|
-
spacing: number;
|
|
185
|
-
lineColor: string;
|
|
186
|
-
bgColor: string;
|
|
187
|
-
};
|
|
188
|
-
} | {
|
|
189
|
-
generatorName: "drawWaves";
|
|
190
|
-
params: {
|
|
191
|
-
waveCount: number;
|
|
192
|
-
colors: string[];
|
|
193
|
-
amplitude: number;
|
|
194
|
-
frequency: number;
|
|
195
|
-
bgColor: string;
|
|
196
|
-
animated: boolean;
|
|
197
|
-
};
|
|
198
|
-
} | {
|
|
199
|
-
generatorName: "drawCircuit";
|
|
200
|
-
params: {
|
|
201
|
-
lineColor: string;
|
|
202
|
-
nodeColor: string;
|
|
203
|
-
bgColor: string;
|
|
204
|
-
density: number;
|
|
205
|
-
animated: boolean;
|
|
206
|
-
boltColor: string;
|
|
207
|
-
};
|
|
208
|
-
} | {
|
|
209
|
-
generatorName: "drawStackedCircles";
|
|
210
|
-
params: {
|
|
211
|
-
count: number;
|
|
212
|
-
colors: string[];
|
|
213
|
-
distribution: "random";
|
|
214
|
-
};
|
|
215
|
-
} | {
|
|
216
|
-
generatorName: "drawPattern";
|
|
217
|
-
params: {
|
|
218
|
-
patternType: "hexagon";
|
|
219
|
-
size: number;
|
|
220
|
-
color: string;
|
|
221
|
-
bgColor: string;
|
|
222
|
-
};
|
|
223
|
-
} | {
|
|
224
|
-
generatorName: "drawBokeh";
|
|
225
|
-
params: {
|
|
226
|
-
count: number;
|
|
227
|
-
colors: string[];
|
|
228
|
-
bgColor: string;
|
|
229
|
-
minRadius: number;
|
|
230
|
-
maxRadius: number;
|
|
231
|
-
shadowBlur: number;
|
|
232
|
-
distribution: "poisson";
|
|
233
|
-
driftAnimation: boolean;
|
|
234
|
-
};
|
|
235
|
-
} | {
|
|
236
|
-
generatorName: "drawGradientMesh";
|
|
237
|
-
params: {
|
|
238
|
-
colors: string[];
|
|
239
|
-
bgColor: string;
|
|
240
|
-
blobCount: number;
|
|
241
|
-
blendMode: string;
|
|
242
|
-
drift: boolean;
|
|
243
|
-
};
|
|
244
|
-
} | {
|
|
245
|
-
generatorName: "drawGeometricAbstract";
|
|
246
|
-
params: {
|
|
247
|
-
colors: string[];
|
|
248
|
-
bgColor: string;
|
|
249
|
-
shapeCount: number;
|
|
250
|
-
blendMode: string;
|
|
251
|
-
rotation: boolean;
|
|
252
|
-
};
|
|
253
|
-
} | {
|
|
254
|
-
generatorName: "drawWindField";
|
|
255
|
-
params: {
|
|
256
|
-
particleCount: number;
|
|
257
|
-
colors: string[];
|
|
258
|
-
bgColor: string;
|
|
259
|
-
direction: number;
|
|
260
|
-
turbulence: number;
|
|
261
|
-
trailLength: number;
|
|
262
|
-
speed: number;
|
|
263
|
-
};
|
|
264
|
-
} | {
|
|
265
|
-
generatorName: "drawFluidFlow";
|
|
266
|
-
params: {
|
|
267
|
-
streamCount: number;
|
|
268
|
-
colors: string[];
|
|
269
|
-
bgColor: string;
|
|
270
|
-
depthLayers: number;
|
|
271
|
-
speed: number;
|
|
272
|
-
};
|
|
273
|
-
} | {
|
|
274
|
-
generatorName: "drawOrganicFlow";
|
|
275
|
-
params: {
|
|
276
|
-
layerCount: number;
|
|
277
|
-
colors: string[];
|
|
278
|
-
bgColor: string;
|
|
279
|
-
blendMode: string;
|
|
280
|
-
fillToBottom: boolean;
|
|
281
|
-
animated: boolean;
|
|
282
|
-
};
|
|
283
|
-
} | {
|
|
284
|
-
generatorName: "drawNoiseTexture";
|
|
285
|
-
params: {
|
|
286
|
-
noiseType: "perlin";
|
|
287
|
-
colors: string[];
|
|
288
|
-
bgColor: string;
|
|
289
|
-
scale: number;
|
|
290
|
-
density: number;
|
|
291
|
-
animated: boolean;
|
|
292
|
-
};
|
|
293
|
-
})[];
|
|
294
|
-
//# sourceMappingURL=mock-generators.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mock-generators.d.ts","sourceRoot":"","sources":["../../../src/__tests__/fixtures/mock-generators.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;CAQjC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;CAO/B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;CAS7B,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;CAQjC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;CAU9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;CAUhC,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;CAOvC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;CAQhC,CAAC;AAIF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;CAY9B,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;CASrC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;CAS1C,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;CAWlC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;CASlC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;CAUpC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;CAUrC,CAAC;AAGF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgB7B,CAAC"}
|