ugcinc 5.3.1 → 5.3.2
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 +2 -3
- package/dist/content-skills.js +2 -2
- package/dist/media-analysis.js +1 -1
- package/dist/render/types/native-text.d.ts +1 -106
- package/dist/render/types/native-text.js +2 -17
- package/dist/render.d.ts +1 -1
- package/dist/render.js +1 -1
- package/dist/skills.js +2 -2
- package/package.json +1 -1
- package/skills/media/SKILL.md +0 -22
- package/dist/render/compositions/IMessageDmComposition/convertPropsToElements.d.ts +0 -27
- package/dist/render/compositions/IMessageDmComposition/convertPropsToElements.js +0 -629
- package/dist/render/compositions/IMessageDmComposition/index.d.ts +0 -21
- package/dist/render/compositions/IMessageDmComposition/index.js +0 -504
- package/dist/render/compositions/IMessageDmComposition/types.d.ts +0 -767
- package/dist/render/compositions/IMessageDmComposition/types.js +0 -228
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* iMessage DM Composition Types
|
|
4
|
-
*
|
|
5
|
-
* Types for the iMessage DM conversation composition.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.iMessageDmPropsSchema = void 0;
|
|
9
|
-
const zod_1 = require("zod");
|
|
10
|
-
/**
|
|
11
|
-
* Zod schema for iMessage DM composition props (for Remotion)
|
|
12
|
-
*/
|
|
13
|
-
exports.iMessageDmPropsSchema = zod_1.z.object({
|
|
14
|
-
// Canvas
|
|
15
|
-
width: zod_1.z.number().optional(),
|
|
16
|
-
height: zod_1.z.number().optional(),
|
|
17
|
-
durationInFrames: zod_1.z.number().optional(),
|
|
18
|
-
fps: zod_1.z.number().optional(),
|
|
19
|
-
// Debug
|
|
20
|
-
showDebugOverlay: zod_1.z.boolean().optional(),
|
|
21
|
-
referenceImageUrl: zod_1.z.string().optional(),
|
|
22
|
-
showReferenceImage: zod_1.z.boolean().optional(),
|
|
23
|
-
referenceOpacity: zod_1.z.number().optional(),
|
|
24
|
-
// Light mode
|
|
25
|
-
lightMode: zod_1.z.boolean().optional(),
|
|
26
|
-
// iMessage header
|
|
27
|
-
headerTop: zod_1.z.number().optional(),
|
|
28
|
-
headerBottom: zod_1.z.number().optional(),
|
|
29
|
-
headerBackgroundColor: zod_1.z.string().optional(),
|
|
30
|
-
// Header profile section
|
|
31
|
-
profilePicUrl: zod_1.z.string().optional(),
|
|
32
|
-
profilePicTop: zod_1.z.number().optional(),
|
|
33
|
-
profilePicBottom: zod_1.z.number().optional(),
|
|
34
|
-
profilePicLeft: zod_1.z.number().optional(),
|
|
35
|
-
profilePicRight: zod_1.z.number().optional(),
|
|
36
|
-
username: zod_1.z.string().optional(),
|
|
37
|
-
usernameTop: zod_1.z.number().optional(),
|
|
38
|
-
usernameBottom: zod_1.z.number().optional(),
|
|
39
|
-
usernameLeft: zod_1.z.number().optional(),
|
|
40
|
-
usernameRight: zod_1.z.number().optional(),
|
|
41
|
-
usernameFontSize: zod_1.z.number().optional(),
|
|
42
|
-
usernameLetterSpacing: zod_1.z.number().optional(),
|
|
43
|
-
usernameColor: zod_1.z.string().optional(),
|
|
44
|
-
usernameArrowOffsetX: zod_1.z.number().optional(),
|
|
45
|
-
usernameArrowOffsetY: zod_1.z.number().optional(),
|
|
46
|
-
usernameArrowWidth: zod_1.z.number().optional(),
|
|
47
|
-
usernameArrowHeight: zod_1.z.number().optional(),
|
|
48
|
-
// Back arrow
|
|
49
|
-
backArrowTop: zod_1.z.number().optional(),
|
|
50
|
-
backArrowBottom: zod_1.z.number().optional(),
|
|
51
|
-
backArrowLeft: zod_1.z.number().optional(),
|
|
52
|
-
backArrowRight: zod_1.z.number().optional(),
|
|
53
|
-
// Unread badge
|
|
54
|
-
unreadBadgeText: zod_1.z.string().optional(),
|
|
55
|
-
unreadBadgeTop: zod_1.z.number().optional(),
|
|
56
|
-
unreadBadgeBottom: zod_1.z.number().optional(),
|
|
57
|
-
unreadBadgeLeft: zod_1.z.number().optional(),
|
|
58
|
-
unreadBadgeFontSize: zod_1.z.number().optional(),
|
|
59
|
-
unreadBadgeLetterSpacing: zod_1.z.number().optional(),
|
|
60
|
-
unreadBadgeTextColor: zod_1.z.string().optional(),
|
|
61
|
-
unreadBadgeBorderRadius: zod_1.z.number().optional(),
|
|
62
|
-
unreadBadgePaddingLeft: zod_1.z.number().optional(),
|
|
63
|
-
unreadBadgePaddingRight: zod_1.z.number().optional(),
|
|
64
|
-
// Camera icon
|
|
65
|
-
cameraIconTop: zod_1.z.number().optional(),
|
|
66
|
-
cameraIconBottom: zod_1.z.number().optional(),
|
|
67
|
-
cameraIconLeft: zod_1.z.number().optional(),
|
|
68
|
-
cameraIconRight: zod_1.z.number().optional(),
|
|
69
|
-
dividerLineY: zod_1.z.number().optional(),
|
|
70
|
-
dividerLineColor: zod_1.z.string().optional(),
|
|
71
|
-
backgroundColor: zod_1.z.string().optional(),
|
|
72
|
-
// Status bar - Time
|
|
73
|
-
time: zod_1.z.string().optional(),
|
|
74
|
-
timeRight: zod_1.z.number().optional(),
|
|
75
|
-
timeBottom: zod_1.z.number().optional(),
|
|
76
|
-
timeFontSize: zod_1.z.number().optional(),
|
|
77
|
-
timeLetterSpacing: zod_1.z.number().optional(),
|
|
78
|
-
timeColor: zod_1.z.string().optional(),
|
|
79
|
-
// Status bar - No notifications
|
|
80
|
-
noNotisTop: zod_1.z.number().optional(),
|
|
81
|
-
noNotisBottom: zod_1.z.number().optional(),
|
|
82
|
-
noNotisLeft: zod_1.z.number().optional(),
|
|
83
|
-
noNotisRight: zod_1.z.number().optional(),
|
|
84
|
-
// Status bar - Cell signal
|
|
85
|
-
cellLevel: zod_1.z.number().min(0).max(4).optional(),
|
|
86
|
-
cell1Top: zod_1.z.number().optional(),
|
|
87
|
-
cell1Bottom: zod_1.z.number().optional(),
|
|
88
|
-
cell1Left: zod_1.z.number().optional(),
|
|
89
|
-
cell1Right: zod_1.z.number().optional(),
|
|
90
|
-
cell2Top: zod_1.z.number().optional(),
|
|
91
|
-
cell2Bottom: zod_1.z.number().optional(),
|
|
92
|
-
cell2Left: zod_1.z.number().optional(),
|
|
93
|
-
cell2Right: zod_1.z.number().optional(),
|
|
94
|
-
cell3Top: zod_1.z.number().optional(),
|
|
95
|
-
cell3Bottom: zod_1.z.number().optional(),
|
|
96
|
-
cell3Left: zod_1.z.number().optional(),
|
|
97
|
-
cell3Right: zod_1.z.number().optional(),
|
|
98
|
-
cell4Top: zod_1.z.number().optional(),
|
|
99
|
-
cell4Bottom: zod_1.z.number().optional(),
|
|
100
|
-
cell4Left: zod_1.z.number().optional(),
|
|
101
|
-
cell4Right: zod_1.z.number().optional(),
|
|
102
|
-
// Status bar - WiFi
|
|
103
|
-
wifiTop: zod_1.z.number().optional(),
|
|
104
|
-
wifiBottom: zod_1.z.number().optional(),
|
|
105
|
-
wifiLeft: zod_1.z.number().optional(),
|
|
106
|
-
wifiRight: zod_1.z.number().optional(),
|
|
107
|
-
// Status bar - Battery
|
|
108
|
-
batteryTop: zod_1.z.number().optional(),
|
|
109
|
-
batteryBottom: zod_1.z.number().optional(),
|
|
110
|
-
batteryLeft: zod_1.z.number().optional(),
|
|
111
|
-
batteryRight: zod_1.z.number().optional(),
|
|
112
|
-
// Home indicator
|
|
113
|
-
homeIndicatorTop: zod_1.z.number().optional(),
|
|
114
|
-
homeIndicatorBottom: zod_1.z.number().optional(),
|
|
115
|
-
homeIndicatorLeft: zod_1.z.number().optional(),
|
|
116
|
-
homeIndicatorRight: zod_1.z.number().optional(),
|
|
117
|
-
homeIndicatorColor: zod_1.z.string().optional(),
|
|
118
|
-
// iMessage footer
|
|
119
|
-
plusButtonTop: zod_1.z.number().optional(),
|
|
120
|
-
plusButtonBottom: zod_1.z.number().optional(),
|
|
121
|
-
plusButtonLeft: zod_1.z.number().optional(),
|
|
122
|
-
plusButtonRight: zod_1.z.number().optional(),
|
|
123
|
-
footerTop: zod_1.z.number().optional(),
|
|
124
|
-
footerBottom: zod_1.z.number().optional(),
|
|
125
|
-
footerLeft: zod_1.z.number().optional(),
|
|
126
|
-
footerRight: zod_1.z.number().optional(),
|
|
127
|
-
footerBgColor: zod_1.z.string().optional(),
|
|
128
|
-
footerBorderRadius: zod_1.z.number().optional(),
|
|
129
|
-
footerBorderColor: zod_1.z.string().optional(),
|
|
130
|
-
footerBorderWidth: zod_1.z.number().optional(),
|
|
131
|
-
messageTextTop: zod_1.z.number().optional(),
|
|
132
|
-
messageTextBottom: zod_1.z.number().optional(),
|
|
133
|
-
messageTextLeft: zod_1.z.number().optional(),
|
|
134
|
-
messageTextRight: zod_1.z.number().optional(),
|
|
135
|
-
messageTextFontSize: zod_1.z.number().optional(),
|
|
136
|
-
messageTextLetterSpacing: zod_1.z.number().optional(),
|
|
137
|
-
messageTextColor: zod_1.z.string().optional(),
|
|
138
|
-
messageText: zod_1.z.string().optional(),
|
|
139
|
-
// Message area bounds
|
|
140
|
-
messageAreaTop: zod_1.z.number().optional(),
|
|
141
|
-
messageAreaBottom: zod_1.z.number().optional(),
|
|
142
|
-
// Message colors
|
|
143
|
-
senderBubbleColor: zod_1.z.string().optional(),
|
|
144
|
-
recipientBubbleColor: zod_1.z.string().optional(),
|
|
145
|
-
bubbleTextColor: zod_1.z.string().optional(),
|
|
146
|
-
recipientTextColor: zod_1.z.string().optional(),
|
|
147
|
-
// Message typography
|
|
148
|
-
messageFontSize: zod_1.z.number().optional(),
|
|
149
|
-
messageLineHeight: zod_1.z.number().optional(),
|
|
150
|
-
messageLetterSpacing: zod_1.z.number().optional(),
|
|
151
|
-
// Message padding (inside bubble)
|
|
152
|
-
messagePaddingTop: zod_1.z.number().optional(),
|
|
153
|
-
messagePaddingBottom: zod_1.z.number().optional(),
|
|
154
|
-
senderPaddingLeft: zod_1.z.number().optional(),
|
|
155
|
-
senderPaddingRight: zod_1.z.number().optional(),
|
|
156
|
-
multiLineSenderPaddingLeft: zod_1.z.number().optional(),
|
|
157
|
-
recipientPaddingLeft: zod_1.z.number().optional(),
|
|
158
|
-
recipientPaddingRight: zod_1.z.number().optional(),
|
|
159
|
-
multiLineRecipientPaddingRight: zod_1.z.number().optional(),
|
|
160
|
-
// Bubble corner radii
|
|
161
|
-
bubbleRadiusNormal: zod_1.z.number().optional(),
|
|
162
|
-
bubbleRadiusGrouped: zod_1.z.number().optional(),
|
|
163
|
-
// Message spacing
|
|
164
|
-
messageGapInGroup: zod_1.z.number().optional(),
|
|
165
|
-
messageGapSameUser: zod_1.z.number().optional(),
|
|
166
|
-
messageGapDifferentUser: zod_1.z.number().optional(),
|
|
167
|
-
// Bubble positioning
|
|
168
|
-
recipientBubbleLeft: zod_1.z.number().optional(),
|
|
169
|
-
senderBubbleRight: zod_1.z.number().optional(),
|
|
170
|
-
bubbleMaxWidth: zod_1.z.number().optional(),
|
|
171
|
-
// Sender image attachment
|
|
172
|
-
senderImageLeft: zod_1.z.number().optional(),
|
|
173
|
-
senderImageHeight: zod_1.z.number().optional(),
|
|
174
|
-
senderImageGapToText: zod_1.z.number().optional(),
|
|
175
|
-
senderImageBorderRadius: zod_1.z.number().optional(),
|
|
176
|
-
// Message area header text
|
|
177
|
-
messageHeaderImessageText: zod_1.z.string().optional(),
|
|
178
|
-
messageHeaderTimestampText: zod_1.z.string().optional(),
|
|
179
|
-
messageHeaderTimestampGap: zod_1.z.number().optional(),
|
|
180
|
-
messageHeaderImessageGap: zod_1.z.number().optional(),
|
|
181
|
-
messageHeaderTextColor: zod_1.z.string().optional(),
|
|
182
|
-
messageHeaderFontSize: zod_1.z.number().optional(),
|
|
183
|
-
messageHeaderLetterSpacing: zod_1.z.number().optional(),
|
|
184
|
-
messageHeaderLeft: zod_1.z.number().optional(),
|
|
185
|
-
messageHeaderRight: zod_1.z.number().optional(),
|
|
186
|
-
// Message tails (SVG-based)
|
|
187
|
-
showMessageTails: zod_1.z.boolean().optional(),
|
|
188
|
-
// Recipient tail anchor points
|
|
189
|
-
recipientTailSideY: zod_1.z.number().optional(),
|
|
190
|
-
recipientTailCurveStartY: zod_1.z.number().optional(),
|
|
191
|
-
recipientTailTipX: zod_1.z.number().optional(),
|
|
192
|
-
recipientTailTipY: zod_1.z.number().optional(),
|
|
193
|
-
recipientTailBottomX: zod_1.z.number().optional(),
|
|
194
|
-
recipientTailBottomY: zod_1.z.number().optional(),
|
|
195
|
-
// Recipient tail curve bend
|
|
196
|
-
recipientTailTopBend: zod_1.z.number().optional(),
|
|
197
|
-
recipientTailBottomBend: zod_1.z.number().optional(),
|
|
198
|
-
// Sender tail anchor points
|
|
199
|
-
senderTailSideY: zod_1.z.number().optional(),
|
|
200
|
-
senderTailCurveStartY: zod_1.z.number().optional(),
|
|
201
|
-
senderTailTipX: zod_1.z.number().optional(),
|
|
202
|
-
senderTailTipY: zod_1.z.number().optional(),
|
|
203
|
-
senderTailBottomX: zod_1.z.number().optional(),
|
|
204
|
-
senderTailBottomY: zod_1.z.number().optional(),
|
|
205
|
-
// Sender tail curve bend
|
|
206
|
-
senderTailTopBend: zod_1.z.number().optional(),
|
|
207
|
-
senderTailBottomBend: zod_1.z.number().optional(),
|
|
208
|
-
// Read receipt
|
|
209
|
-
showReadReceipt: zod_1.z.boolean().optional(),
|
|
210
|
-
readReceiptText: zod_1.z.string().optional(),
|
|
211
|
-
readReceiptGap: zod_1.z.number().optional(),
|
|
212
|
-
readReceiptFontSize: zod_1.z.number().optional(),
|
|
213
|
-
readReceiptLetterSpacing: zod_1.z.number().optional(),
|
|
214
|
-
readReceiptColor: zod_1.z.string().optional(),
|
|
215
|
-
readReceiptLeft: zod_1.z.number().optional(),
|
|
216
|
-
readReceiptRight: zod_1.z.number().optional(),
|
|
217
|
-
// Messages
|
|
218
|
-
messages: zod_1.z.array(zod_1.z.object({
|
|
219
|
-
id: zod_1.z.string(),
|
|
220
|
-
sender: zod_1.z.enum(['user', 'recipient']),
|
|
221
|
-
text: zod_1.z.string(),
|
|
222
|
-
imageUrl: zod_1.z.string().optional(),
|
|
223
|
-
groupWithPrevious: zod_1.z.boolean().optional(),
|
|
224
|
-
})).optional(),
|
|
225
|
-
// Dynamic crop - crop output to element bounds
|
|
226
|
-
dynamicCrop: zod_1.z.record(zod_1.z.any()).optional(),
|
|
227
|
-
cropVerticalCenter: zod_1.z.boolean().optional(),
|
|
228
|
-
});
|